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 landing page :tada:

Smaug6739cb0fde6200af
diff --git a/frontend/app/components/IconApp.vue b/frontend/app/components/IconApp.vue
index 173734d2..2d428219 100644
--- a/frontend/app/components/IconApp.vue
+++ b/frontend/app/components/IconApp.vue
@@ -1,8 +1,12 @@
<template>
- <svg xmlns="http://www.w3.org/2000/svg" width="50" viewBox="0 0 164.000000 160.000000" preserveAspectRatio="xMidYMid meet">
- <g transform="translate(0.000000,160.000000) scale(0.100000,-0.100000)" fill="var(--font-color)" stroke="none">
- <path d="M688 1190 c-21 -16 -243 -392 -313 -529 -35 -70 15 -151 94 -151 39 0 87 30 236 146 124 97 256 135 352 101 24 -8 41 -12 39 -8 -72 136 -246 427 -264 441 -34 27 -110 27 -144 0z"/>
- <path d="M921 729 c-24 -4 -64 -18 -89 -30 -36 -18 -42 -24 -31 -33 8 -6 51 -38 94 -72 44 -33 90 -66 102 -72 86 -46 189 41 152 129 -23 57 -138 96 -228 78z"/>
+ <svg xmlns="http://www.w3.org/2000/svg" width="50" viewBox="0 0 164.000000 160.000000" preserveAspectRatio="xMidYMid meet">
+ <g transform="translate(0.000000,160.000000) scale(0.100000,-0.100000)" :fill="fill || 'var(--font-color)'" stroke="none">
+ <path d="M688 1190 c-21 -16 -243 -392 -313 -529 -35 -70 15 -151 94 -151 39 0 87 30 236 146 124 97 256 135 352 101 24 -8 41 -12 39 -8 -72 136 -246 427 -264 441 -34 27 -110 27 -144 0z" />
+ <path d="M921 729 c-24 -4 -64 -18 -89 -30 -36 -18 -42 -24 -31 -33 8 -6 51 -38 94 -72 44 -33 90 -66 102 -72 86 -46 189 41 152 129 -23 57 -138 96 -228 78z" />
</g>
</svg>
</template>
+
+<script setup lang="ts">
+defineProps<{ fill?: string }>();
+</script>
diff --git a/frontend/app/helpers/icons.ts b/frontend/app/helpers/icons.ts
index 18592bc7..3627fece 100644
--- a/frontend/app/helpers/icons.ts
+++ b/frontend/app/helpers/icons.ts
@@ -16,6 +16,7 @@ const icons = {
edit: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="var(--font-color)"><path d="M200-200h57l391-391-57-57-391 391v57Zm-80 80v-170l528-527q12-11 26.5-17t30.5-6q16 0 31 6t26 18l55 56q12 11 17.5 26t5.5 30q0 16-5.5 30.5T817-647L290-120H120Zm640-584-56-56 56 56Zm-141 85-28-29 57 57-29-28Z"/></svg>`,
edit_page: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M180-120q-24 0-42-18t-18-42v-600q0-24 18-42t42-18h405l-60 60H180v600h600v-348l60-60v408q0 24-18 42t-42 18H180Zm300-360ZM360-360v-170l382-382q9-9 20-13t22-4q11 0 22.317 4.5T827-911l83 84q8.609 8.958 13.304 19.782Q928-796.394 928-785.197q0 11.197-4.5 22.697T910-742L530-360H360Zm508-425-84-84 84 84ZM420-420h85l253-253-43-42-43-42-252 251v86Zm295-295-43-42 43 42 43 42-43-42Z"/></svg>`,
expand: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-80 240-320l57-57 183 183 183-183 57 57L480-80ZM298-584l-58-56 240-240 240 240-58 56-182-182-182 182Z"/></svg>`,
+ layers: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M480-118 120-398l66-50 294 228 294-228 66 50-360 280Zm0-202L120-600l360-280 360 280-360 280Zm0-280Zm0 178 230-178-230-178-230 178 230 178Z"/></svg>`,
file: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path style="fill:var(--red);" d="M200-200h360v-200h200v-360H200v560Zm0 80q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v400L600-120H200Zm80-280v-80h200v80H280Zm0-160v-80h400v80H280Zm-80 360v-560 560Z"/></svg>`,
file_shortcut: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960" fill="var(--primary)"><path d="M400-280h160v-80H400v80Zm0-160h280v-80H400v80ZM280-600h400v-80H280v80Zm200 120ZM265-80q-79 0-134.5-55.5T75-270q0-57 29.5-102t77.5-68H80v-80h240v240h-80v-97q-37 8-61 38t-24 69q0 46 32.5 78t77.5 32v80Zm135-40v-80h360v-560H200v160h-80v-160q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H400Z"/></svg>`,
file_open: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M240-80q-33 0-56.5-23.5T160-160v-640q0-33 23.5-56.5T240-880h287q16 0 30.5 6t25.5 17l194 194q11 11 17 25.5t6 30.5v167q0 17-11.5 28.5T760-400q-17 0-28.5-11.5T720-440v-160H560q-17 0-28.5-11.5T520-640v-160H240v640h320q17 0 28.5 11.5T600-120q0 17-11.5 28.5T560-80H240Zm520-103v49q0 17-11.5 28.5T720-94q-17 0-28.5-11.5T680-134v-146q0-17 11.5-28.5T720-320h146q17 0 28.5 11.5T906-280q0 17-11.5 28.5T866-240h-50l90 90q11 11 11 27.5T906-94q-12 12-28.5 12T849-94l-89-89Zm-520 23v-640 640Z"/></svg>`,
@@ -31,6 +32,7 @@ const icons = {
markdown: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m640-360 120-120-42-43-48 48v-125h-60v125l-48-48-42 43 120 120ZM160-160q-33 0-56.5-23.5T80-240v-480q0-33 23.5-56.5T160-800h640q33 0 56.5 23.5T880-720v480q0 33-23.5 56.5T800-160H160Zm0-80h640v-480H160v480Zm0 0v-480 480Zm60-120h60v-180h40v120h60v-120h40v180h60v-200q0-17-11.5-28.5T440-600H260q-17 0-28.5 11.5T220-560v200Z"/></svg>`,
new_tab: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h280v80H200v560h560v-280h80v280q0 33-23.5 56.5T760-120H200Zm188-212-56-56 372-372H560v-80h280v280h-80v-144L388-332Z"/></svg>`,
pdf: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path style="fill:var(--green);" d="M280-280h280v-80H280v80Zm0-160h400v-80H280v80Zm0-160h400v-80H280v80Zm-80 480q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm0-560v560-560Z"/></svg>`,
+ performances: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M120-120v-80l80-80v160h-80Zm160 0v-240l80-80v320h-80Zm160 0v-320l80 81v239h-80Zm160 0v-239l80-80v319h-80Zm160 0v-400l80-80v480h-80ZM120-327v-113l280-280 160 160 280-280v113L560-447 400-607 120-327Z"/></svg>`,
pin: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="m640-480 80 80v80H520v240l-40 40-40-40v-240H240v-80l80-80v-280h-40v-80h400v80h-40v280Zm-286 80h252l-46-46v-314H400v314l-46 46Zm126 0Z"/></svg>`,
pin_off: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M680-840v80h-40v327l-80-80v-247H400v87l-87-87-33-33v-47h400ZM480-40l-40-40v-240H240v-80l80-80v-46L56-792l56-56 736 736-58 56-264-264h-6v240l-40 40ZM354-400h92l-44-44-2-2-46 46Zm126-193Zm-78 149Z"/></svg>`,
plus: `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 -960 960 960"><path d="M440-440H200v-80h240v-240h80v240h240v80H520v240h-80v-240Z"/></svg>`,
diff --git a/frontend/app/pages/(public)/_components/AppFooter.vue b/frontend/app/pages/(public)/_components/AppFooter.vue
index 77f5ebcc..29c85ab5 100644
--- a/frontend/app/pages/(public)/_components/AppFooter.vue
+++ b/frontend/app/pages/(public)/_components/AppFooter.vue
@@ -1,7 +1,7 @@
<template>
<footer>
<div style="display: flex; align-items: center; column-gap: 0.5rem">
- <img style="width: 50px" :src="`/Alexandrie-${colorMode.value}.svg`" alt="Alexandrie" />
+ <IconApp fill="var(--font-color)" style="width: 90px" />
<NuxtLink to="/" style="font-weight: 600">Alexandrie</NuxtLink>
</div>
<p>Developed and designed by Smaug with ❀️</p>
diff --git a/frontend/app/pages/(public)/_components/FeatureCard.vue b/frontend/app/pages/(public)/_components/FeatureCard.vue
new file mode 100644
index 00000000..4d1bc737
--- /dev/null
+++ b/frontend/app/pages/(public)/_components/FeatureCard.vue
@@ -0,0 +1,70 @@
+<template>
+ <div class="feature-card" data-aos="fade-up">
+ <div class="icon-wrapper">
+ <Icon :class="`icon-${icon}`" class="icon" :name="icon" fill="white" :big="true" />
+ </div>
+ <h3 class="title">{{ title }}</h3>
+ <p class="description">{{ text }}</p>
+ <slot></slot>
+ <!-- permet d'ajouter un lien ou autre contenu -->
+ </div>
+</template>
+
+<script setup lang="ts">
+defineProps<{ icon: string; title: string; text: string }>();
+</script>
+
+<style scoped lang="scss">
+.feature-card {
+ background: var(--bg-color);
+ padding: 2rem 1.8rem;
+ border-radius: 1.2rem;
+ box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
+ transition: all 0.3s ease;
+ text-align: center;
+ position: relative;
+ overflow: hidden;
+
+ &:hover {
+ transform: translateY(-8px);
+ box-shadow: 0 14px 40px rgba(0, 0, 0, 0.12);
+
+ .icon-wrapper {
+ transform: scale(1.05) rotate(3deg);
+ }
+ }
+}
+
+.icon-wrapper {
+ background: linear-gradient(135deg, var(--primary), #6c63ff);
+ width: 70px;
+ height: 70px;
+ border-radius: 50%;
+ display: flex;
+ align-items: center;
+ justify-content: center;
+ margin: 0 auto 1rem auto;
+ transition: transform 0.3s ease, box-shadow 0.3s ease;
+ box-shadow: 0 6px 20px rgba(108, 99, 255, 0.3);
+}
+
+.icon {
+ font-size: 1.8rem;
+ color: white;
+}
+
+.title {
+ font-size: 1.25rem;
+ font-weight: 700;
+ margin-bottom: 0.6rem;
+ background: linear-gradient(90deg, var(--primary), #6c63ff);
+ -webkit-background-clip: text;
+ -webkit-text-fill-color: transparent;
+}
+
+.description {
+ font-size: 0.96rem;
+ color: var(--font-color-light);
+ line-height: 1.5;
+}
+</style>
diff --git a/frontend/app/pages/(public)/_components/TestimonialCard.vue b/frontend/app/pages/(public)/_components/TestimonialCard.vue
new file mode 100644
index 00000000..f8ea9a1b
--- /dev/null
+++ b/frontend/app/pages/(public)/_components/TestimonialCard.vue
@@ -0,0 +1,48 @@
+<template>
+ <div class="testimonial-card">
+ <img :src="avatar" :alt="name" class="avatar" />
+ <blockquote>{{ text }}</blockquote>
+ <p class="author">
+ {{ name }} <span>- {{ role }}</span>
+ </p>
+ </div>
+</template>
+
+<script setup lang="ts">
+defineProps<{
+ name: string;
+ role: string;
+ text: string;
+ avatar: string;
+}>();
+</script>
+
+<style scoped lang="scss">
+.testimonial-card {
+ background: var(--bg-color);
+ padding: 1.5rem;
+ border-radius: 1rem;
+ box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
+ max-width: 300px;
+ text-align: center;
+}
+.avatar {
+ width: 60px;
+ height: 60px;
+ border-radius: 50%;
+ margin-bottom: 1rem;
+}
+blockquote {
+ font-style: italic;
+ color: var(--font-color);
+ margin-bottom: 1rem;
+}
+.author {
+ font-weight: bold;
+ color: var(--font-color);
+}
+.author span {
+ font-weight: normal;
+ color: var(--font-color-light);
+}
+</style>
diff --git a/frontend/app/pages/(public)/index.vue b/frontend/app/pages/(public)/index.vue
index e857980b..95438e6d 100644
--- a/frontend/app/pages/(public)/index.vue
+++ b/frontend/app/pages/(public)/index.vue
@@ -1,337 +1,194 @@
<template>
- <main>
- <section class="header">
- <IconApp />
- </section>
- <section class="content-wrapper">
- <div class="intro">
- <div class="intro-text">
- <h1 class="title">
- <span id="typewriter"></span>
- </h1>
- <h3 class="subtitle">Centralize Your Notes. Enhance Your Productivity.</h3>
- </div>
- <div class="btns-block">
- <NuxtLink to="/dashboard" class="get-started">Get started</NuxtLink>
- <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" class="github">Github</NuxtLink>
+ <main class="landing">
+ <!-- Hero -->
+ <section class="hero">
+ <div class="hero-content">
+ <IconApp class="logo" style="width: 120px" fill="white" />
+ <h1>Your Notes, Beautifully Organized</h1>
+ <p class="tagline">A powerful Markdown workspace designed for speed, clarity, and creativity.</p>
+ <div class="cta-buttons">
+ <NuxtLink to="/dashboard" class="btn primary">Get Started</NuxtLink>
+ <NuxtLink to="https://github.com/Smaug6739/Alexandrie" target="_blank" class="btn secondary"> GitHub </NuxtLink>
</div>
</div>
- <div class="images">
- <img src="/screenshots/mock/1.png" alt="Documents Image" />
+ <img src="/screenshots/mock/0.png" class="hero-image" alt="App preview" />
+ </section>
+
+ <!-- Features -->
+ <section class="features">
+ <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>
- <section class="editor-section">
- <h2 class="section-title">Try editor online</h2>
- <div class="editor">
- <MarkdownEditor :doc="doc" :minimal="true" />
+
+ <!-- Showcase -->
+ <section class="showcase">
+ <h2>See Alexandrie in Action</h2>
+ <div class="screenshots">
+ <img src="/screenshots/mock/documents.png" alt="Notes" />
+ <img src="/screenshots/mock/2.png" alt="Organizing notes" />
+ <img src="/screenshots/mock/3.png" alt="Editing notes" />
</div>
</section>
- <section class="demo-section">
- <h2 class="section-title">Organize your documents</h2>
- <div class="demo">
- <img src="/screenshots/mock/3.png" alt="home" />
+
+ <!-- Testimonials -->
+ <section class="testimonials">
+ <h2>Loved by Students & Professionals</h2>
+ <div class="testimonials-grid">
+ <TestimonialCard name="Alice" role="Student" text="Alexandrie made my study notes so much easier to manage!" avatar="https://i.pravatar.cc/150?img=32" />
+ <TestimonialCard name="John" role="Creator" text="Very useful tool for organizing my thoughts." avatar="https://i.pravatar.cc/150?img=12" />
+ <TestimonialCard name="Sara" role="Student" text="Clean, minimal, and packed with features I actually use." avatar="https://i.pravatar.cc/150?img=47" />
</div>
</section>
+
+ <!-- Final CTA -->
+ <section class="final-cta">
+ <h2>Ready to Take Better Notes?</h2>
+ <p>Join us on this journey to better note-taking.</p>
+ <NuxtLink to="/dashboard" class="btn primary large" style="display: block; margin-top: 10px; width: fit-content; margin: 0 auto">Start Now</NuxtLink>
+ </section>
+
+ <AppFooter />
</main>
- <AppFooter />
</template>
<script setup lang="ts">
-import MarkdownEditor from '~/components/MarkdownEditor/LazyMarkdownEditor.vue';
import AppFooter from './_components/AppFooter.vue';
-const typewriterText = ref('Your Ideas, Documents & Plans.\nAlexandrie');
-
-onMounted(() => {
- const element = document.getElementById('typewriter');
- if (!element || (element && !element)) return;
- const text = typewriterText.value.split(''); // Divise le texte en lettres
- let index = 0;
- const type = () => {
- if (index < text.length) {
- element.textContent += text[index] || '';
- index++;
- setTimeout(type, 50); // Ajustez la vitesse d'Γ©criture
- } else element.style.borderRight = 'none';
- };
- type();
-});
-
-const doc = ref({
- content_markdown: `# Alexandrie Hub πŸš€
-
----
-
-## ✨ Why Choose **Alexandrie**?
-
-### πŸš€ Enhanced syntax
-
-* **Bold**, *Italic*, *Underline*, ==Highlight==
-* Quotes, nested quotes, inline \`code\`, LaTeX math blocks:
-
-:::center
-$\\int_{-\\infty}^{+\\infty} e^{-x^2} dx = \\sqrt{\\pi}$
-:::
-
-### πŸ’‘ Key Features
-
-* **Free Forever** – No hidden costs, no premium traps. Ever.
-* **Unlimited Notes** – Whether it's 10 or 10,000 notes, you're free.
-* **UI** – A clean, distraction-free interface you’ll actually love to use.
-* **Stunning Sidebar Navigation** – Navigate through your workspaces and categories with ease.
-* **Advanced Markdown Support** – Includes custom blocks, math (LaTeX), syntax highlighting, collapsible sections, and more.
-* **Export to PDF** – Need a printable version? Export any note with perfect formatting.
-* **Fully Responsive** – Works seamlessly on desktop and mobile.
-* **Highly Customizable** – Want to tweak colors, styles, structure? Go for it.
-* **Keyboard Shortcuts** – Speed up your workflow with intuitive hotkeys.
-
----
-
-## πŸš€ The Alexandrie Experience
-
-:::definition Students & pro
-**Alexandrie** redefines how students and professionals take notes. Think powerful Markdown, blended with a visual, minimalist, elegant interface.
-:::
-
-### πŸ“‚ Organized Like Never Before
-
-* **Workspaces** to structure your subjects or projects
-* **Nested categories** for fine-grained classification
-* **Search and filter** your notes instantly
-
----
-
-## ✍️ Rich Markdown, Elevated
-
-\`\`\`javascript
-// Yes, you can even write beautiful code blocks like this
-const app = "Alexandrie";
-console.log("Welcome to " + app);
-\`\`\`
-
-> *"Notes are not just text anymore, they’re an extension of your thoughts."*
-
-:::theorem Support
-All of this is supported natively, with real-time preview.
-:::
-
----
-
-## 🎯 Keyboard Shortcuts
-
-:::center
-| Action | Shortcut |
-| ------------------ | -------- |
-| Save | Ctrl + S |
-| Toggle Preview | Ctrl + P |
-| Switch to Document | Ctrl + Q |
-| Bold | Ctrl + B |
-| Italic | Ctrl + I |
-| Underline | Ctrl + U |
-| Insert Link | Ctrl + K |
-| Insert Image | Ctrl + M |
-
-Table 1: Keyboard Shortcuts
-:::
-
-:::property Blue Info
-Efficiency is just a keypress away.
-:::
-
----
-
-## πŸ“ Custom Blocks
-
-Need color-coded content? You got it:
-
-:::blue Blue Block
-Use for cool notes, tips or ideas
-:::
-
-:::red Red Block
-Great for **warnings**, errors, or alerts
-:::
-
-:::green Green Block
-Perfect for successes or checklists
-:::
-
-:::yellow Yellow Block
-Use for yellow flags or info
-:::
-
-:::details Details
-Click to reveal hidden content, explanations, or spoilers.
-:::
-
----
-
-## πŸ” Discover the Magic of Snippets
-
-You can type \`!m\`, \`!thm\`, \`!def\`, \`!blue\`, \`!center\`, etc. to instantly insert styled blocks. Here's how you might use them:
-
-\:::info-u Info without background
-Snippets speed up your note-writing, keeping focus on **content** not formatting.
-\:::
-
----
-
-## πŸ“¦ Export & Share with Style
-
-* Export your notes to **PDF** in a print-friendly, professionally styled format.
-* Automatically hide blocks like:
-
-Perfect for personal reminders or developer-only sections!
-
-## πŸ’– Final Thoughts
-
-
-You love project and you want to contribute ? Go on Github: [Smaug6739/Alexandrie](https://github.com/Smaug6739/Alexandrie)`,
-});
+import FeatureCard from './_components/FeatureCard.vue';
+import TestimonialCard from './_components/TestimonialCard.vue';
</script>
<style scoped lang="scss">
-main {
- display: flex;
- flex-direction: column;
- align-items: center;
- padding: 2rem;
- max-width: 1200px;
- margin: 0 auto;
-}
-
-h1,
-h2,
-h3 {
- font-weight: 600;
- color: var(--font-color);
+.landing {
+ margin-top: 1em;
+ font-family: var(--font-main);
+ padding: 0 2rem;
}
-h3 {
- font-size: 1.4rem;
- color: var(--font-color-light);
- font-weight: 500;
-}
-
-.section-title {
- font-size: 2rem;
- margin-bottom: 1.5rem;
- color: var(--font-color);
-}
-.header {
+.hero {
display: flex;
- justify-content: space-between;
+ flex-wrap: wrap;
align-items: center;
- width: 100%;
- padding: 1rem 2rem;
- position: absolute;
- top: 0;
+ padding: 4rem 2rem;
+ background: linear-gradient(120deg, var(--primary), #6c63ff);
+ color: white;
+ border-radius: 1rem;
+ margin-bottom: 4rem;
}
-.content-wrapper {
- display: flex;
- flex-direction: column;
- align-items: center;
- text-align: center;
- margin-top: 120px;
+.hero-content {
+ flex: 1;
}
-.intro {
- max-width: 48rem;
- padding: 1rem;
- h1 {
- font-size: 2.6rem;
- }
- h3 {
- font-size: 1.1rem;
- margin-top: 0.5rem;
- }
+.hero-image {
+ width: 600px;
+ border-radius: 1rem;
+ box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
+ margin-top: 10px;
}
-.btns-block {
+.cta-buttons {
+ margin-top: 1.5rem;
display: flex;
- justify-content: center;
gap: 1rem;
- margin: 2.5rem 0;
}
-.get-started,
-.github {
- padding: 0.9rem 2rem;
- border-radius: 10rem;
- text-transform: uppercase;
- text-decoration: none;
+.btn {
+ padding: 0.9rem 1.8rem;
+ border-radius: 50px;
font-weight: 600;
- font-size: 1rem;
+ text-decoration: none;
transition: all 0.3s ease;
- display: inline-block;
- box-shadow: 0 2px 10px var(--shadow);
-
- border: none;
- &:hover {
- box-shadow: 0 2px 10px var(--shadow);
-
- transform: translateY(-4px);
- }
}
-
-.get-started {
- background: var(--primary);
- color: #fff;
+.btn.primary {
+ background: white;
+ color: var(--primary);
}
-
-.github {
- background: var(--bg-contrast);
- color: var(--font-color);
+.btn.secondary {
+ background: rgba(255, 255, 255, 0.2);
+ color: white;
+}
+.btn.primary:hover,
+.btn.secondary:hover {
+ transform: translateY(-3px);
}
-.images {
- width: 100%;
- margin-top: 2rem;
+.features {
+ text-align: center;
+ margin-bottom: 4rem;
}
-img {
- max-height: unset;
- max-height: 500px;
- border-radius: 0.5rem;
+.features-grid {
+ display: grid;
+ grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
+ gap: 2rem;
+ margin-top: 2rem;
}
-.editor-section,
-.demo-section {
+
+.showcase {
text-align: center;
+ margin-bottom: 4rem;
+}
+.screenshots {
+ display: flex;
+ flex-wrap: wrap;
+ gap: 2rem;
+ justify-content: center;
+}
+.screenshots img {
+ border-radius: 0.8rem;
+ box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
+ max-width: 600px;
width: 100%;
- .editor {
- text-align: left;
- }
}
-.editor {
- max-width: 1200px;
- height: 720px;
- padding: 25px;
- overflow: hidden;
+.testimonials {
+ background: var(--bg-contrast);
+ padding: 3rem 2rem;
+ text-align: center;
+ margin-bottom: 4rem;
+ border-radius: 1rem;
+}
+.testimonials-grid {
+ display: flex;
+ gap: 2rem;
+ justify-content: center;
+ flex-wrap: wrap;
}
-.demo img {
- box-shadow: 0 2px 10px var(--shadow);
-
- display: block;
- margin: 25px auto;
- max-height: unset;
- max-width: 1000px;
- width: 100%;
+.final-cta {
+ text-align: center;
+ padding: 4rem 2rem;
+ background: var(--primary);
+ color: white;
+ border-radius: 1rem;
+ margin-bottom: 4rem;
+}
+.final-cta .btn {
+ background: white;
+ color: var(--primary);
}
-@media (max-width: 768px) {
- h1 {
- font-size: 2.2rem;
+@media screen and (max-width: 768px) {
+ .landing {
+ padding: 0 1rem;
}
-
- .get-started,
- .github {
- padding: 0.8rem 1.6rem;
- font-size: 0.9rem;
+ .hero {
+ flex-direction: column;
+ text-align: center;
+ padding: 2rem 1rem;
}
-
- .auth-links {
- gap: 0.8rem;
+ .hero-image {
+ width: 100%;
+ max-width: 500px;
+ margin-top: 2rem;
+ }
+ .features-grid {
+ grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}
}
</style>
diff --git a/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue b/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
index 1c701014..b56a3786 100644
--- a/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
+++ b/frontend/app/pages/dashboard/docs/_components/DocumentCardHeader.vue
@@ -2,7 +2,7 @@
<div class="header" :class="{ 'print-style': preferences.get('printMode') }">
<div class="text">
<p class="category">
- {{ category?.name }}
+ <NuxtLink :to="`/dashboard/categories/${category?.id}`">{{ category?.name }}</NuxtLink>
<DocumentCardHeaderActionRow :doc="doc" class="no-print" />
</p>
<h1 class="title">{{ doc?.name }}</h1>
@@ -30,7 +30,7 @@ const category = computed(() => categories_store.getById(props.doc?.category ||
<style lang="scss" scoped>
.header {
background-color: var(--bg-contrast);
- padding: 0.7rem 1rem;
+ padding: 0.7rem 1.2rem;
border-radius: 0.625rem;
display: flex;
transition: background-color $transition-duration;
diff --git a/frontend/app/styles/components.scss b/frontend/app/styles/components.scss
index b3a09eed..7c1ce5fa 100644
--- a/frontend/app/styles/components.scss
+++ b/frontend/app/styles/components.scss
@@ -18,16 +18,16 @@
box-shadow: 0 2px 6px var(--shadow);
border: 1px solid var(--border-color);
-
header {
h1 {
font-size: 20px;
+ padding: 6px 4px;
+ margin: 10px 0;
}
display: flex;
justify-content: space-between;
align-items: center;
- padding-bottom: 4px;
margin-bottom: 10px;
border-bottom: 1px solid var(--border-color);
}
diff --git a/frontend/public/screenshots/mock/0.png b/frontend/public/screenshots/mock/0.png
new file mode 100644
index 00000000..9b0f4cad
Binary files /dev/null and b/frontend/public/screenshots/mock/0.png differ
diff --git a/frontend/public/screenshots/mock/1.png b/frontend/public/screenshots/mock/1.png
index 083e91d5..996841b5 100644
Binary files a/frontend/public/screenshots/mock/1.png and b/frontend/public/screenshots/mock/1.png differ
diff --git a/frontend/public/screenshots/mock/documents.png b/frontend/public/screenshots/mock/documents.png
new file mode 100644
index 00000000..988a1de1
Binary files /dev/null and b/frontend/public/screenshots/mock/documents.png differ