Skip to content
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
14 changes: 14 additions & 0 deletions apps/portal-frontend/src/data/contacts.json
Original file line number Diff line number Diff line change
@@ -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"
}
}
}
37 changes: 20 additions & 17 deletions apps/portal-frontend/src/pages/contact.astro
Original file line number Diff line number Diff line change
@@ -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;
---

<Layout title="Contact">
Expand All @@ -13,27 +14,29 @@ import { Button } from '@/components/ui/button';
client:load
/>

<Section variant="white" className="bg-[#F8F8F8] border-b border-[#E4E0D4]">
<section class="bg-[#F8F8F8] py-[70px] border-b border-[#E4E0D4]">
<div class="container text-center">
<div class="max-w-2xl mx-auto">
<h2 class="text-[21px] md:text-[32px] font-medium mb-8">Join our Discord community</h2>
<p class="text-[#485453] mb-8">Get support, share ideas, and connect with other users</p>
<Button
label="Join Discord →"
url="https://discord.gg/qpC8ADp3rS"
buttonStyle="light"
/>
<p class="text-[#485453] mb-8">{community.discord.description}</p>
<a
href={community.discord.url}
class="inline-block py-3 md:py-4 px-7 bg-[#E4E0D4] text-[#0D1D1C] font-medium text-[13px] md:text-lg rounded-full hover:bg-[#d6d1c4] transition-colors"
>
{community.discord.label}
</a>
</div>

<div class="max-w-2xl mx-auto mt-16">
<h2 class="text-[21px] md:text-[32px] font-medium mb-8">Contribute on GitHub</h2>
<p class="text-[#485453] mb-8">Help improve Pinner by contributing to the project</p>
<Button
label="View Source →"
url="https://github.com/lumeweb"
buttonStyle="light"
/>
<p class="text-[#485453] mb-8">{community.github.description}</p>
<a
href={community.github.url}
class="inline-block py-3 md:py-4 px-7 bg-[#E4E0D4] text-[#0D1D1C] font-medium text-[13px] md:text-lg rounded-full hover:bg-[#d6d1c4] transition-colors"
>
{community.github.label}
</a>
</div>
</div>
</Section>
</section>
</Layout>
Loading