The minimalistic document archiving platform.
feat(socials): add X / Twitter links (#48)
Corentin Thomasset2eb6bf145885
diff --git a/src/components/Footer.astro b/src/components/Footer.astroindex ef61bc5e..981a01b3 100644--- a/src/components/Footer.astro+++ b/src/components/Footer.astro@@ -11,6 +11,11 @@ const socials = [url: 'https://bsky.app/profile/papra.app',icon: 'i-tabler-brand-bluesky',},+ {+ label: t('footer.social.x'),+ url: 'https://x.com/papra_app',+ icon: 'i-tabler-brand-x',+ },{label: t('footer.social.github'),url: 'https://github.com/papra-hq/papra',diff --git a/src/components/Header.astro b/src/components/Header.astroindex 7784504c..3b2250a7 100644--- a/src/components/Header.astro+++ b/src/components/Header.astro@@ -11,6 +11,11 @@ const socials = [url: 'https://bsky.app/profile/papra.app',icon: 'i-tabler-brand-bluesky',},+ {+ name: 'X / Twitter',+ url: 'https://x.com/papra_app',+ icon: 'i-tabler-brand-x',+ },{name: 'GitHub',url: 'https://github.com/papra-hq/papra',diff --git a/src/locales/en.ts b/src/locales/en.tsindex 0bd0d866..571da6ef 100644--- a/src/locales/en.ts+++ b/src/locales/en.ts@@ -60,6 +60,7 @@ export const translations = {// Footer - Social links'footer.social.bluesky': 'Bluesky',+ 'footer.social.x': 'X / Twitter','footer.social.github': 'GitHub','footer.social.discord': 'Discord','footer.social.reddit': 'Reddit',@@ -243,6 +244,8 @@ export const translations = {'contact.option.github.label': 'Papra Github repository','contact.option.bluesky.name': 'Bluesky','contact.option.bluesky.label': 'Bluesky profile',+ 'contact.option.x.name': 'X / Twitter',+ 'contact.option.x.label': 'Papra X profile',// Blog Page'blog.title': 'Papra Blog',diff --git a/src/locales/fr.ts b/src/locales/fr.tsindex 1eb2a36a..aff19f4b 100644--- a/src/locales/fr.ts+++ b/src/locales/fr.ts@@ -245,6 +245,8 @@ export const translations: Partial<TranslationsDictionary> = {'contact.option.github.label': 'Dépôt Github Papra','contact.option.bluesky.name': 'Bluesky','contact.option.bluesky.label': 'Profil Bluesky',+ 'contact.option.x.name': 'X / Twitter',+ 'contact.option.x.label': 'Profil Papra sur X',// Blog Page'blog.title': 'Blog Papra',diff --git a/src/pages/[locale]/contact.astro b/src/pages/[locale]/contact.astroindex 10d093c4..84cd0e03 100644--- a/src/pages/[locale]/contact.astro+++ b/src/pages/[locale]/contact.astro@@ -38,6 +38,12 @@ const contactOptions = [href: 'https://bsky.app/profile/papra.app',icon: 'i-tabler-brand-bluesky',},+ {+ name: t('contact.option.x.name'),+ label: t('contact.option.x.label'),+ href: 'https://x.com/papra_app',+ icon: 'i-tabler-brand-x',+ },];---diff --git a/src/pages/llms.txt.ts b/src/pages/llms.txt.tsindex 80517e78..57d1f8ab 100644--- a/src/pages/llms.txt.ts+++ b/src/pages/llms.txt.ts@@ -24,6 +24,7 @@ ${posts.map(post => `- [${post.data.title}](${getBlogPostUrl(post.slug)}): ${pos- [Papra GitHub](https://github.com/papra-hq/papra): The source code for Papra.- [Papra Discord](https://papra.app/discord): The official Discord server for Papra.- [Bluesky account](https://bsky.app/profile/papra.app): The official Bluesky account for Papra @papra.app.+- [X / Twitter account](https://x.com/papra_app): The official X account for Papra @papra_app.- [Support the project](https://buymeacoffee.com/cthmsst): Support the project by sponsoring the developer.- [Contact](https://papra.app/contact): Contact the development team.