Skip to content

Commit

Permalink
fix: comma whitespace
Browse files Browse the repository at this point in the history
  • Loading branch information
Benjamin-Frost committed Oct 14, 2024
1 parent 0f81300 commit bc8a95d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 11 deletions.
4 changes: 1 addition & 3 deletions src/components/Link.astro
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,5 @@ const { href, isExternal } = Astro.props;
"bg-left-bottom bg-[size:0%_2px] bg-no-repeat",
"[transition:_background-size_0.3s,_background-position_0s_0.3s]",
"[&:hover]:bg-right-bottom [&:hover]:bg-[size:100%_2px]",
)}
)}><slot /></a
>
<slot />
</a>
14 changes: 6 additions & 8 deletions src/pages/[lang]/index.astro
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ const t = useTranslations(lang);
en: 'have made it their mission to increase the attractivity of vocational education. For this purpose, the "world championships of skills" are held every two years, in which talented, young people compete with each other. The German manifestation of this initiative is',
})
}
<Link href="https://www.worldskillsgermany.com" isExternal
>WorldSkills Germany
</Link>
{
<Link href="https://www.worldskillsgermany.com" isExternal>
WorldSkills Germany</Link
>{
t({
de: ", die beispielsweise selbst nationale und internationale Wettbewerbe veranstaltet. Zu den einzelnen Berufen gehört in Deutschland jeweils ein Bundesleistungszentrum.",
en: ", which for example also hosts national and international competitions. In Germany, a National Training Centre belongs to a each skill respectively.",
Expand Down Expand Up @@ -77,10 +76,9 @@ const t = useTranslations(lang);
en: "The National Training Centres in Software Development are located at the",
})
}
<Link href="https://aeg-nb.de" isExternal
>Albert-Einstein-Gymnasium Neubrandenburg
</Link>
{
<Link href="https://aeg-nb.de" isExternal>
Albert-Einstein-Gymnasium Neubrandenburg</Link
>{
t({
de: ". An diesem Standort sind",
en: ". At this location,",
Expand Down

0 comments on commit bc8a95d

Please sign in to comment.