Skip to content

Commit

Permalink
Update wording in index page & refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
matiboux committed Dec 15, 2024
1 parent e26376b commit bcb71d2
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions app/app/src/pages/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ function getTitleFromBody(body: string): string | undefined
<img src={logosrc} alt="Logo" />
<h1>
{_({
en: 'Fluff Event Association Documents',
fr: 'Documents de l\'association Fluff Event',
en: 'Fluff Event Association Documents',
})}
</h1>
</div>
Expand All @@ -35,17 +35,17 @@ function getTitleFromBody(body: string): string | undefined
<p>
<span class="icon icon-[mdi--hand-wave] icon-align icon-fw"></span>
{_({
en: 'Welcome!',
fr: 'Bienvenue !',
en: 'Welcome!',
})}
</p>

{documents.length > 0
? (
<p>
{_({
fr: 'Consulter les documents de l\'association :',
en: 'See association documents:',
fr: 'Voir les documents de l\'association :',
})}
</p>

Expand All @@ -60,8 +60,8 @@ function getTitleFromBody(body: string): string | undefined
: (
<p>
{_({
en: 'No documents available.',
fr: 'Aucun document disponible.',
en: 'No documents available.',
})}
</p>
)
Expand All @@ -70,8 +70,8 @@ function getTitleFromBody(body: string): string | undefined
{privateDocuments.length > 0 && (
<p>
{_({
fr: 'Consulter les documents privés de l\'association :',
en: 'See association private documents:',
fr: 'Voir les documents privés de l\'association :',
})}
</p>

Expand Down

0 comments on commit bcb71d2

Please sign in to comment.