Skip to content

πŸ“š The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.

New home page

Smaug6739f56c6eb57935
diff --git a/frontend/app/pages/(public)/_components/AppFooter.vue b/frontend/app/pages/(public)/_components/AppFooter.vue
index 5b68cf22..596a747f 100644
--- a/frontend/app/pages/(public)/_components/AppFooter.vue
+++ b/frontend/app/pages/(public)/_components/AppFooter.vue
@@ -1,36 +1,311 @@
<template>
- <footer>
- <div style="display: flex; align-items: center; column-gap: 0.5rem">
- <IconApp style="width: 90px" />
- <NuxtLink to="/" style="font-weight: 600">Alexandrie</NuxtLink>
+ <footer class="footer">
+ <div class="footer-container">
+ <!-- Main Footer Content -->
+ <div class="footer-main">
+ <!-- Brand Column -->
+ <div class="footer-brand">
+ <div class="brand-logo">
+ <IconApp style="width: 40px" />
+ <span class="brand-name">Alexandrie</span>
+ </div>
+ <p class="brand-desc">The open-source workspace for developers who think in Markdown. Beautiful docs, powerful organization, zero friction.</p>
+ <div class="social-links">
+ <a href="https://github.com/Smaug6739/Alexandrie" target="_blank" aria-label="GitHub">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
+ />
+ </svg>
+ </a>
+ <a href="https://discord.gg/UPsEg6egPj" target="_blank" aria-label="Discord">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M20.317 4.37a19.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-.028 14.09 14.09 0 0 0 1.226-1.994.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.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"
+ />
+ </svg>
+ </a>
+ <a href="https://twitter.com" target="_blank" aria-label="Twitter">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z"
+ />
+ </svg>
+ </a>
+ </div>
+ </div>
+
+ <!-- Links Columns -->
+ <div class="footer-links">
+ <div class="links-column">
+ <h4>Product</h4>
+ <ul>
+ <li><NuxtLink :prefetch="false" to="/dashboard">Dashboard</NuxtLink></li>
+ <li><NuxtLink :prefetch="false" to="/#features">Features</NuxtLink></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/releases" target="_blank">Changelog</a></li>
+ <li><a href="https://github.com/users/Smaug6739/projects/7" target="_blank">Roadmap</a></li>
+ </ul>
+ </div>
+
+ <div class="links-column">
+ <h4>Resources</h4>
+ <ul>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/wiki" target="_blank">Documentation</a></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/wiki" target="_blank">API Reference</a></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/wiki/Syntax" target="_blank">Guides</a></li>
+ </ul>
+ </div>
+
+ <div class="links-column">
+ <h4>Community</h4>
+ <ul>
+ <li><a href="https://github.com/Smaug6739/Alexandrie" target="_blank">GitHub</a></li>
+ <li><a href="https://discord.gg/UPsEg6egPj" target="_blank">Discord</a></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/contribute" target="_blank">Contribute</a></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/issues" target="_blank">Issues</a></li>
+ </ul>
+ </div>
+
+ <div class="links-column">
+ <h4>Legal</h4>
+ <ul>
+ <li><a href="#">Privacy Policy</a></li>
+ <li><a href="#">Terms of Service</a></li>
+ <li><a href="https://github.com/Smaug6739/Alexandrie/blob/main/LICENSE" target="_blank">MIT License</a></li>
+ </ul>
+ </div>
+ </div>
+ </div>
+
+ <!-- Footer Bottom -->
+ <div class="footer-bottom">
+ <div class="footer-bottom-left">
+ <p>&copy; {{ new Date().getFullYear() }} Alexandrie.</p>
+ <span class="separator">β€’</span>
+ <p>
+ Made with <span class="heart">❀️</span> by
+ <a href="https://github.com/Smaug6739" target="_blank">Smaug</a>
+ </p>
+ </div>
+ </div>
+ </div>
+
+ <!-- Background Elements -->
+ <div class="footer-bg">
+ <div class="gradient-blur"></div>
</div>
- <p>Developed and designed by Smaug with ❀️</p>
</footer>
</template>
+
<style scoped lang="scss">
-footer {
+.footer {
+ position: relative;
+ margin-top: 4rem;
+ padding: 0 2rem;
+ overflow: hidden;
+}
+
+.footer-container {
+ max-width: 1400px;
+ margin: 0 auto;
+ position: relative;
+ z-index: 1;
+}
+
+.footer-main {
+ display: grid;
+ grid-template-columns: 1.5fr 2.5fr;
+ gap: 4rem;
+ padding: 4rem 0;
+ border-top: 1px solid var(--border-color);
+}
+
+// Brand Section
+.footer-brand {
+ max-width: 320px;
+}
+
+.brand-logo {
display: flex;
- padding: 1.5rem 2rem;
align-items: center;
- border-top: 1px solid var(--border-color);
- justify-content: space-between;
+ gap: 10px;
+ margin-bottom: 1rem;
}
-@media (width <= 768px) {
- footer {
- margin: 0;
- padding: 2rem 1rem;
- text-align: center;
+.brand-name {
+ font-size: 1.25rem;
+ font-weight: 700;
+}
+
+.brand-desc {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ line-height: 1.7;
+ margin-bottom: 1.5rem;
+}
+
+.social-links {
+ display: flex;
+ gap: 12px;
+
+ a {
+ display: flex;
align-items: center;
- flex-direction: column;
+ justify-content: center;
+ width: 40px;
+ height: 40px;
+ background: var(--bg-contrast);
+ border: 1px solid var(--border-color);
+ border-radius: 10px;
+ color: var(--font-color-light);
+ transition: all 0.3s ease;
+
+ &:hover {
+ background: var(--primary);
+ border-color: var(--primary);
+ color: white;
+ transform: translateY(-2px);
+ }
+ }
+}
+
+// Links Section
+.footer-links {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ gap: 2rem;
+}
+
+.links-column {
+ h4 {
+ font-size: 0.85rem;
+ font-weight: 700;
+ text-transform: uppercase;
+ letter-spacing: 0.5px;
+ margin-bottom: 1rem;
+ color: var(--font-color);
+ }
+
+ ul {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+
+ li {
+ margin-bottom: 0.5rem;
+ }
+
+ a {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ text-decoration: none;
+ transition: all 0.2s ease;
+ display: inline-block;
+
+ &:hover {
+ color: var(--primary);
+ transform: translateX(3px);
+ }
+ }
+ }
+}
+
+// Footer Bottom
+.footer-bottom {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 1.5rem 0;
+ border-top: 1px solid var(--border-color);
+}
+
+.footer-bottom-left {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ font-size: 0.85rem;
+ color: var(--font-color-light);
+
+ a {
+ color: var(--primary);
+ text-decoration: none;
+ font-weight: 500;
+
+ &:hover {
+ text-decoration: underline;
+ }
+ }
+
+ .heart {
+ display: inline-block;
}
- img {
- margin: 0 10px;
+ .separator {
+ opacity: 0.3;
}
+}
+// Background
+.footer-bg {
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
+ overflow: hidden;
+}
+
+.gradient-blur {
+ position: absolute;
+ bottom: -100px;
+ left: 50%;
+ transform: translateX(-50%);
+ width: 800px;
+ height: 400px;
+ background: radial-gradient(ellipse, rgba(99, 102, 241, 0.1), transparent 70%);
+ filter: blur(60px);
+}
+
+// Responsive
+@media screen and (max-width: 1024px) {
+ .footer-main {
+ grid-template-columns: 1fr;
+ gap: 3rem;
+ }
+
+ .footer-brand {
+ max-width: 100%;
+ }
+
+ .footer-links {
+ grid-template-columns: repeat(2, 1fr);
+ }
+}
+
+@media screen and (max-width: 640px) {
+ .footer {
+ padding: 0 1rem;
+ }
+
+ .footer-main {
+ padding: 3rem 0;
+ }
+
+ .footer-links {
+ grid-template-columns: 1fr 1fr;
+ gap: 1.5rem;
+ }
+
+ .footer-bottom {
+ flex-direction: column;
+ gap: 1rem;
+ text-align: center;
+ }
+
+ .footer-bottom-left {
+ flex-direction: column;
+ gap: 4px;
- footer p {
- margin-top: 1rem;
+ .separator {
+ display: none;
+ }
}
}
</style>
diff --git a/frontend/app/pages/(public)/_components/BentoFeatures.vue b/frontend/app/pages/(public)/_components/BentoFeatures.vue
new file mode 100644
index 00000000..73e1eb44
--- /dev/null
+++ b/frontend/app/pages/(public)/_components/BentoFeatures.vue
@@ -0,0 +1,669 @@
+<template>
+ <section class="bento-section">
+ <div class="section-header">
+ <h2 class="section-title">Everything you need to write better</h2>
+ <p class="section-subtitle">Powerful features packed into a beautiful, intuitive interface</p>
+ </div>
+
+ <div class="bento-grid">
+ <!-- Large Feature Card - Markdown Editor -->
+ <div class="bento-card card-large card-editor">
+ <div class="card-content">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M14.5 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7.5L14.5 2z" />
+ <polyline points="14 2 14 8 20 8" />
+ <line x1="16" y1="13" x2="8" y2="13" />
+ <line x1="16" y1="17" x2="8" y2="17" />
+ <line x1="10" y1="9" x2="8" y2="9" />
+ </svg>
+ </div>
+ <h3>Powerful Markdown Editor</h3>
+ <p>Write with syntax highlighting, live preview, and keyboard shortcuts. Support for tables, code blocks, math equations, and more.</p>
+ </div>
+ <div class="card-visual">
+ <div class="editor-preview">
+ <div class="editor-line">
+ <span class="syntax-heading"># </span>
+ <span class="syntax-text">Welcome to Alexandrie</span>
+ </div>
+ <div class="editor-line">
+ <span class="syntax-text">Write your notes in </span>
+ <span class="syntax-bold">**Markdown**</span>
+ </div>
+ <div class="editor-line">
+ <span class="syntax-code">`code`</span>
+ <span class="syntax-text"> and </span>
+ <span class="syntax-link">[links]()</span>
+ </div>
+ <div class="editor-line">
+ <span class="syntax-list">- </span>
+ <span class="syntax-text">Lists are easy</span>
+ </div>
+ <div class="cursor"></div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Tall Card - Organization -->
+ <div class="bento-card card-tall card-organize">
+ <div class="card-content">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M22 19a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5l2 3h9a2 2 0 0 1 2 2z" />
+ </svg>
+ </div>
+ <h3>Smart Organization</h3>
+ <p>Nested folders, workspaces, tags, and powerful search to keep everything in its place.</p>
+ </div>
+ <div class="card-visual">
+ <div class="folder-tree">
+ <div class="folder-item">
+ <span class="folder-icon"><Icon name="folder" fill="var(--yellow)" /></span>
+ <span>Projects</span>
+ </div>
+ <div class="folder-item nested">
+ <span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
+ <span>Roadmap.md</span>
+ </div>
+ <div class="folder-item nested">
+ <span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
+ <span>Ideas.md</span>
+ </div>
+ <div class="folder-item">
+ <span class="folder-icon"><Icon name="folder" fill="var(--yellow)" /></span>
+ <span>Knowledge Base</span>
+ </div>
+ <div class="folder-item nested">
+ <span class="folder-icon"><Icon name="folder" fill="var(--yellow)" /></span>
+ <span>Development</span>
+ </div>
+ <div class="folder-item nested-2">
+ <span class="folder-icon"><Icon name="file" fill="var(--primary)" /></span>
+ <span>React Tips.md</span>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Medium Card - Real-time Collab -->
+ <div class="bento-card card-medium card-collab">
+ <div class="card-content">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M17 21v-2a4 4 0 0 0-4-4H5a4 4 0 0 0-4 4v2" />
+ <circle cx="9" cy="7" r="4" />
+ <path d="M23 21v-2a4 4 0 0 0-3-3.87" />
+ <path d="M16 3.13a4 4 0 0 1 0 7.75" />
+ </svg>
+ </div>
+ <h3>Collaborate and share</h3>
+ <p>Work together with your team. Share notes, manage permissions, and more.</p>
+ </div>
+ <div class="card-visual">
+ <div class="collab-avatars">
+ <div class="avatar-stack">
+ <img src="https://i.pravatar.cc/40?img=1" alt="User 1" />
+ <img src="https://i.pravatar.cc/40?img=2" alt="User 2" />
+ <img src="https://i.pravatar.cc/40?img=3" alt="User 3" />
+ <span class="avatar-more">+2</span>
+ </div>
+ <span class="editing-text">3 people editing...</span>
+ </div>
+ </div>
+ </div>
+
+ <!-- Small Card - CDN -->
+ <div class="bento-card card-small card-cdn">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <rect x="3" y="3" width="18" height="18" rx="2" ry="2" />
+ <circle cx="8.5" cy="8.5" r="1.5" />
+ <polyline points="21 15 16 10 5 21" />
+ </svg>
+ </div>
+ <h3>Built-in CDN</h3>
+ <p>Upload images & files</p>
+ </div>
+
+ <!-- Small Card - Themes -->
+ <div class="bento-card card-small card-themes">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <circle cx="12" cy="12" r="5" />
+ <path d="M12 1v2M12 21v2M4.22 4.22l1.42 1.42M18.36 18.36l1.42 1.42M1 12h2M21 12h2M4.22 19.78l1.42-1.42M18.36 5.64l1.42-1.42" />
+ </svg>
+ </div>
+ <h3>Dark & Light</h3>
+ <p>Themes for every mood</p>
+ <p>Also change the colors, document themes, add some custom colors, icons, and more.</p>
+ </div>
+
+ <!-- Wide Card - Search -->
+ <div class="bento-card card-wide card-search">
+ <div class="card-content">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <circle cx="11" cy="11" r="8" />
+ <path d="M21 21l-4.35-4.35" />
+ </svg>
+ </div>
+ <h3>Lightning Fast Search</h3>
+ <p>Full-text search across all your documents. Find anything in milliseconds.</p>
+ </div>
+ <div class="card-visual">
+ <div class="search-demo">
+ <div class="search-input">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <circle cx="11" cy="11" r="8" />
+ <path d="M21 21l-4.35-4.35" />
+ </svg>
+ <span>react hooks...</span>
+ <span class="kbd">⌘K</span>
+ </div>
+ <div class="search-results">
+ <div class="search-result">
+ <span class="result-icon"><Icon name="file" fill="var(--primary)" /></span>
+ <div class="result-content">
+ <span class="result-title">React Hooks Guide</span>
+ <span class="result-path">Knowledge Base / Development</span>
+ </div>
+ </div>
+ <div class="search-result">
+ <span class="result-icon"><Icon name="file" fill="var(--primary)" /></span>
+ <div class="result-content">
+ <span class="result-title">Custom Hooks</span>
+ <span class="result-path">Projects / Frontend</span>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <!-- Medium Card - Publish -->
+ <div class="bento-card card-medium card-publish">
+ <div class="card-content">
+ <div class="card-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M4 12v8a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8" />
+ <polyline points="16 6 12 2 8 6" />
+ <line x1="12" y1="2" x2="12" y2="15" />
+ </svg>
+ </div>
+ <h3>One-Click Publish</h3>
+ <p>Share your work publicly or with specific people. Generate beautiful read-only pages.</p>
+ </div>
+ <div class="card-visual">
+ <div class="publish-preview">
+ <div class="url-bar">
+ <span class="lock">πŸ”’</span>
+ <span>docs.yoursite.com/guide</span>
+ </div>
+ <div class="status-badge published">
+ <span class="dot"></span>
+ Live
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </section>
+</template>
+
+<style scoped lang="scss">
+.bento-section {
+ max-width: 1400px;
+ margin: 0 auto;
+ padding: 6rem 2rem;
+}
+
+.section-header {
+ text-align: center;
+ margin-bottom: 4rem;
+}
+
+.section-title {
+ font-size: clamp(2rem, 4vw, 3rem);
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ margin-bottom: 1rem;
+}
+
+.section-subtitle {
+ font-size: 1.125rem;
+ color: var(--font-color-light);
+ max-width: 500px;
+ margin: 0 auto;
+}
+
+.bento-grid {
+ display: grid;
+ grid-template-columns: repeat(4, 1fr);
+ grid-template-rows: repeat(3, auto);
+ gap: 1.25rem;
+}
+
+.bento-card {
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 20px;
+ padding: 1.5rem;
+ overflow: hidden;
+ position: relative;
+ transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
+
+ &:hover {
+ transform: translateY(-4px);
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
+ border-color: var(--primary);
+ }
+
+ .card-icon {
+ width: 48px;
+ height: 48px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: var(--bg-contrast);
+ border-radius: 12px;
+ margin-bottom: 1rem;
+ color: var(--primary);
+ }
+
+ h3 {
+ font-size: 1.125rem;
+ font-weight: 700;
+ margin-bottom: 0.5rem;
+ }
+
+ p {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ line-height: 1.6;
+ }
+}
+
+// Card Sizes
+.card-large {
+ grid-column: span 2;
+ grid-row: span 2;
+ display: flex;
+ flex-direction: column;
+}
+
+.card-tall {
+ grid-column: span 1;
+ grid-row: span 2;
+}
+
+.card-medium {
+ grid-column: span 1;
+ grid-row: span 1;
+}
+
+.card-small {
+ grid-column: span 1;
+ grid-row: span 1;
+ padding: 1.25rem;
+
+ .card-icon {
+ width: 40px;
+ height: 40px;
+ margin-bottom: 0.75rem;
+ }
+
+ h3 {
+ font-size: 1rem;
+ margin-bottom: 0.25rem;
+ }
+
+ p {
+ font-size: 0.8rem;
+ }
+}
+
+.card-wide {
+ grid-column: span 2;
+ grid-row: span 1;
+ display: flex;
+ align-items: center;
+ gap: 2rem;
+
+ .card-content {
+ flex: 1;
+ }
+}
+
+// Editor Card Visual
+.card-editor {
+ background: linear-gradient(135deg, var(--bg-color), var(--bg-contrast));
+
+ .card-visual {
+ flex: 1;
+ display: flex;
+ align-items: flex-end;
+ }
+
+ .editor-preview {
+ width: 100%;
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 12px;
+ padding: 1rem;
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
+ font-size: 13px;
+ line-height: 1.8;
+ }
+
+ .editor-line {
+ white-space: nowrap;
+ overflow: hidden;
+ }
+
+ .syntax-heading {
+ color: var(--primary);
+ font-weight: 700;
+ }
+
+ .syntax-text {
+ color: var(--font-color);
+ }
+
+ .syntax-bold {
+ color: var(--purple);
+ font-weight: 700;
+ }
+
+ .syntax-code {
+ color: var(--green);
+ background: var(--green-bg);
+ padding: 2px 6px;
+ border-radius: 4px;
+ }
+
+ .syntax-link {
+ color: var(--blue);
+ text-decoration: underline;
+ }
+
+ .syntax-list {
+ color: var(--yellow);
+ }
+
+ .cursor {
+ width: 2px;
+ height: 16px;
+ background: var(--primary);
+ display: inline-block;
+ margin-left: 2px;
+ vertical-align: text-bottom;
+ }
+}
+
+// Organization Card Visual
+.card-organize {
+ .card-visual {
+ margin-top: auto;
+ padding-top: 1rem;
+ }
+
+ .folder-tree {
+ font-size: 13px;
+ }
+
+ .folder-item {
+ display: flex;
+ align-items: center;
+ gap: 8px;
+ padding: 6px 10px;
+ border-radius: 8px;
+ transition: background 0.2s;
+
+ &:hover {
+ background: var(--bg-contrast);
+ }
+
+ &.nested {
+ margin-left: 1.25rem;
+ }
+
+ &.nested-2 {
+ margin-left: 2.5rem;
+ }
+ }
+
+ .folder-icon {
+ font-size: 16px;
+ }
+}
+
+// Collab Card Visual
+.card-collab {
+ .card-visual {
+ margin-top: auto;
+ padding-top: 1rem;
+ }
+
+ .collab-avatars {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ }
+
+ .avatar-stack {
+ display: flex;
+
+ img {
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ border: 2px solid var(--bg-color);
+ margin-left: -8px;
+
+ &:first-child {
+ margin-left: 0;
+ }
+ }
+
+ .avatar-more {
+ width: 32px;
+ height: 32px;
+ border-radius: 50%;
+ background: var(--primary);
+ color: white;
+ font-size: 11px;
+ font-weight: 600;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin-left: -8px;
+ border: 2px solid var(--bg-color);
+ }
+ }
+
+ .editing-text {
+ font-size: 12px;
+ color: var(--font-color-light);
+ }
+}
+
+// Search Card Visual
+.card-search {
+ .card-visual {
+ flex: 1.2;
+ }
+
+ .search-demo {
+ background: var(--bg-contrast);
+ border: 1px solid var(--border-color);
+ border-radius: 12px;
+ overflow: hidden;
+ }
+
+ .search-input {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 12px 14px;
+ border-bottom: 1px solid var(--border-color);
+ font-size: 14px;
+ color: var(--font-color-light);
+
+ .kbd {
+ margin-left: auto;
+ padding: 4px 8px;
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 6px;
+ font-size: 11px;
+ font-weight: 600;
+ }
+ }
+
+ .search-results {
+ padding: 8px;
+ }
+
+ .search-result {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 10px 12px;
+ border-radius: 8px;
+ cursor: pointer;
+ transition: background 0.2s;
+
+ &:hover {
+ background: var(--bg-color);
+ }
+
+ .result-icon {
+ font-size: 20px;
+ }
+
+ .result-content {
+ display: flex;
+ flex-direction: column;
+ }
+
+ .result-title {
+ font-weight: 600;
+ font-size: 13px;
+ }
+
+ .result-path {
+ font-size: 11px;
+ color: var(--font-color-light);
+ }
+ }
+}
+
+// Publish Card Visual
+.card-publish {
+ .card-visual {
+ margin-top: auto;
+ padding-top: 1rem;
+ }
+
+ .publish-preview {
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ padding: 12px 14px;
+ background: var(--bg-contrast);
+ border: 1px solid var(--border-color);
+ border-radius: 10px;
+ font-size: 13px;
+ }
+
+ .url-bar {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ color: var(--font-color-light);
+ }
+
+ .status-badge {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ padding: 4px 10px;
+ border-radius: 100px;
+ font-size: 11px;
+ font-weight: 600;
+
+ &.published {
+ background: var(--green-bg);
+ color: var(--green);
+
+ .dot {
+ width: 6px;
+ height: 6px;
+ background: var(--green);
+ border-radius: 50%;
+ }
+ }
+ }
+}
+
+// Themes Card
+.card-themes {
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+ .card-icon {
+ background: var(--purple-bg);
+ color: var(--purple);
+ }
+}
+
+// CDN Card
+.card-cdn {
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+
+ .card-icon {
+ background: var(--purple-bg);
+ color: var(--purple);
+ }
+}
+
+// Responsive
+@media screen and (max-width: 1200px) {
+ .bento-grid {
+ grid-template-columns: repeat(2, 1fr);
+ }
+
+ .card-large {
+ grid-column: span 2;
+ grid-row: span 1;
+ flex-direction: row;
+ align-items: center;
+ gap: 2rem;
+ }
+
+ .card-tall {
+ grid-column: span 1;
+ grid-row: span 1;
+ }
+
+ .card-wide {
+ grid-column: span 2;
+ }
+}
+
+@media screen and (max-width: 768px) {
+ .bento-section {
+ padding: 4rem 1rem;
+ }
+
+ .bento-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .card-large,
+ .card-wide {
+ grid-column: span 1;
+ flex-direction: column;
+ align-items: stretch;
+ }
+}
+</style>
diff --git a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
index f2e2e37a..fc61ad4c 100644
--- a/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
+++ b/frontend/app/pages/(public)/_components/ContributorsMarquee.vue
@@ -1,12 +1,28 @@
<template>
<section class="contributors">
- <div class="strip" :style="{ ['--items' as any]: displayAvatars.length }">
- <a v-for="c in displayAvatars" :key="c.__key" class="avatar" :href="c.html_url" target="_blank" :title="c.login">
- <img :src="c.avatar_url + '&s=80'" :alt="c.login" />
- <div class="profile">
- <div class="name">{{ c.login }}</div>
- <div class="sub">GitHub</div>
- </div>
+ <div class="section-header">
+ <h3>Built by the community</h3>
+ <p>Meet the amazing people who make Alexandrie possible</p>
+ </div>
+
+ <div class="contributors-wrapper" v-if="displayAvatars.length">
+ <div class="contributors-track">
+ <a v-for="c in displayAvatars" :key="c.__key" class="contributor" :href="c.html_url" target="_blank" :title="c.login">
+ <img :src="c.avatar_url + '&s=80'" :alt="c.login" loading="lazy" />
+ <div class="contributor-info">
+ <span class="name">{{ c.login }}</span>
+ <span class="contributions">{{ c.contributions }} commits</span>
+ </div>
+ </a>
+ </div>
+ </div>
+
+ <div class="contributors-cta">
+ <a href="https://github.com/Smaug6739/Alexandrie/contribute" target="_blank" class="cta-btn">
+ <svg width="18" height="18" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M12 5v14M5 12h14" />
+ </svg>
+ Become a contributor
</a>
</div>
</section>
@@ -18,13 +34,15 @@ interface Contributor {
login: string;
avatar_url: string;
html_url: string;
+ contributions: number;
}
+
const avatars = ref<Contributor[]>([]);
const displayAvatars = computed(() => avatars.value.map((c, idx) => ({ ...c, __key: `${c.id}-${idx}` })));
async function fetchContributors() {
try {
- const res = await fetch(`https://api.github.com/repos/Smaug6739/Alexandrie/contributors?per_page=100`);
+ const res = await fetch(`https://api.github.com/repos/Smaug6739/Alexandrie/contributors?per_page=50`);
if (!res.ok) return;
const data = await res.json();
avatars.value = Array.isArray(data) ? (data as Contributor[]) : [];
@@ -38,79 +56,128 @@ onMounted(fetchContributors);
<style scoped lang="scss">
.contributors {
- max-width: 1100px;
+ max-width: 1400px;
margin: 4rem auto;
+ padding: 3rem 2rem;
text-align: center;
+ overflow: hidden;
+}
+
+.section-header {
+ margin-bottom: 2rem;
+
+ h3 {
+ font-size: 1.5rem;
+ font-weight: 700;
+ margin-bottom: 0.5rem;
+ }
+
+ p {
+ color: var(--font-color-light);
+ font-size: 1rem;
+ }
+}
+
+.contributors-wrapper {
+ position: relative;
+ padding: 1rem 0;
}
-.strip {
+.contributors-track {
display: flex;
- padding: 8px 0;
flex-wrap: wrap;
- gap: 12px;
+ gap: 1rem;
justify-content: center;
}
-.avatar {
- position: relative;
- display: block;
+.contributor {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ padding: 12px 16px;
background: var(--bg-color);
- transition: transform 0.15s ease;
-}
+ border: 1px solid var(--border-color);
+ border-radius: 14px;
+ text-decoration: none;
+ transition: all 0.3s ease;
+ flex-shrink: 0;
+
+ &:hover {
+ border-color: var(--primary);
+ transform: translateY(-4px);
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
+
+ img {
+ transform: scale(1.1);
+ }
+ }
-.avatar img {
- width: 48px;
- max-width: none;
- height: 48px;
- border-radius: 50%;
+ img {
+ width: 44px;
+ height: 44px;
+ border-radius: 12px;
+ transition: transform 0.3s ease;
+ }
}
-.avatar::before {
- position: absolute;
- border-radius: inherit;
- content: '';
- inset: 0;
+.contributor-info {
+ display: flex;
+ flex-direction: column;
+ text-align: left;
+
+ .name {
+ font-weight: 600;
+ font-size: 0.9rem;
+ color: var(--font-color);
+ }
+
+ .contributions {
+ font-size: 0.75rem;
+ color: var(--font-color-light);
+ }
}
-.avatar:hover {
- transform: translateY(-2px);
+.contributors-cta {
+ margin-top: 2rem;
}
-.profile {
- position: absolute;
- bottom: calc(100% + 8px);
- left: 50%;
- padding: 6px 10px;
+.cta-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 12px 24px;
+ background: var(--bg-contrast);
border: 1px solid var(--border-color);
- border-radius: 999px;
- background: var(--bg-color);
- opacity: 0;
- transition: opacity 0.15s ease, transform 0.15s ease;
- pointer-events: none;
- transform: translateX(-50%) translateY(0);
- white-space: nowrap;
-}
+ border-radius: 12px;
+ font-weight: 600;
+ font-size: 14px;
+ color: var(--font-color);
+ text-decoration: none;
+ transition: all 0.3s ease;
-.avatar:hover .profile {
- opacity: 1;
- transform: translateX(-50%) translateY(-2px);
+ &:hover {
+ border-color: var(--primary);
+ color: var(--primary);
+ transform: translateY(-2px);
+ }
}
-.name {
- font-weight: 700;
-}
+@media screen and (max-width: 640px) {
+ .contributors {
+ padding: 2rem 1rem;
+ }
-.sub {
- font-size: 12px;
-}
+ .contributor {
+ padding: 10px 12px;
-@keyframes marquee {
- from {
- transform: translateX(0);
+ img {
+ width: 36px;
+ height: 36px;
+ }
}
- to {
- transform: translateX(-50%);
+ .contributor-info .name {
+ font-size: 0.85rem;
}
}
</style>
diff --git a/frontend/app/pages/(public)/_components/FeatureCard.vue b/frontend/app/pages/(public)/_components/FeatureCard.vue
deleted file mode 100644
index cf52806c..00000000
--- a/frontend/app/pages/(public)/_components/FeatureCard.vue
+++ /dev/null
@@ -1,68 +0,0 @@
-<template>
- <div class="feature-card" data-aos="fade-up">
- <div class="icon-wrapper">
- <Icon :class="`icon-${icon}`" class="icon" :name="icon" fill="white" display="lg" />
- </div>
- <h3 class="title">{{ title }}</h3>
- <p class="description">{{ text }}</p>
- <slot />
- </div>
-</template>
-
-<script setup lang="ts">
-defineProps<{ icon: string; title: string; text: string }>();
-</script>
-
-<style scoped lang="scss">
-.icon-wrapper {
- display: flex;
- width: 70px;
- height: 70px;
- margin: 0 auto 1rem;
- border-radius: 50%;
- background: linear-gradient(135deg, var(--primary), #6c63ff);
- box-shadow: 0 6px 20px rgb(108 99 255 / 30%);
- transition: transform 0.3s ease, box-shadow 0.3s ease;
- align-items: center;
- justify-content: center;
-}
-
-.feature-card {
- position: relative;
- padding: 2rem 1.8rem;
- border-radius: 1.2rem;
- text-align: center;
- background: var(--bg-color);
- box-shadow: 0 10px 30px rgb(0 0 0 / 6%);
- overflow: hidden;
-
- &:hover {
- box-shadow: 0 14px 40px rgb(0 0 0 / 12%);
- transform: translateY(-8px);
-
- .icon-wrapper {
- transform: scale(1.05) rotate(3deg);
- }
- }
-}
-
-.icon {
- font-size: 1.8rem;
- color: white;
-}
-
-.title {
- font-size: 1.25rem;
- font-weight: 700;
- background: linear-gradient(90deg, var(--primary), #6c63ff);
- background-clip: text;
- margin-bottom: 0.6rem;
- -webkit-text-fill-color: transparent;
-}
-
-.description {
- font-size: 0.96rem;
- line-height: 1.5;
- color: var(--font-color-light);
-}
-</style>
diff --git a/frontend/app/pages/(public)/_components/FeaturesShowcase.vue b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
new file mode 100644
index 00000000..8ee4b31c
--- /dev/null
+++ b/frontend/app/pages/(public)/_components/FeaturesShowcase.vue
@@ -0,0 +1,366 @@
+<template>
+ <section class="showcase-section">
+ <div class="section-header">
+ <h2 class="section-title">From idea to published docs</h2>
+ <p class="section-subtitle">See how Alexandrie streamlines your entire workflow</p>
+ </div>
+
+ <div class="showcase-container">
+ <div class="showcase-nav">
+ <button v-for="(item, index) in features" :key="index" class="nav-item" :class="{ active: activeIndex === index }" @click="setActive(index)">
+ <span class="nav-number">{{ String(index + 1).padStart(2, '0') }}</span>
+ <div class="nav-content">
+ <span class="nav-title">{{ item.title }}</span>
+ <span class="nav-desc">{{ item.shortDesc }}</span>
+ </div>
+ <div class="nav-progress" v-if="activeIndex === index">
+ <div class="progress-bar" :style="{ width: `${progress}%` }"></div>
+ </div>
+ </button>
+ </div>
+
+ <div class="showcase-display">
+ <div class="display-wrapper">
+ <TransitionGroup name="showcase">
+ <div v-for="(item, index) in features" :key="index" v-show="activeIndex === index" class="display-item">
+ <div class="display-content">
+ <h3>{{ item.title }}</h3>
+ <p>{{ item.description }}</p>
+ <ul class="feature-list">
+ <li v-for="(point, i) in item.points" :key="i">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ {{ point }}
+ </li>
+ </ul>
+ </div>
+ <div class="display-visual">
+ <div class="visual-frame">
+ <img :src="item.image" :alt="item.title" loading="lazy" />
+ </div>
+ </div>
+ </div>
+ </TransitionGroup>
+ </div>
+ </div>
+ </div>
+ </section>
+</template>
+
+<script setup lang="ts">
+const features = [
+ {
+ title: 'Capture Ideas Instantly',
+ shortDesc: 'Quick notes & drafts',
+ description: 'Start writing immediately with our distraction-free editor. Everything syncs automatically.',
+ points: ['Real-time autosave', 'Quick keyboard shortcuts', 'Distraction-free mode', 'Templates for common formats'],
+ image: '/screenshots/mock/1.png',
+ },
+ {
+ title: 'Organize Your Knowledge',
+ shortDesc: 'Structure & categorize',
+ description: 'Create a powerful knowledge base with nested folders, workspaces, and smart tagging.',
+ points: ['Unlimited nested folders', 'Multiple workspaces', 'Tag-based organization', 'Smart filters & views'],
+ image: '/screenshots/mock/2.png',
+ },
+ {
+ title: 'Collaborate Seamlessly',
+ shortDesc: 'Team workflows',
+ description: 'Share notes with your team, manage permissions, and work together in real-time.',
+ points: ['Granular permissions', 'Real-time collaboration', 'Comment & feedback', 'Activity history'],
+ image: '/screenshots/mock/3.png',
+ },
+ {
+ title: 'Publish & Share',
+ shortDesc: 'Go live instantly',
+ description: 'Transform your notes into beautiful public documentation with one click.',
+ points: ['Custom domains', 'SEO optimized', 'Analytics built-in', 'Password protection'],
+ image: '/screenshots/mock/4.png',
+ },
+];
+
+const activeIndex = ref(0);
+const progress = ref(0);
+const intervalId = ref<number | null>(null);
+
+function setActive(index: number) {
+ activeIndex.value = index;
+ progress.value = 0;
+ resetInterval();
+}
+
+function resetInterval() {
+ if (intervalId.value) {
+ clearInterval(intervalId.value);
+ }
+}
+
+onUnmounted(() => {
+ if (intervalId.value) {
+ clearInterval(intervalId.value);
+ }
+});
+</script>
+
+<style scoped lang="scss">
+.showcase-section {
+ max-width: 1400px;
+ margin: 0 auto;
+ padding: 6rem 2rem;
+}
+
+.section-header {
+ text-align: center;
+ margin-bottom: 4rem;
+}
+
+.section-title {
+ font-size: clamp(2rem, 4vw, 3rem);
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ margin-bottom: 1rem;
+}
+
+.section-subtitle {
+ font-size: 1.125rem;
+ color: var(--font-color-light);
+ max-width: 500px;
+ margin: 0 auto;
+}
+
+.showcase-container {
+ display: grid;
+ grid-template-columns: 300px 1fr;
+ gap: 3rem;
+ align-items: start;
+}
+
+.showcase-nav {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
+ position: sticky;
+ top: 100px;
+}
+
+.nav-item {
+ display: flex;
+ align-items: flex-start;
+ gap: 1rem;
+ padding: 1.25rem;
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 16px;
+ text-align: left;
+ cursor: pointer;
+ transition: all 0.3s ease;
+ position: relative;
+ overflow: hidden;
+
+ &:hover {
+ border-color: var(--primary);
+ transform: translateX(4px);
+ }
+
+ &.active {
+ background: var(--bg-contrast);
+ border-color: var(--primary);
+ box-shadow: 0 10px 40px rgba(99, 102, 241, 0.15);
+
+ .nav-number {
+ background: var(--primary);
+ color: white;
+ }
+ }
+}
+
+.nav-number {
+ min-width: 32px;
+ height: 32px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: var(--bg-contrast);
+ border-radius: 8px;
+ font-size: 12px;
+ font-weight: 700;
+ color: var(--font-color-light);
+ transition: all 0.3s ease;
+}
+
+.nav-content {
+ flex: 1;
+}
+
+.nav-title {
+ display: block;
+ font-weight: 600;
+ font-size: 0.95rem;
+ margin-bottom: 2px;
+}
+
+.nav-desc {
+ font-size: 0.8rem;
+ color: var(--font-color-light);
+}
+
+.nav-progress {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ right: 0;
+ height: 3px;
+ background: var(--border-color);
+ overflow: hidden;
+}
+
+.progress-bar {
+ height: 100%;
+ background: linear-gradient(90deg, var(--primary), #8b5cf6);
+ transition: width 0.05s linear;
+}
+
+.showcase-display {
+ height: 500px;
+ position: relative;
+}
+
+.display-wrapper {
+ position: absolute;
+ inset: 0;
+}
+
+.display-item {
+ position: absolute;
+ inset: 0;
+ display: grid;
+ grid-template-columns: 1fr 1.5fr;
+ gap: 3rem;
+ align-items: center;
+}
+
+.display-content {
+ h3 {
+ font-size: 1.75rem;
+ font-weight: 700;
+ margin-bottom: 1rem;
+ }
+
+ p {
+ font-size: 1.1rem;
+ color: var(--font-color-light);
+ line-height: 1.7;
+ margin-bottom: 1.5rem;
+ }
+}
+
+.feature-list {
+ list-style: none;
+ padding: 0;
+ margin: 0;
+
+ li {
+ display: flex;
+ align-items: center;
+ gap: 10px;
+ padding: 0.5rem 0;
+ font-size: 0.95rem;
+
+ svg {
+ color: var(--green);
+ flex-shrink: 0;
+ }
+ }
+}
+
+.display-visual {
+ position: relative;
+}
+
+.visual-frame {
+ background: var(--bg-contrast);
+ border: 1px solid var(--border-color);
+ border-radius: 16px;
+ overflow: hidden;
+ box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
+
+ img {
+ width: 100%;
+ display: block;
+ }
+}
+
+// Transitions - simple opacity fade to avoid layout shifts
+.showcase-enter-active,
+.showcase-leave-active {
+ transition: opacity 0.4s ease;
+}
+
+.showcase-enter-from,
+.showcase-leave-to {
+ opacity: 0;
+}
+
+@media screen and (max-width: 1024px) {
+ .showcase-container {
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ }
+
+ .showcase-nav {
+ flex-direction: row;
+ overflow-x: auto;
+ position: static;
+ gap: 0.75rem;
+ padding-bottom: 0.5rem;
+
+ &::-webkit-scrollbar {
+ height: 4px;
+ }
+
+ &::-webkit-scrollbar-thumb {
+ background: var(--border-color);
+ border-radius: 4px;
+ }
+ }
+
+ .nav-item {
+ min-width: 200px;
+ flex-shrink: 0;
+
+ &:hover {
+ transform: translateY(-2px);
+ }
+ }
+
+ .showcase-display {
+ height: auto;
+ min-height: 600px;
+ position: relative;
+ }
+
+ .display-wrapper {
+ position: relative;
+ inset: auto;
+ }
+
+ .display-item {
+ position: relative;
+ inset: auto;
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ }
+}
+
+@media screen and (max-width: 640px) {
+ .showcase-section {
+ padding: 4rem 1rem;
+ }
+
+ .nav-item {
+ min-width: 160px;
+ padding: 1rem;
+ }
+}
+</style>
diff --git a/frontend/app/pages/(public)/_components/FinalCTA.vue b/frontend/app/pages/(public)/_components/FinalCTA.vue
new file mode 100644
index 00000000..a9e440f3
--- /dev/null
+++ b/frontend/app/pages/(public)/_components/FinalCTA.vue
@@ -0,0 +1,356 @@
+<template>
+ <section class="final-cta">
+ <div class="cta-container">
+ <!-- Background Effects -->
+ <div class="cta-bg">
+ <div class="grid-pattern"></div>
+ <div class="glow glow-1"></div>
+ <div class="glow glow-2"></div>
+ </div>
+
+ <!-- Content -->
+ <div class="cta-content">
+ <div class="cta-badge">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>
+ </svg>
+ <span>Free & Open Source Forever</span>
+ </div>
+
+ <h2 class="cta-title">
+ Ready to transform your
+ <span class="gradient-text">documentation?</span>
+ </h2>
+
+ <p class="cta-subtitle">Join thousands of developers who've already made the switch. No credit card required.</p>
+
+ <div class="cta-actions">
+ <NuxtLink :prefetch="false" to="/dashboard" class="btn-primary">
+ <span>Start Writing Now</span>
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M5 12h14M12 5l7 7-7 7" />
+ </svg>
+ </NuxtLink>
+ <a href="https://github.com/Smaug6739/Alexandrie" target="_blank" class="btn-secondary">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
+ />
+ </svg>
+ <span>Star on GitHub</span>
+ </a>
+ </div>
+
+ <div class="cta-features">
+ <div class="feature">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ <span>Self-hosted</span>
+ </div>
+ <div class="feature">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ <span>MIT License</span>
+ </div>
+ <div class="feature">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ <span>No tracking</span>
+ </div>
+ <div class="feature">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ <span>Active community</span>
+ </div>
+ </div>
+
+ <!-- Discord Banner -->
+ <div class="discord-banner">
+ <div class="discord-icon">
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M20.317 4.37a19.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-.028 14.09 14.09 0 0 0 1.226-1.994.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.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"
+ />
+ </svg>
+ </div>
+ <div class="discord-text">
+ <span class="discord-title">Join our community</span>
+ <span class="discord-desc">Chat with us and other developers</span>
+ </div>
+ <a href="https://discord.gg/UPsEg6egPj" target="_blank" class="discord-btn">Join Discord</a>
+ </div>
+ </div>
+ </div>
+ </section>
+</template>
+
+<script setup lang="ts"></script>
+
+<style scoped lang="scss">
+.final-cta {
+ padding: 2rem;
+ margin-bottom: 2rem;
+}
+
+.cta-container {
+ position: relative;
+ max-width: 1000px;
+ margin: 0 auto;
+ padding: 5rem 3rem;
+ background: linear-gradient(135deg, var(--primary), #6366f1, #8b5cf6);
+ border-radius: 32px;
+ overflow: hidden;
+}
+
+// Background Effects
+.cta-bg {
+ position: absolute;
+ inset: 0;
+ pointer-events: none;
+}
+
+.grid-pattern {
+ position: absolute;
+ inset: 0;
+ background-image: linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
+ background-size: 40px 40px;
+ mask-image: radial-gradient(ellipse 80% 50% at 50% 50%, black, transparent);
+}
+
+.glow {
+ position: absolute;
+ border-radius: 50%;
+ filter: blur(80px);
+}
+
+.glow-1 {
+ top: -100px;
+ right: -100px;
+ width: 400px;
+ height: 400px;
+ background: rgba(255, 255, 255, 0.2);
+}
+
+.glow-2 {
+ bottom: -100px;
+ left: -100px;
+ width: 300px;
+ height: 300px;
+ background: rgba(236, 72, 153, 0.3);
+}
+
+// Content
+.cta-content {
+ position: relative;
+ z-index: 1;
+ text-align: center;
+ color: white;
+}
+
+.cta-badge {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 8px 16px;
+ background: rgba(255, 255, 255, 0.15);
+ border: 1px solid rgba(255, 255, 255, 0.2);
+ border-radius: 100px;
+ font-size: 13px;
+ font-weight: 500;
+ margin-bottom: 2rem;
+ backdrop-filter: blur(10px);
+
+ svg {
+ color: #fbbf24;
+ }
+}
+
+.cta-title {
+ font-size: clamp(2rem, 4vw, 3rem);
+ font-weight: 800;
+ line-height: 1.2;
+ margin-bottom: 1rem;
+
+ .gradient-text {
+ display: block;
+ background: linear-gradient(90deg, #fff, #e0e7ff, #fff);
+ background-clip: text;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+ }
+}
+
+.cta-subtitle {
+ font-size: 1.125rem;
+ opacity: 0.9;
+ max-width: 500px;
+ margin: 0 auto 2rem;
+ line-height: 1.6;
+}
+
+.cta-actions {
+ display: flex;
+ justify-content: center;
+ gap: 1rem;
+ margin-bottom: 2rem;
+}
+
+.btn-primary {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 16px 28px;
+ background: white;
+ color: var(--primary);
+ font-weight: 600;
+ font-size: 15px;
+ border-radius: 12px;
+ text-decoration: none;
+ transition: all 0.3s ease;
+
+ &:hover {
+ transform: translateY(-3px);
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
+
+ svg {
+ transform: translateX(4px);
+ }
+ }
+
+ svg {
+ transition: transform 0.3s ease;
+ }
+}
+
+.btn-secondary {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 16px 28px;
+ background: rgba(255, 255, 255, 0.15);
+ border: 1px solid rgba(255, 255, 255, 0.3);
+ color: white;
+ font-weight: 600;
+ font-size: 15px;
+ border-radius: 12px;
+ text-decoration: none;
+ transition: all 0.3s ease;
+ backdrop-filter: blur(10px);
+
+ &:hover {
+ background: rgba(255, 255, 255, 0.25);
+ transform: translateY(-3px);
+ }
+}
+
+.cta-features {
+ display: flex;
+ justify-content: center;
+ gap: 2rem;
+ flex-wrap: wrap;
+ margin-bottom: 3rem;
+
+ .feature {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ font-size: 14px;
+ opacity: 0.9;
+
+ svg {
+ color: #a5f3fc;
+ }
+ }
+}
+
+// Discord Banner
+.discord-banner {
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ max-width: 500px;
+ margin: 0 auto;
+ padding: 1rem 1.5rem;
+ background: rgba(88, 101, 242, 0.3);
+ border: 1px solid rgba(88, 101, 242, 0.5);
+ border-radius: 16px;
+ backdrop-filter: blur(10px);
+}
+
+.discord-icon {
+ width: 48px;
+ height: 48px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ background: #5865f2;
+ border-radius: 12px;
+ flex-shrink: 0;
+}
+
+.discord-text {
+ flex: 1;
+ text-align: left;
+}
+
+.discord-title {
+ display: block;
+ font-weight: 600;
+ font-size: 0.95rem;
+}
+
+.discord-desc {
+ font-size: 0.8rem;
+ opacity: 0.8;
+}
+
+.discord-btn {
+ padding: 10px 18px;
+ background: white;
+ color: #5865f2;
+ font-weight: 600;
+ font-size: 13px;
+ border-radius: 10px;
+ text-decoration: none;
+ transition: all 0.3s ease;
+ white-space: nowrap;
+
+ &:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
+ }
+}
+
+@media screen and (max-width: 768px) {
+ .final-cta {
+ padding: 1rem;
+ }
+
+ .cta-container {
+ padding: 3rem 1.5rem;
+ border-radius: 24px;
+ }
+
+ .cta-actions {
+ flex-direction: column;
+ align-items: center;
+ }
+
+ .cta-features {
+ gap: 1rem;
+ }
+
+ .discord-banner {
+ flex-direction: column;
+ text-align: center;
+ }
+
+ .discord-text {
+ text-align: center;
+ }
+}
+</style>
diff --git a/frontend/app/pages/(public)/_components/OSSPrinciples.vue b/frontend/app/pages/(public)/_components/OSSPrinciples.vue
deleted file mode 100644
index 8b2ecb4c..00000000
--- a/frontend/app/pages/(public)/_components/OSSPrinciples.vue
+++ /dev/null
@@ -1,52 +0,0 @@
-<template>
- <section class="principles">
- <h2>Our principles</h2>
- <div class="grid">
- <div class="card">
- <h3>Open by default</h3>
- <p>Public roadmap, transparent development, community-driven decisions.</p>
- </div>
- <div class="card">
- <h3>User freedom</h3>
- <p>Self-host, no lock-in, full export and import of your notes.</p>
- </div>
- <div class="card">
- <h3>Data portability</h3>
- <p>Standard Markdown and assets, works offline, easy backups.</p>
- </div>
- <div class="card">
- <h3>Simplicity first</h3>
- <p>Fast, reliable, minimal dependencies and predictable behavior.</p>
- </div>
- </div>
- </section>
-</template>
-
-<style scoped lang="scss">
-.principles {
- max-width: 1100px;
- margin: 4rem auto 0;
- text-align: center;
-}
-
-.grid {
- display: grid;
- gap: 14px;
- grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
- margin-top: 14px;
-}
-
-.card {
- padding: 16px;
- border: 1px solid var(--border-color);
- border-radius: 12px;
- text-align: left;
- background: var(--bg-color);
- transition: transform 0.2s ease, box-shadow 0.2s ease;
-}
-
-.card:hover {
- box-shadow: 0 14px 32px rgb(0 0 0 / 12%);
- transform: translateY(-4px);
-}
-</style>
diff --git a/frontend/app/pages/(public)/_components/OpenSourceStats.vue b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
index b1947a94..74534e6d 100644
--- a/frontend/app/pages/(public)/_components/OpenSourceStats.vue
+++ b/frontend/app/pages/(public)/_components/OpenSourceStats.vue
@@ -1,25 +1,74 @@
<template>
<section class="oss-stats">
- <h2>Open-source by design</h2>
- <p class="subtitle">Transparent, self-hostable, and built with the community</p>
- <div class="stats-grid">
- <div class="stat">
- <div class="value">{{ starsDisplay }}</div>
- <div class="label">GitHub stars</div>
+ <div class="stats-visual">
+ <div class="visual-bg">
+ <div class="code-lines">
+ <span v-for="i in 8" :key="i" class="code-line" :style="{ '--delay': `${i * 0.1}s`, '--width': `${40 + Math.random() * 50}%` }"></span>
+ </div>
</div>
- <div class="stat">
- <div class="value">{{ contributorsDisplay }}</div>
- <div class="label">Contributors</div>
- </div>
- <div class="stat">
- <div class="value">{{ latestRelease || '-' }}</div>
- <div class="label">Latest release</div>
+ <div class="github-card">
+ <div class="card-header">
+ <svg width="32" height="32" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M12 0c-6.626 0-12 5.373-12 12 0 5.302 3.438 9.8 8.207 11.387.599.111.793-.261.793-.577v-2.234c-3.338.726-4.033-1.416-4.033-1.416-.546-1.387-1.333-1.756-1.333-1.756-1.089-.745.083-.729.083-.729 1.205.084 1.839 1.237 1.839 1.237 1.07 1.834 2.807 1.304 3.492.997.107-.775.418-1.305.762-1.604-2.665-.305-5.467-1.334-5.467-5.931 0-1.311.469-2.381 1.236-3.221-.124-.303-.535-1.524.117-3.176 0 0 1.008-.322 3.301 1.23.957-.266 1.983-.399 3.003-.404 1.02.005 2.047.138 3.006.404 2.291-1.552 3.297-1.23 3.297-1.23.653 1.653.242 2.874.118 3.176.77.84 1.235 1.911 1.235 3.221 0 4.609-2.807 5.624-5.479 5.921.43.372.823 1.102.823 2.222v3.293c0 .319.192.694.801.576 4.765-1.589 8.199-6.086 8.199-11.386 0-6.627-5.373-12-12-12z"
+ />
+ </svg>
+ <span>{{ owner }}/{{ repo }}</span>
+ </div>
+ <p class="card-desc">The open-source workspace for developers who think in Markdown</p>
+ <div class="card-stats">
+ <div class="mini-stat">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="currentColor">
+ <polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>
+ </svg>
+ <span>{{ starsDisplay }}</span>
+ </div>
+ <div class="mini-stat">
+ <svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <circle cx="12" cy="12" r="3"></circle>
+ <path
+ d="M19.4 15a1.65 1.65 0 0 0 .33 1.82l.06.06a2 2 0 0 1 0 2.83 2 2 0 0 1-2.83 0l-.06-.06a1.65 1.65 0 0 0-1.82-.33 1.65 1.65 0 0 0-1 1.51V21a2 2 0 0 1-2 2 2 2 0 0 1-2-2v-.09A1.65 1.65 0 0 0 9 19.4a1.65 1.65 0 0 0-1.82.33l-.06.06a2 2 0 0 1-2.83 0 2 2 0 0 1 0-2.83l.06-.06a1.65 1.65 0 0 0 .33-1.82 1.65 1.65 0 0 0-1.51-1H3a2 2 0 0 1-2-2 2 2 0 0 1 2-2h.09A1.65 1.65 0 0 0 4.6 9a1.65 1.65 0 0 0-.33-1.82l-.06-.06a2 2 0 0 1 0-2.83 2 2 0 0 1 2.83 0l.06.06a1.65 1.65 0 0 0 1.82.33H9a1.65 1.65 0 0 0 1-1.51V3a2 2 0 0 1 2-2 2 2 0 0 1 2 2v.09a1.65 1.65 0 0 0 1 1.51 1.65 1.65 0 0 0 1.82-.33l.06-.06a2 2 0 0 1 2.83 0 2 2 0 0 1 0 2.83l-.06.06a1.65 1.65 0 0 0-.33 1.82V9a1.65 1.65 0 0 0 1.51 1H21a2 2 0 0 1 2 2 2 2 0 0 1-2 2h-.09a1.65 1.65 0 0 0-1.51 1z"
+ ></path>
+ </svg>
+ <span>{{ contributorsDisplay }}</span>
+ </div>
+ </div>
</div>
</div>
- <div class="actions">
- <a :href="`https://github.com/${owner}/${repo}`" target="_blank" class="btn github">Star on GitHub</a>
- <NuxtLink :prefetch="false" to="/dashboard" class="btn try">Try the app</NuxtLink>
- <a :href="`https://github.com/${owner}/${repo}/contribute`" target="_blank" class="btn contribute">Contribute</a>
+
+ <div class="stats-content">
+ <span class="section-tag">Open Source</span>
+ <h2>Built in the open</h2>
+ <p class="subtitle">Transparent development, community-driven decisions, and full access to the source code</p>
+
+ <div class="stats-grid">
+ <div class="stat">
+ <div class="stat-icon">⭐</div>
+ <div class="stat-value">{{ starsDisplay }}</div>
+ <div class="stat-label">GitHub stars</div>
+ </div>
+ <div class="stat">
+ <div class="stat-icon"><Icon name="users" display="xl" /></div>
+ <div class="stat-value">{{ contributorsDisplay }}</div>
+ <div class="stat-label">Contributors</div>
+ </div>
+ <div class="stat">
+ <div class="stat-icon">🏷️</div>
+ <div class="stat-value">{{ latestRelease || 'v1.0' }}</div>
+ <div class="stat-label">Latest release</div>
+ </div>
+ </div>
+
+ <div class="actions">
+ <a :href="`https://github.com/${owner}/${repo}`" target="_blank" class="btn primary">
+ <svg width="16" height="16" viewBox="0 0 24 24">
+ <polygon style="fill: white" points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>
+ </svg>
+ Star on GitHub
+ </a>
+ <NuxtLink :prefetch="false" to="/dashboard" class="btn secondary">Try the app</NuxtLink>
+ <a :href="`https://github.com/${owner}/${repo}/contribute`" target="_blank" class="btn tertiary">Contribute</a>
+ </div>
</div>
</section>
</template>
@@ -32,8 +81,8 @@ const stars = ref<number | null>(null);
const contributors = ref<number | null>(null);
const latestRelease = ref<string>('');
-const starsDisplay = computed(() => (stars.value === null ? '-' : Intl.NumberFormat().format(stars.value)));
-const contributorsDisplay = computed(() => (contributors.value === null ? '-' : String(contributors.value)));
+const starsDisplay = computed(() => (stars.value === null ? 'β€”' : Intl.NumberFormat().format(stars.value)));
+const contributorsDisplay = computed(() => (contributors.value === null ? 'β€”' : String(contributors.value)));
async function fetchRepo() {
try {
@@ -80,67 +129,237 @@ onMounted(() => {
<style scoped lang="scss">
.oss-stats {
- max-width: 1100px;
- margin: 4rem auto;
+ display: grid;
+ grid-template-columns: 1fr 1fr;
+ gap: 4rem;
+ align-items: center;
+ max-width: 1200px;
+ margin: 6rem auto;
padding: 2rem;
- border-radius: 16px;
- text-align: center;
}
-.subtitle {
- margin-top: 4px;
+.stats-visual {
+ position: relative;
+}
+
+.visual-bg {
+ position: absolute;
+ inset: 0;
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+ border-radius: 24px;
+ overflow: hidden;
+}
+
+.code-lines {
+ position: absolute;
+ inset: 0;
+ padding: 2rem;
+ display: flex;
+ flex-direction: column;
+ gap: 12px;
+}
+
+.code-line {
+ height: 12px;
+ width: var(--width);
+ background: var(--border-color);
+ border-radius: 6px;
+ opacity: 0.4;
+}
+
+.github-card {
+ position: relative;
+ padding: 2rem;
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 20px;
+ box-shadow: 0 25px 80px rgba(0, 0, 0, 0.1);
+ margin: 2rem;
+}
+
+.card-header {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ margin-bottom: 1rem;
+ font-weight: 600;
+}
+
+.card-desc {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ margin-bottom: 1.5rem;
+ line-height: 1.6;
+}
+
+.card-stats {
+ display: flex;
+ gap: 1.5rem;
+}
+
+.mini-stat {
+ display: flex;
+ align-items: center;
+ gap: 6px;
+ font-size: 14px;
+ color: var(--font-color-light);
+
+ svg {
+ color: var(--primary);
+ }
+}
+
+// Content Side
+.stats-content {
+ .section-tag {
+ display: inline-block;
+ padding: 6px 14px;
+ background: linear-gradient(135deg, #8b5cf6, #6366f1);
+ color: white;
+ font-size: 12px;
+ font-weight: 600;
+ text-transform: uppercase;
+ letter-spacing: 1px;
+ border-radius: 100px;
+ margin-bottom: 1rem;
+ }
+
+ h2 {
+ font-size: clamp(2rem, 4vw, 2.5rem);
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ margin-bottom: 1rem;
+ }
+
+ .subtitle {
+ font-size: 1.1rem;
+ color: var(--font-color-light);
+ line-height: 1.7;
+ margin-bottom: 2rem;
+ }
}
.stats-grid {
display: grid;
- max-width: 760px;
- margin: 1.5rem auto 0.75rem;
+ grid-template-columns: repeat(3, 1fr);
gap: 1rem;
- grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
+ margin-bottom: 2rem;
}
.stat {
- padding: 16px;
+ padding: 1.25rem;
+ background: var(--bg-contrast);
border: 1px solid var(--border-color);
- border-radius: 14px;
+ border-radius: 16px;
+ text-align: center;
+ transition: all 0.3s ease;
+
+ &:hover {
+ transform: translateY(-4px);
+ border-color: var(--primary);
+ }
}
-.value {
- font-size: 28px;
- font-weight: 700;
+.stat-icon {
+ font-size: 24px;
+ margin-bottom: 0.5rem;
}
-.label {
+.stat-value {
+ font-size: 1.75rem;
+ font-weight: 800;
+ background: linear-gradient(135deg, var(--primary), #8b5cf6);
+ background-clip: text;
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+.stat-label {
font-size: 13px;
+ color: var(--font-color-light);
+ margin-top: 4px;
}
.actions {
display: flex;
flex-wrap: wrap;
gap: 10px;
- justify-content: center;
- margin-top: 10px;
}
.btn {
- padding: 10px 16px;
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 12px 20px;
border: 1px solid var(--border-color);
- border-radius: 999px;
+ border-radius: 12px;
font-weight: 600;
+ font-size: 14px;
text-decoration: none;
-}
+ transition: all 0.3s ease;
-.btn.github {
- background: var(--bg-color);
+ &.primary {
+ background: var(--primary);
+ border-color: var(--primary);
+ color: white;
+
+ &:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 8px 20px rgba(99, 102, 241, 0.3);
+ }
+ }
+
+ &.secondary {
+ background: var(--bg-color);
+ color: var(--font-color);
+
+ &:hover {
+ border-color: var(--primary);
+ color: var(--primary);
+ }
+ }
+
+ &.tertiary {
+ background: var(--bg-contrast);
+ color: var(--font-color);
+
+ &:hover {
+ border-color: var(--primary);
+ }
+ }
}
-.btn.try {
- border-color: var(--primary);
- color: white;
- background: var(--primary);
+@media screen and (max-width: 968px) {
+ .oss-stats {
+ grid-template-columns: 1fr;
+ gap: 2rem;
+ }
+
+ .stats-visual {
+ order: 1;
+ }
+
+ .stats-content {
+ text-align: center;
+ }
+
+ .actions {
+ justify-content: center;
+ }
}
-.btn.contribute {
- background: var(--bg-contrast);
+@media screen and (max-width: 640px) {
+ .oss-stats {
+ padding: 1rem;
+ }
+
+ .stats-grid {
+ grid-template-columns: 1fr;
+ }
+
+ .github-card {
+ margin: 1rem;
+ padding: 1.5rem;
+ }
}
</style>
diff --git a/frontend/app/pages/(public)/_components/SelfHostSteps.vue b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
index ce75c54e..27c0b414 100644
--- a/frontend/app/pages/(public)/_components/SelfHostSteps.vue
+++ b/frontend/app/pages/(public)/_components/SelfHostSteps.vue
@@ -1,116 +1,331 @@
<template>
<section class="self-host">
- <h2>Self-host in minutes</h2>
- <div class="steps">
- <div class="step">
- <div class="step-index">1</div>
- <h3>Docker</h3>
- <div class="code-wrap">
- <pre class="code">docker compose up</pre>
- <button class="copy" @click="copyDockerCompose">Copy</button>
- <span v-if="copied" class="copied">Copied!</span>
+ <div class="section-header">
+ <h2>Self-host in minutes</h2>
+ <p class="subtitle">Take full control of your data with a simple deployment</p>
+ </div>
+
+ <div class="steps-container">
+ <div class="steps">
+ <div class="step" v-for="(step, index) in steps" :key="index">
+ <div class="step-header">
+ <div class="step-index">{{ index + 1 }}</div>
+ <h3>{{ step.title }}</h3>
+ </div>
+ <div class="step-content">
+ <p v-html="step.description" />
+ <div v-if="step.code" class="code-wrap">
+ <pre class="code">{{ step.code }}</pre>
+ <button class="copy" @click="copyCode(step.code, index)">
+ <svg v-if="copiedIndex !== index" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect>
+ <path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path>
+ </svg>
+ <svg v-else width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <polyline points="20 6 9 17 4 12"></polyline>
+ </svg>
+ </button>
+ </div>
+ </div>
</div>
</div>
- <div class="step">
- <div class="step-index">2</div>
- <h3>Go</h3>
- <p>Nothing to configure ! The app is ready to use.</p>
- </div>
- <div class="step">
- <div class="step-index">3</div>
- <h3>Personalize</h3>
- <p>Set environment variables for storage, auth and CDN integration and deploy to prod</p>
+
+ <div class="visual">
+ <div class="terminal">
+ <div class="terminal-header">
+ <div class="terminal-dots"><span></span><span></span><span></span></div>
+ <span class="terminal-title">Terminal</span>
+ </div>
+ <div class="terminal-body">
+ <div class="terminal-line">
+ <span class="prompt">$</span>
+ <span class="command">docker compose up -d</span>
+ </div>
+ <div class="terminal-line output">
+ <span>[+] Running 3/3</span>
+ </div>
+ <div class="terminal-line output success">
+ <span>βœ“ Container alexandrie-db Started</span>
+ </div>
+ <div class="terminal-line output success">
+ <span>βœ“ Container alexandrie-minio Started</span>
+ </div>
+ <div class="terminal-line output success">
+ <span>βœ“ Container alexandrie-app Started</span>
+ </div>
+ <div class="terminal-line">
+ <span class="prompt">$</span>
+ <span class="cursor"></span>
+ </div>
+ </div>
+ </div>
</div>
</div>
+
<div class="notes">
- <span class="pill"
- ><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>No telemetry</span
- >
- <span class="pill"
- ><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>Keep full control of your data</span
- >
- <span class="pill"
- ><svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>MIT License</span
- >
+ <span class="pill">
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
+ No telemetry
+ </span>
+ <span class="pill">
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
+ Full data ownership
+ </span>
+ <span class="pill">
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
+ MIT License
+ </span>
+ <span class="pill">
+ <svg viewBox="0 0 24 24" aria-hidden="true"><path d="M9 16.2l-3.5-3.5-1.4 1.4L9 19 20 8l-1.4-1.4z" /></svg>
+ Docker ready
+ </span>
</div>
</section>
</template>
<script setup lang="ts">
-const copied = ref(false);
-function copyDockerCompose() {
- navigator.clipboard?.writeText('docker compose up');
- copied.value = true;
- setTimeout(() => (copied.value = false), 2000);
+const steps = [
+ {
+ title: 'Clone the repo',
+ description:
+ 'Get the source code from GitHub <br /> <a target="_blank" style="color: var(--primary);text-decoration: underline;font-weight: 500;" href="https://github.com/Smaug6739/Alexandrie/blob/main/docker-compose.yml">Download the docker-compose.yml file</a>',
+ //code: 'git clone https://github.com/Smaug6739/Alexandrie.git',
+ },
+ {
+ title: 'Configure',
+ description: 'Change environment variables as needed (optional)',
+ code: '# Edit the .env file\nnano .env',
+ },
+ {
+ title: 'Launch',
+ description: 'Start all services with Docker Compose',
+ code: 'docker compose up -d',
+ },
+];
+
+const copiedIndex = ref<number | null>(null);
+
+function copyCode(code: string, index: number) {
+ navigator.clipboard?.writeText(code);
+ copiedIndex.value = index;
+ setTimeout(() => (copiedIndex.value = null), 2000);
}
</script>
<style scoped lang="scss">
.self-host {
- max-width: 1100px;
+ max-width: 1200px;
margin: 4rem auto;
+ padding: 2rem;
+}
+
+.section-header {
text-align: center;
+ margin-bottom: 3rem;
}
-.steps {
+h2 {
+ font-size: clamp(2rem, 4vw, 2.5rem);
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ margin-bottom: 0.5rem;
+}
+
+.subtitle {
+ font-size: 1.125rem;
+ color: var(--font-color-light);
+}
+
+.steps-container {
display: grid;
- gap: 16px;
- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
- margin-top: 16px;
+ grid-template-columns: 1fr 1.2fr;
+ gap: 3rem;
+ align-items: center;
+ margin-bottom: 2rem;
+}
+
+.steps {
+ display: flex;
+ flex-direction: column;
+ gap: 0.5rem;
}
.step {
- padding: 16px;
+ position: relative;
+ padding: 1.5rem;
+ background: var(--bg-color);
border: 1px solid var(--border-color);
- border-radius: 12px;
- text-align: left;
- background: var(--bg-contrast);
+ border-radius: 16px;
+ transition: all 0.3s ease;
+
+ &:hover {
+ border-color: var(--primary);
+ transform: translateX(4px);
+ }
+}
+
+.step-header {
+ display: flex;
+ align-items: center;
+ gap: 12px;
+ margin-bottom: 0.75rem;
}
.step-index {
- display: inline-flex;
- width: 28px;
- height: 28px;
- border-radius: 999px;
+ display: flex;
+ width: 32px;
+ height: 32px;
+ border-radius: 10px;
font-weight: 700;
+ font-size: 14px;
color: white;
background: var(--primary);
align-items: center;
justify-content: center;
- margin-bottom: 8px;
+}
+
+.step-header h3 {
+ font-size: 1rem;
+ font-weight: 600;
+ margin: 0;
+}
+
+.step-content p {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ margin-bottom: 0.75rem;
}
.code-wrap {
display: flex;
align-items: center;
+ gap: 8px;
}
.code {
- padding: 12px 14px;
+ flex: 1;
+ padding: 10px 14px;
border: 1px solid var(--border-color);
border-radius: 10px;
- font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
- font-size: 14px;
- background: var(--bg-color);
- flex: 1;
+ font-family: $monospace-font;
+ font-size: 13px;
+ background: var(--bg-contrast);
overflow: auto;
+ white-space: nowrap;
}
.copy {
- padding: 8px 10px;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 36px;
+ height: 36px;
+ padding: 0;
border: 1px solid var(--border-color);
- border-radius: 8px;
- font-weight: 600;
- background: var(--bg-contrast);
+ border-radius: 10px;
+ background: var(--bg-color);
+ color: var(--font-color-light);
cursor: pointer;
- margin-left: 8px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ border-color: var(--primary);
+ color: var(--primary);
+ }
}
-.copied {
- font-size: 14px;
- font-weight: 600;
- color: var(--green);
- margin-left: 12px;
+// Terminal Visual
+.visual {
+ display: flex;
+ justify-content: center;
+}
+
+.terminal {
+ width: 100%;
+ max-width: 500px;
+ background: #1e1e2e;
+ border-radius: 16px;
+ overflow: hidden;
+ box-shadow: 0 25px 80px rgba(0, 0, 0, 0.2);
+}
+
+.terminal-header {
+ display: flex;
+ align-items: center;
+ gap: 1rem;
+ padding: 12px 16px;
+ background: #181825;
+ border-bottom: 1px solid #313244;
+}
+
+.terminal-dots {
+ display: flex;
+ gap: 6px;
+
+ span {
+ width: 12px;
+ height: 12px;
+ border-radius: 50%;
+
+ &:nth-child(1) {
+ background: #f38ba8;
+ }
+ &:nth-child(2) {
+ background: #f9e2af;
+ }
+ &:nth-child(3) {
+ background: #a6e3a1;
+ }
+ }
+}
+
+.terminal-title {
+ font-size: 12px;
+ color: #6c7086;
+}
+
+.terminal-body {
+ padding: 1rem;
+ font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
+ font-size: 13px;
+ line-height: 1.8;
+}
+
+.terminal-line {
+ display: flex;
+ gap: 8px;
+ color: #cdd6f4;
+
+ &.output {
+ color: #6c7086;
+ padding-left: 18px;
+ }
+
+ &.success {
+ color: #a6e3a1;
+ }
+}
+
+.prompt {
+ color: #a6e3a1;
+}
+
+.command {
+ color: #89b4fa;
+}
+
+.cursor {
+ display: inline-block;
+ width: 8px;
+ height: 16px;
+ background: #cdd6f4;
+ animation: blink 1s step-end infinite;
+}
+
+@keyframes blink {
+ 50% {
+ opacity: 0;
+ }
}
.notes {
@@ -118,23 +333,53 @@ function copyDockerCompose() {
flex-wrap: wrap;
gap: 10px;
justify-content: center;
- margin-top: 14px;
}
.pill {
display: inline-flex;
- padding: 6px 10px;
+ padding: 8px 14px;
border: 1px solid var(--border-color);
border-radius: 999px;
font-weight: 500;
+ font-size: 13px;
background: var(--bg-color);
align-items: center;
gap: 8px;
+ transition: all 0.2s ease;
+
+ &:hover {
+ border-color: var(--primary);
+ }
}
.pill svg {
width: 16px;
height: 16px;
- fill: var(--primary);
+ fill: var(--green);
+}
+
+@media screen and (max-width: 968px) {
+ .steps-container {
+ grid-template-columns: 1fr;
+ }
+
+ .visual {
+ order: -1;
+ }
+}
+
+@media screen and (max-width: 640px) {
+ .self-host {
+ padding: 1rem;
+ }
+
+ .notes {
+ gap: 8px;
+ }
+
+ .pill {
+ padding: 6px 12px;
+ font-size: 12px;
+ }
}
</style>
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
index 1fee4998..fd382971 100644
--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue
@@ -1,39 +1,116 @@
<template>
<section class="faq">
- <h2>Frequently asked questions</h2>
- <div class="faq-list">
- <app-accordion v-for="(f, i) in faqs" :key="i" :summary="f.q" :open="openIndex === i" @update:model-value="val => (openIndex = val ? i : null)">
- <p>{{ f.a }}</p>
- </app-accordion>
+ <div class="section-header">
+ <h2>Frequently asked questions</h2>
+ <p class="subtitle">Everything you need to know about Alexandrie</p>
+ </div>
+
+ <div class="faq-container">
+ <div class="faq-list">
+ <div v-for="(f, i) in faqs" :key="i" class="faq-item" :class="{ open: openIndex === i }">
+ <button class="faq-question" @click="toggleFaq(i)">
+ <span class="question-text">{{ f.q }}</span>
+ <span class="question-icon">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
+ <path d="M12 5v14M5 12h14" v-if="openIndex !== i" />
+ <path d="M5 12h14" v-else />
+ </svg>
+ </span>
+ </button>
+ <div class="faq-answer" :style="{ maxHeight: openIndex === i ? '200px' : '0' }">
+ <p>{{ f.a }}</p>
+ </div>
+ </div>
+ </div>
+
+ <div class="faq-cta">
+ <div class="cta-content">
+ <div class="cta-icon">πŸ’¬</div>
+ <h3>Still have questions?</h3>
+ <p>Can't find what you're looking for? Join our community!</p>
+ <a href="https://discord.gg/UPsEg6egPj" target="_blank" class="cta-btn">
+ <svg width="20" height="20" viewBox="0 0 24 24" fill="currentColor">
+ <path
+ d="M20.317 4.37a19.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-.028 14.09 14.09 0 0 0 1.226-1.994.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.085-2.157-2.419 0-1.333.956-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.956 2.418-2.157 2.418zm7.975 0c-1.183 0-2.157-1.085-2.157-2.419 0-1.333.955-2.419 2.157-2.419 1.21 0 2.176 1.096 2.157 2.42 0 1.333-.946 2.418-2.157 2.418z"
+ />
+ </svg>
+ Join Discord
+ </a>
+ </div>
+ </div>
</div>
</section>
</template>
<script setup lang="ts">
-const openIndex = ref<number | null>(null);
+const openIndex = ref<number | null>(0);
+
+function toggleFaq(index: number) {
+ openIndex.value = openIndex.value === index ? null : index;
+}
const faqs = [
- { q: 'Is it open-source?', a: 'Yes, Alexandrie is 100% open-source and MIT licensed.' },
- { q: 'Can I self-host?', a: 'Yes, you can run it locally or on a server. You can easily set it up using Docker or manually.' },
- { q: 'Does it work offline?', a: 'Absolutely. Alexandrie is local-first with offline persistence.' },
- { q: 'How is data stored?', a: 'Your data is stored in your own database when self-hosting; media files are served through the built-in CDN integration.' },
- { q: 'Can I import/export notes?', a: 'Yes. You can import Markdown and export to PDF with beautiful formatting.' },
- { q: 'Does it support math and code?', a: 'Yes. Math (LaTeX) and code blocks with syntax highlighting are supported.' },
- { q: 'What about keyboard shortcuts?', a: 'Alexandrie is keyboard-first. Most actions are available via shortcuts.' },
+ {
+ q: 'Is Alexandrie really free and open-source?',
+ a: 'Yes, Alexandrie is 100% open-source under the MIT license. You can use it, modify it, and distribute it freely. No hidden costs, no premium tiers.',
+ },
+ {
+ q: 'Can I self-host Alexandrie on my own server?',
+ a: 'Absolutely! You can run Alexandrie on your own infrastructure using Docker. Full documentation is available to help you get started in minutes.',
+ },
+ {
+ q: 'Does Alexandrie work offline?',
+ a: 'Yes, Alexandrie is designed with offline-first principles. Your notes are available locally and sync when you reconnect.',
+ },
+ {
+ q: 'How is my data stored and secured?',
+ a: 'When self-hosting, your data stays on your own server. We use industry-standard security practices, and all data transmission is encrypted.',
+ },
+ {
+ q: 'Can I import my notes from other apps?',
+ a: 'Yes! You can import Markdown files from other apps like Notion, Obsidian, or any Markdown editor. Export to PDF with beautiful formatting is also supported.',
+ },
+ {
+ q: 'Does it support code blocks and math equations?',
+ a: 'Definitely! We support syntax highlighting for 100+ programming languages and LaTeX math equations rendering.',
+ },
+ {
+ q: 'Is there a mobile app available?',
+ a: 'Alexandrie is a responsive web application that works great on mobile browsers. Native apps are on our roadmap.',
+ },
];
</script>
<style scoped lang="scss">
.faq {
- padding: 3rem 2rem 0 2rem;
- max-width: 900px;
- margin: 0 auto;
+ max-width: 1200px;
+ margin: 6rem auto;
+ padding: 2rem;
+}
+
+.section-header {
text-align: center;
+ margin-bottom: 3rem;
+}
- h2 {
- font-size: 2rem;
- border: none;
- }
+h2 {
+ font-size: clamp(2rem, 4vw, 2.5rem);
+ font-weight: 800;
+ letter-spacing: -0.02em;
+ margin-bottom: 0.5rem;
+ border: none;
+}
+
+.subtitle {
+ font-size: 1.1rem;
+ color: var(--font-color-light);
+}
+
+.faq-container {
+ display: grid;
+ grid-template-columns: 1.5fr 1fr;
+ gap: 3rem;
+ align-items: start;
}
.faq-list {
@@ -41,4 +118,144 @@ const faqs = [
flex-direction: column;
gap: 0.75rem;
}
+
+.faq-item {
+ background: var(--bg-color);
+ border: 1px solid var(--border-color);
+ border-radius: 16px;
+ overflow: hidden;
+ transition: all 0.3s ease;
+
+ &:hover {
+ border-color: var(--primary);
+ }
+
+ &.open {
+ border-color: var(--primary);
+ box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
+ }
+}
+
+.faq-question {
+ width: 100%;
+ display: flex;
+ align-items: center;
+ justify-content: space-between;
+ gap: 1rem;
+ padding: 1.25rem 1.5rem;
+ background: none;
+ border: none;
+ cursor: pointer;
+ text-align: left;
+ font-size: 1rem;
+ font-weight: 600;
+ color: var(--font-color);
+ transition: all 0.2s ease;
+}
+
+.question-icon {
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ width: 28px;
+ height: 28px;
+ background: var(--bg-contrast);
+ border-radius: 8px;
+ color: var(--primary);
+ flex-shrink: 0;
+ transition: all 0.3s ease;
+
+ .open & {
+ background: var(--primary);
+ color: white;
+ }
+}
+
+.faq-answer {
+ max-height: 0;
+ overflow: hidden;
+ transition: max-height 0.3s ease;
+
+ p {
+ padding: 0 1.5rem 1.25rem;
+ color: var(--font-color-light);
+ line-height: 1.7;
+ font-size: 0.95rem;
+ }
+}
+
+// CTA Card
+.faq-cta {
+ position: sticky;
+ top: 100px;
+}
+
+.cta-content {
+ padding: 2.5rem 2rem;
+ background: linear-gradient(135deg, var(--bg-contrast), var(--bg-color));
+ border: 1px solid var(--border-color);
+ border-radius: 24px;
+ text-align: center;
+}
+
+.cta-icon {
+ font-size: 3rem;
+ margin-bottom: 1rem;
+}
+
+.cta-content h3 {
+ font-size: 1.25rem;
+ font-weight: 700;
+ margin-bottom: 0.5rem;
+}
+
+.cta-content p {
+ font-size: 0.9rem;
+ color: var(--font-color-light);
+ margin-bottom: 1.5rem;
+}
+
+.cta-btn {
+ display: inline-flex;
+ align-items: center;
+ gap: 8px;
+ padding: 12px 24px;
+ background: #5865f2;
+ color: white;
+ font-weight: 600;
+ font-size: 14px;
+ border-radius: 12px;
+ text-decoration: none;
+ transition: all 0.3s ease;
+
+ &:hover {
+ transform: translateY(-2px);
+ box-shadow: 0 8px 20px rgba(88, 101, 242, 0.3);
+ }
+}
+
+@media screen and (max-width: 968px) {
+ .faq-container {
+ grid-template-columns: 1fr;
+ }
+
+ .faq-cta {
+ position: static;
+ }
+}
+
+@media screen and (max-width: 640px) {
+ .faq {
+ padding: 1rem;
+ }
+
+ .faq-question {
+ padding: 1rem;
+ font-size: 0.9rem;
+ }
+
+ .faq-answer p {
+ padding: 0 1rem 1rem;
+ }
+}
</style>
diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vue
index b62d3cce..d8bddc38 100644
--- a/frontend/app/pages/(public)/index.vue
+++ b/frontend/app/pages/(public)/index.vue
@@ -26,18 +26,13 @@
<img src="/screenshots/mock/0.png" class="hero-image" alt="App preview" />
</section>
+ <BentoFeatures class="reveal" />
+ <FeaturesShowcase class="reveal" />
<SelfHostSteps class="reveal" />
-
<OpenSourceStats class="reveal" />
<ContributorsMarquee class="reveal" />
- <OSSPrinciples class="reveal" />
-
- <FeaturesTimeline />
-
<FeaturesFAQ class="reveal" />
-
<SponsorWall class="reveal" />
-
<AppCTA class="reveal" />
<AppFooter />
@@ -46,12 +41,12 @@
<script setup lang="ts">
import AppFooter from './_components/AppFooter.vue';
-import FeaturesTimeline from './_components/features/FeaturesTimeline.vue';
+import BentoFeatures from './_components/BentoFeatures.vue';
+import FeaturesShowcase from './_components/FeaturesShowcase.vue';
import OpenSourceStats from './_components/OpenSourceStats.vue';
import SelfHostSteps from './_components/SelfHostSteps.vue';
import ContributorsMarquee from './_components/ContributorsMarquee.vue';
import SponsorWall from './_components/SponsorWall.vue';
-import OSSPrinciples from './_components/OSSPrinciples.vue';
import FeaturesFAQ from './_components/features/FeaturesFAQ.vue';
import AppCTA from './_components/AppCTA.vue';
diff --git a/frontend/app/pages/(public)/login/index.vue b/frontend/app/pages/(public)/login/index.vue
index 453f8e48..e63cae12 100644
--- a/frontend/app/pages/(public)/login/index.vue
+++ b/frontend/app/pages/(public)/login/index.vue
@@ -70,9 +70,8 @@ async function connect(username: string, password: string) {
</script>
<style scoped lang="scss">
.container {
- display: flex;
width: 95%;
- height: 100%;
+ display: flex;
margin: 0 auto;
flex-direction: column;
justify-content: space-between;
diff --git a/frontend/public/app-icons/star.svg b/frontend/public/app-icons/star.svg
new file mode 100644
index 00000000..673465a6
--- /dev/null
+++ b/frontend/public/app-icons/star.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m354-287 126-76 126 77-33-144 111-96-146-13-58-136-58 135-146 13 111 97-33 143ZM233-120l65-281L80-590l288-25 112-265 112 265 288 25-218 189 65 281-247-149-247 149Zm247-350Z"/></svg>
\ No newline at end of file