Skip to content

Commit

Permalink
fix redirection bugs
Browse files Browse the repository at this point in the history
  • Loading branch information
WilliamDiakite committed Oct 3, 2023
1 parent ba1d5cf commit a59dec7
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 15 deletions.
6 changes: 3 additions & 3 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/lib/components/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@

<section id="about">
<h1>
À propos <a href={`${$t('route.about')}/presentation`}
À propos <a href={`${$t('route.about')}`}
><img src={`${base}/logos/link-solid.svg`} alt="link logo" /></a
>
</h1>
Expand Down
20 changes: 10 additions & 10 deletions src/lib/i18n/translations.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,13 @@ const translations: { [locale: string]: { [path: string]: string } } = {
'route.projects': `${base}/projects`,
'route.services': `${base}/our-services`,
'route.about': `${base}/about`,
'route.about.presentation': `${base}/about/presentation`,
'route.about.presentation': `${base}/about`,
'route.about.team': `${base}/about/members`,
'route.about.coc': `${base}/about/code-of-conduct`,
'route.services.presentation': `${base}/our-services/presentation`,
'route.services.equipement': `${base}/our-services/equipement`,
'route.services.reservation': `${base}/our-services/reservation`,
'route.services.meetups': `${base}/our-services/meet-ups`,
'route.services.presentation': `${base}/our-services`,
'route.services.equipement': `${base}/our-services#quipements`,
'route.services.reservation': `${base}/our-services#reservation`,
'route.services.meetups': `${base}/our-services#meet-ups`,

// Homepage
'home.projects.title': 'Latest projects & publications',
Expand Down Expand Up @@ -145,13 +145,13 @@ const translations: { [locale: string]: { [path: string]: string } } = {
'route.projects': `${base}/projets`,
'route.services': `${base}/nos-services`,
'route.about': `${base}/a-propos`,
'route.about.presentation': `${base}/a-propos/presentation`,
'route.about.presentation': `${base}/a-propos`,
'route.about.team': `${base}/a-propos/membres`,
'route.about.coc': `${base}/a-propos/code-de-conduite`,
'route.services.presentation': `${base}/nos-services/presentation`,
'route.services.equipement': `${base}/nos-services/equipements`,
'route.services.reservation': `${base}/nos-services/reservation`,
'route.services.meetups': `${base}/nos-services/rencontres`,
'route.services.presentation': `${base}/nos-services`,
'route.services.equipement': `${base}/nos-services#quipements`,
'route.services.reservation': `${base}/nos-services#rservation`,
'route.services.meetups': `${base}/nos-services#points-de-rencontre`,

// Homepage
'home.projects.title': 'Projets à l’affiche',
Expand Down
2 changes: 1 addition & 1 deletion src/lib/labouvroir
4 changes: 4 additions & 0 deletions src/lib/styles/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -213,6 +213,10 @@ a {
font-weight: 500;
}

.text-body>h2 {
margin-bottom: 1.4rem;
}

.text-body>*+ul,
.text-body>*+ol {
margin-top: 1rem;
Expand Down
1 change: 1 addition & 0 deletions svelte.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ const config = {
adapter: adapter(),
prerender: {
// handleHttpError: (err) => console.log('[buildError]', err)
handleMissingId: (err) => console.log('[buildError]', err)
},
paths: {
base: dev ? '' : process.env.BASE_PATH
Expand Down

0 comments on commit a59dec7

Please sign in to comment.