Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Write about page #1104

Merged
merged 4 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion frontend/src/lib/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,8 @@
"welcome": "Lexbox is a hosting service for [FieldWorks (FLEx)](https://software.sil.org/fieldworks/), \
[Language Forge](https://languageforge.org/), [OneStory Editor](https://software.sil.org/onestoryeditor) and [WeSay](https://software.sil.org/wesay/) projects. \
It is provided as a service to language communities by [SIL Language Technology](https://software.sil.org/) and \
the [Linguistics Institute at Payap University](https://li.payap.ac.th/) in Chiang Mai, Thailand."
the [Linguistics Institute at Payap University](https://li.payap.ac.th/) in Chiang Mai, Thailand. \
Lexbox is free and [open source](https://github.com/sillsdev/languageforge-lexbox)."
},
"org": {
"table": {
Expand Down
9 changes: 5 additions & 4 deletions frontend/src/lib/layout/Footer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,22 @@
<div class="flex gap-4 items-center">
<a href="https://www.sil.org/">
<!-- https://www.sil.org/about/media -->
<img class="h-6 md:h-12" height="48" src={silLogo} alt="SIL Global logo" />
<img class="h-6 md:h-10" height="48" src={silLogo} alt="SIL Global logo" />
</a>
<a href="https://li.payap.ac.th/">
<!-- http://info.payap.ac.th/info/link_download/ -->
<img class="h-6 md:h-11" height="44" src={payapLogo} alt="Payap University logo" />
<img class="h-6 md:h-9" height="44" src={payapLogo} alt="Payap University logo" />
</a>
</div>
<div>
© {new Date().getFullYear()}
<a class="hover:link" href="https://www.sil.org/">SIL Global</a>
</div>
</div>
<div class="flex flex-col text-right">
<a class="hover:link" href="mailto:[email protected]" target="_blank">{$t('footer.contact')}</a>
<div class="grid grid-cols-2 gap-x-4 text-right">
<a class="hover:link" href="./about">{$t('about.title')}</a>
<a class="hover:link" href="https://software.sil.org/language-software-terms-of-use/">{$t('footer.terms_of_use')}</a>
<a class="hover:link" href="mailto:[email protected]" target="_blank">{$t('footer.contact')}</a>
<a class="hover:link" href="https://software.sil.org/language-software-privacy-policy/">{$t('footer.privacy_policy')}</a>
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/lib/layout/PageTitle.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@

<SetTitle {title} />

<h1 class="text-center text-xl">
<h1 class="text-center text-2xl">
{title}
</h1>
14 changes: 8 additions & 6 deletions frontend/src/routes/(unauthenticated)/about/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
<script lang="ts">
import { HeaderPage, HomeBreadcrumb } from '$lib/layout';
import { TitlePage, HomeBreadcrumb } from '$lib/layout';
import t from '$lib/i18n';
import Markdown from 'svelte-exmarkdown';
</script>

<HomeBreadcrumb />
<HeaderPage wide title={$t('about.title')}>
<h2>About Lexbox</h2>
<p>Placeholder content</p>
</HeaderPage>
<HomeBreadcrumb/>
<TitlePage title={$t('about.title')}>
<div class="prose text-lg">
<Markdown md={$t('login.welcome')}/>
</div>
</TitlePage>