π The open-source, offline-first Notion, Obsidian & Confluence alternative. Advanced Markdown, multi-tenant teams, OIDC/SSO, and local S3 backups. Deploy in one command.
Vue dockergolangkanbanknowledge-baseknowledge-managementmarkdownnote-takingnotesnotes-appnotionnuxtnuxtjsoffline-firstoidcpwaselfhostedssovuevuejswiki
Improve landing page
Smaug67398530a918a244
diff --git a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vueindex cc97b7a6..0751a6cf 100644--- a/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue+++ b/frontend/app/pages/(public)/_components/features/FeaturesFAQ.vue@@ -1,7 +1,6 @@<template><section class="faq">- <h2 class="title">Frequently asked questions</h2>- <p class="subtitle">Everything you need to know about using Alexandrie.</p>+ <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:modelValue="val => (openIndex = val ? i : null)"><p>{{ f.a }}</p>@@ -16,27 +15,24 @@ const openIndex = ref<number | null>(null);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 VPS via Docker Compose.' },- { q: 'Will collaboration be added?', a: 'Yes, real-time collaboration is planned for future versions.' },{ 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.' },];</script><style scoped lang="scss">.faq {- padding: 3rem 2rem;+ padding: 3rem 2rem 0 2rem;max-width: 900px;margin: 0 auto;text-align: center;- .title {+ h2 {font-size: 2rem;- margin: 0 0 0.25rem;- color: var(--font-color-dark, #0f172a);- }-- .subtitle {- color: var(--font-color-light, #64748b);- margin: 0 0 1.25rem;+ border: none;}}@@ -45,6 +41,4 @@ const faqs = [flex-direction: column;gap: 0.75rem;}--/* Styles for old inline accordion removed in favor of <app-accordion> */</style>diff --git a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vueindex 1a5c36a9..b56652af 100644--- a/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue+++ b/frontend/app/pages/(public)/_components/features/FeaturesTimeline.vue@@ -4,7 +4,7 @@<p class="section-subtitle">Discover how Alexandrie empowers you at every stage β from note-taking to publishing.</p><div class="timeline">- <div v-for="(step, index) in steps" :key="index" class="timeline-item" :class="{ 'is-right': index % 2 === 1 }" ref="items">+ <div v-for="(step, index) in steps" :key="index" ref="items" class="timeline-item" :class="{ 'is-right': index % 2 === 1 }"><div class="timeline-content"><div class="text"><h3>{{ step.title }}</h3>@@ -220,7 +220,7 @@ section {.lightbox-content {position: relative;- max-width: 90%;+ max-width: 60%;max-height: 85%;border-radius: 12px;overflow: hidden;@@ -228,7 +228,7 @@ section {img {width: 100%;- max-width: 90%;+ max-width: 100%;max-height: none;height: auto;margin: auto;diff --git a/frontend/app/pages/(public)/features.vue b/frontend/app/pages/(public)/features.vuedeleted file mode 100644index 75f0bbcb..00000000--- a/frontend/app/pages/(public)/features.vue+++ /dev/null@@ -1,24 +0,0 @@-<template>- <div>- <main class="features-page">- <FeaturesTimeline class="reveal" />- <FeaturesFAQ class="reveal" />-- <AppCTA class="reveal" />- </main>- </div>-</template>--<script setup lang="ts">-import FeaturesTimeline from './_components/features/FeaturesTimeline.vue';-import FeaturesFAQ from './_components/features/FeaturesFAQ.vue';-import AppCTA from './_components/AppCTA.vue';-</script>--<style scoped lang="scss">-.features-page {- overflow-x: hidden;- padding: 0 2rem;- margin-top: 1em;-}-</style>diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vueindex 876e67ce..b62d3cce 100644--- a/frontend/app/pages/(public)/index.vue+++ b/frontend/app/pages/(public)/index.vue@@ -1,6 +1,7 @@<template>- <main class="landing">+ <main><!-- Hero -->+<section ref="heroEl" class="hero"><div class="hero-bg"><span class="orb orb-1" />@@ -25,23 +26,16 @@<img src="/screenshots/mock/0.png" class="hero-image" alt="App preview" /></section>- <!-- Features -->- <section class="features reveal">- <h2>Why Alexandrie?</h2>- <div class="features-grid">- <FeatureCard icon="performances" title="Lightning Fast" text="Optimized for performance and minimal load times." />- <FeatureCard icon="layers" title="Organized Workspaces" text="Keep projects neat with nested categories." />- <FeatureCard icon="markdown" title="Rich Markdown" text="Advanced syntax, LaTeX, custom blocks, and more." />- <FeatureCard icon="import" title="Export & Share" text="PDF export with perfect formatting." />- <FeatureCard icon="shortcuts" title="Keyboard Shortcuts" text="Do everything without touching the mouse." />- </div>- </section>-<SelfHostSteps class="reveal" /><OpenSourceStats class="reveal" /><ContributorsMarquee class="reveal" /><OSSPrinciples class="reveal" />++ <FeaturesTimeline />++ <FeaturesFAQ class="reveal" />+<SponsorWall class="reveal" /><AppCTA class="reveal" />@@ -52,12 +46,13 @@<script setup lang="ts">import AppFooter from './_components/AppFooter.vue';-import FeatureCard from './_components/FeatureCard.vue';+import FeaturesTimeline from './_components/features/FeaturesTimeline.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';const heroEl = ref<HTMLElement | null>(null);@@ -92,10 +87,10 @@ onMounted(() => {</script><style scoped lang="scss">-.landing {+main {padding: 0 2rem;- font-family: var(--font-main);margin-top: 1em;+ overflow-x: hidden;}.hero {@@ -144,6 +139,7 @@ onMounted(() => {.cta-buttons {display: flex;+ align-items: center;gap: 1rem;margin-top: 1.5rem;}@@ -178,28 +174,6 @@ onMounted(() => {box-shadow: 0 14px 36px rgb(0 0 0 / 24%), 0 0 30px rgb(255 255 255 / 35%);}-.features {- text-align: center;- margin-bottom: 4rem;-}--.features-grid {- display: grid;- gap: 2rem;- grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));- margin-top: 2rem;-}--.features-grid > * {- transition: transform 0.25s ease, box-shadow 0.25s ease;- transform: translateZ(0);-}--.features-grid > *:hover {- box-shadow: 0 10px 30px rgb(0 0 0 / 15%);- transform: translateY(-4px);-}-.hero-bg {position: absolute;inset: 0;@@ -261,7 +235,7 @@ onMounted(() => {}@media screen and (width <= 768px) {- .landing {+ main {padding: 0 1rem;}@@ -276,9 +250,5 @@ onMounted(() => {max-width: 500px;margin-top: 2rem;}-- .features-grid {- grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));- }}</style>