Files
claudetools/projects/radio-show/website/src/pages/community.astro
Mike Swanson acea558406 Community page: link forum to community.azcomputerguru.com
Flarum forum is live with categories: Tech News, Security & Privacy,
AI, Space Tech, Gadgets & Hardware, How-Tos & Tips, Show Discussion,
Off-Topic. Email configured via local Exim.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-16 07:51:33 -07:00

188 lines
7.0 KiB
Plaintext

---
import BaseLayout from '../layouts/BaseLayout.astro';
---
<BaseLayout title="Community" description="Join The Computer Guru Show community on Discord, Discourse, and more.">
<!-- Hero -->
<section class="hero section">
<div class="container">
<span class="badge fade-in">Community</span>
<h1 class="hero__title fade-in">Join the Community</h1>
<p class="hero__subtitle fade-in">
Connect with fellow tech enthusiasts. Ask questions, share discoveries, and be part of the conversation.
</p>
</div>
</section>
<!-- Discord -->
<section class="section">
<div class="container">
<div class="community-card card fade-in">
<div class="community-card__icon community-card__icon--discord">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="currentColor"><path d="M20.317 4.369a19.791 19.791 0 0 0-4.885-1.515.074.074 0 0 0-.079.037c-.21.375-.444.864-.608 1.25a18.27 18.27 0 0 0-5.487 0 12.64 12.64 0 0 0-.617-1.25.077.077 0 0 0-.079-.037A19.736 19.736 0 0 0 3.677 4.37a.07.07 0 0 0-.032.027C.533 9.046-.32 13.58.099 18.057a.082.082 0 0 0 .031.057 19.9 19.9 0 0 0 5.993 3.03.078.078 0 0 0 .084-.028c.462-.63.874-1.295 1.226-1.994a.076.076 0 0 0-.041-.106 13.107 13.107 0 0 1-1.872-.892.077.077 0 0 1-.008-.128 10.2 10.2 0 0 0 .372-.292.074.074 0 0 1 .077-.01c3.928 1.793 8.18 1.793 12.062 0a.074.074 0 0 1 .078.01c.12.098.246.198.373.292a.077.077 0 0 1-.006.127 12.299 12.299 0 0 1-1.873.892.077.077 0 0 0-.041.107c.36.698.772 1.362 1.225 1.993a.076.076 0 0 0 .084.028 19.839 19.839 0 0 0 6.002-3.03.077.077 0 0 0 .032-.054c.5-5.177-.838-9.674-3.549-13.66a.061.061 0 0 0-.031-.03zM8.02 15.33c-1.183 0-2.157-1.086-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.332-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.086-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.095 2.157 2.42 0 1.332-.946 2.418-2.157 2.418z"/></svg>
</div>
<div class="community-card__body">
<h2>Discord Server</h2>
<p>
Chat with fellow tech enthusiasts in real-time. Ask questions, share links,
debate the latest tech news, and hang out during live shows.
</p>
<a href="#" class="btn btn--primary community-card__action">Join Discord</a>
</div>
<!-- Placeholder for future WidgetBot embed -->
<div class="discord-embed-placeholder" aria-hidden="true">
<!-- WidgetBot embed will be added here when the Discord server is configured -->
</div>
</div>
</div>
</section>
<!-- Forum -->
<section class="section">
<div class="container">
<div class="community-card card fade-in">
<div class="community-card__icon community-card__icon--forum">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z"/></svg>
</div>
<div class="community-card__body">
<h2>Discussion Forum</h2>
<p>
Deep-dive conversations on Discourse. Long-form discussions, tutorials,
and community-driven content that goes beyond what we can cover on the show.
</p>
<a href="https://community.azcomputerguru.com" class="btn btn--primary community-card__action">Visit Forum</a>
</div>
</div>
</div>
</section>
<!-- Newsletter -->
<section class="section">
<div class="container">
<div class="newsletter-card card fade-in">
<div class="community-card__icon community-card__icon--newsletter">
<svg xmlns="http://www.w3.org/2000/svg" width="40" height="40" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><path d="M4 4h16c1.1 0 2 .9 2 2v12c0 1.1-.9 2-2 2H4c-1.1 0-2-.9-2-2V6c0-1.1.9-2 2-2z"/><polyline points="22,6 12,13 2,6"/></svg>
</div>
<h2>Stay Updated</h2>
<p>Get episode announcements, show notes, and exclusive content delivered to your inbox.</p>
<form action="#" method="post" class="newsletter-form">
<div class="newsletter-form__row">
<label for="newsletter-email" class="sr-only">Email address</label>
<input
type="email"
id="newsletter-email"
name="email"
placeholder="your@email.com"
required
class="newsletter-input"
autocomplete="email"
/>
<button type="submit" class="btn btn--primary">Subscribe</button>
</div>
<p class="newsletter-form__note">No spam. Unsubscribe anytime.</p>
</form>
</div>
</div>
</section>
</BaseLayout>
<style>
.hero {
text-align: center;
padding-block: var(--space-16) var(--space-8);
}
.hero__title {
font-size: var(--text-4xl);
margin-top: var(--space-4);
margin-bottom: var(--space-4);
}
.hero__subtitle {
font-size: var(--text-lg);
color: var(--color-text-secondary);
max-width: 560px;
margin-inline: auto;
}
/* Community Cards */
.community-card {
max-width: 700px;
margin-inline: auto;
padding: var(--space-8);
text-align: center;
}
.community-card__icon {
margin-bottom: var(--space-6);
}
.community-card__icon--discord {
color: #5865F2;
}
.community-card__icon--forum {
color: var(--color-accent);
}
.community-card__icon--newsletter {
color: var(--color-warning);
}
.community-card__body h2 {
font-size: var(--text-2xl);
margin-bottom: var(--space-3);
}
.community-card h2 {
font-size: var(--text-2xl);
margin-bottom: var(--space-3);
}
.community-card__body p,
.community-card > p {
color: var(--color-text-secondary);
font-size: var(--text-sm);
line-height: 1.8;
max-width: 520px;
margin-inline: auto;
margin-bottom: var(--space-6);
}
.community-card__action {
display: inline-flex;
}
/* Newsletter */
.newsletter-card {
max-width: 700px;
margin-inline: auto;
padding: var(--space-8);
text-align: center;
}
.newsletter-card p {
color: var(--color-text-secondary);
font-size: var(--text-sm);
max-width: 480px;
margin-inline: auto;
margin-bottom: var(--space-6);
}
.newsletter-form__row {
display: flex;
gap: var(--space-2);
max-width: 420px;
margin-inline: auto;
margin-bottom: var(--space-3);
}
.newsletter-input {
flex: 1;
padding: var(--space-3) var(--space-4);
background: var(--color-bg-tertiary);
border: 1px solid var(--color-border);
border-radius: var(--radius-sm);
color: var(--color-text-primary);
font-size: var(--text-sm);
}
.newsletter-input:focus {
outline: 2px solid var(--color-accent);
outline-offset: -1px;
}
.newsletter-input::placeholder {
color: var(--color-text-muted);
}
.newsletter-form__note {
font-size: var(--text-xs);
color: var(--color-text-muted);
}
</style>