Skip to content

Commit 0d380e4

Browse files
committed
advertise weblate
1 parent 6e1a879 commit 0d380e4

File tree

2 files changed

+22
-1
lines changed

2 files changed

+22
-1
lines changed

src/navigation.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export const footerData = {
5252
{ text: 'Get Lychee <span class="text-sky-500">SE</span>', href: 'https://lycheeorg.dev/get-supporter-edition' },
5353
{ text: 'GitHub sponsor', href: 'https://github.com/sponsors/LycheeOrg' },
5454
{ text: 'Open Collective', href: 'https://opencollective.com/LycheeOrg' },
55+
{ text: 'Translations', href: 'https://weblate.lycheeorg.dev' },
5556
],
5657
},
5758
{

src/pages/support.astro

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,11 @@
22
// import Features2 from '~/components/widgets/Features2.astro';
33
// import Features3 from '~/components/widgets/Features3.astro';
44
// import Features from '~/components/widgets/Features.astro';
5+
import Headline from '~/components/blog/Headline.astro';
6+
import Button from '~/components/ui/Button.astro';
7+
import WidgetWrapper from '~/components/ui/WidgetWrapper.astro';
58
import CallToAction2 from '~/components/widgets/CallToAction.astro';
9+
import Features from '~/components/widgets/Features.astro';
610
import Features2 from '~/components/widgets/Features2.astro';
711
import Features3 from '~/components/widgets/Features3.astro';
812
import Features5 from '~/components/widgets/Features5.astro';
@@ -272,5 +276,21 @@ const metadata = {
272276
},
273277
]}
274278
/>
275-
<!-- </div> -->
279+
280+
<div class=`max-w-3xl mx-auto text-center p-6 rounded-md dark:shadow-none dark:border dark:border-slate-600`>
281+
<div class="mb-4 md:mb-8 text-center max-w-3xl mx-auto">
282+
<h2 class="text-3xl md:text-4xl font-bold leading-tighter tracking-tighter font-heading" set:html={'Translations efforts'} />
283+
<div class="mt-2 md:mt-3 mx-auto text-xl text-gray-500 dark:text-slate-400 font-medium" set:html={'It only takes a little bit of your time, but it greatly help us.'} />
284+
</div>
285+
<a href="http://weblate.lycheeorg.dev/engage/lycheeorg/" class="flex justify-center">
286+
<img src="http://weblate.lycheeorg.dev/widget/lycheeorg/multi-auto.svg" class="w-full" alt="Translation status" />
287+
</a>
288+
<div class="flex w-full sm:w-auto my-4 justify-center">
289+
<Button
290+
variant='secondary'
291+
text='Translate now'
292+
href='https://weblate.lycheeorg.dev'
293+
icon='tabler:language' class="w-full max-w-sm sm:mb-0" />
294+
</div>
295+
</div>
276296
</Layout>

0 commit comments

Comments
 (0)