Skip to content

Commit

Permalink
fix: re-add ditah message to landing page
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanprobst committed Jul 4, 2024
1 parent 4ef114b commit d572767
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/[locale]/(index)/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,16 @@ export default function IndexPage(props: IndexPageProps) {
<div className="text-pretty text-md leading-normal text-neutral-600 xs:text-lg xs:leading-snug dark:text-neutral-400">
{t("lead-in")}
</div>
<div className="text-pretty text-md leading-normal text-neutral-600 xs:text-lg xs:leading-snug dark:text-neutral-400 [&>a]:underline [&>a:hover]:no-underline [&>a]:decoration-dotted">

Check warning on line 69 in app/[locale]/(index)/page.tsx

View workflow job for this annotation

GitHub Actions / Validate (20.x, ubuntu-latest)

Invalid Tailwind CSS classnames order
{t.rich("ditah", {
ditah(chunks) {
return <a href="https://www.ditah.at">{chunks}</a>;
},
bmbwf(chunks) {
return <a href="https://www.bmbwf.gv.at">{chunks}</a>;
},
})}
</div>
</section>

<ResourcesSection filters={filters} />
Expand Down
1 change: 1 addition & 0 deletions messages/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"title": "Impressum"
},
"IndexPage": {
"ditah": "Diese Plattform entsteht im Rahmen vom <ditah>DITAH</ditah> Projekt, welches vom <bmbwf>Österreichischen Bundesministerium für Bildung, Wissenschaft und Forschung</bmbwf> finanziert wird.",
"lead-in": "Willkommen bei den ACDH-CH Lernressourcen. Hier finden Sie interaktives Lernmaterial, praktische HowTo-Artikel und Best Practices Beispiele zu einem breiten Spektrum von Themen, Methoden und Infrastrukturen aus den Digital Humanities.",
"title": "Teilen und erweitern Sie Ihr Wissen im Bereich Digital Humanities"
},
Expand Down
1 change: 1 addition & 0 deletions messages/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@
"title": "Imprint"
},
"IndexPage": {
"ditah": "The platform is being developed in the context of the <ditah>DITAH</ditah> project, funded by the <bmbwf>Austrian Federal Ministry of Education, Science and Research</bmbwf>.",
"lead-in": "Welcome to ACDH-CH Learning Resources. This website gathers interactive learning material, practical HowTo articles and best practices on a wide range of Digital Humanities topics, methododologies and infrastructures.",
"title": "Share and expand your knowledge in Digital Humanities"
},
Expand Down

0 comments on commit d572767

Please sign in to comment.