diff --git a/apps/portal-frontend/src/data/contacts.json b/apps/portal-frontend/src/data/contacts.json new file mode 100644 index 000000000..fa746dc43 --- /dev/null +++ b/apps/portal-frontend/src/data/contacts.json @@ -0,0 +1,14 @@ +{ + "community": { + "discord": { + "url": "https://discord.gg/qpC8ADp3rS", + "label": "Join Discord →", + "description": "Get support, share ideas, and connect with other users" + }, + "github": { + "url": "https://github.com/lumeweb", + "label": "View Source →", + "description": "Help improve Lume by contributing to the project" + } + } +} diff --git a/apps/portal-frontend/src/pages/contact.astro b/apps/portal-frontend/src/pages/contact.astro index 5cf018e18..c2477f069 100644 --- a/apps/portal-frontend/src/pages/contact.astro +++ b/apps/portal-frontend/src/pages/contact.astro @@ -1,8 +1,9 @@ --- -import Layout from '@/layouts/Layout.astro'; +import Layout from '../layouts/Layout.astro'; import PageHeader from '@/components/PageHeader'; -import Section from '@/components/layout/Section'; -import { Button } from '@/components/ui/button'; +import contactsData from '../data/contacts.json'; + +const { community } = contactsData; --- @@ -13,27 +14,29 @@ import { Button } from '@/components/ui/button'; client:load /> -
+

Join our Discord community

-

Get support, share ideas, and connect with other users

-

Contribute on GitHub

-

Help improve Pinner by contributing to the project

-
-
+