π 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
Remove issues cards and testimonial cards from homepage
Smaug673926b9a66bac9d
diff --git a/frontend/app/pages/(public)/_components/GoodFirstIssues.vue b/frontend/app/pages/(public)/_components/GoodFirstIssues.vuedeleted file mode 100644index 2a3b7e89..00000000--- a/frontend/app/pages/(public)/_components/GoodFirstIssues.vue+++ /dev/null@@ -1,105 +0,0 @@-<template>- <section class="good-first-issues">- <h2>Good first issues</h2>- <div class="issues-grid">- <a v-for="issue in issues" :key="issue.id" :href="issue.html_url" target="_blank" class="issue">- <div class="top">- <span v-for="label in visibleLabels(issue.labels)" :key="label.id" class="label">{{ label.name }}</span>- </div>- <div class="title">{{ issue.title }}</div>- <div class="meta">#{{ issue.number }} β’ {{ new Date(issue.created_at).toLocaleDateString() }}</div>- </a>- </div>- </section>-</template>--<script setup lang="ts">-interface Label {- id: number;- name: string;-}-interface Issue {- id: number;- number: number;- title: string;- html_url: string;- labels: Label[];- created_at: string;-}--const owner = 'Smaug6739';-const repo = 'Alexandrie';-const issues = ref<Issue[]>([]);--function visibleLabels(labels: Label[]): Label[] {- return (labels || []).filter(l => typeof l?.name === 'string').slice(0, 3);-}--async function fetchIssues() {- try {- const res = await fetch(`https://api.github.com/repos/${owner}/${repo}/issues?labels=good%20first%20issue&state=open&per_page=6`);- if (!res.ok) return;- const data = await res.json();- issues.value = Array.isArray(data) ? (data as Issue[]) : [];- } catch {- issues.value = [];- }-}--onMounted(fetchIssues);-</script>--<style scoped lang="scss">-.good-first-issues {- max-width: 1100px;- margin: 4rem auto;- text-align: center;-}--.issues-grid {- display: grid;- gap: 14px;- grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));- margin-top: 14px;-}--.issue {- display: block;- padding: 14px;- border: 1px solid var(--border-color);- border-radius: 12px;- color: inherit;- background: var(--bg-color);- transition: transform 0.2s ease, box-shadow 0.2s ease;- text-decoration: none;-}--.issue:hover {- box-shadow: 0 10px 28px rgb(0 0 0 / 12%);- transform: translateY(-3px);-}--.top {- display: flex;- flex-wrap: wrap;- gap: 8px;- margin-bottom: 6px;-}--.label {- padding: 2px 8px;- border: 1px solid var(--border-color);- border-radius: 999px;- font-size: 12px;- background: var(--bg-contrast);-}--.title {- font-weight: 600;- margin-bottom: 6px;-}--.meta {- font-size: 12px;-}-</style>diff --git a/frontend/app/pages/(public)/_components/TestimonialCard.vue b/frontend/app/pages/(public)/_components/TestimonialCard.vuedeleted file mode 100644index bb423a26..00000000--- a/frontend/app/pages/(public)/_components/TestimonialCard.vue+++ /dev/null@@ -1,52 +0,0 @@-<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 {- max-width: 300px;- padding: 1.5rem;- border-radius: 1rem;- text-align: center;- background: var(--bg-color);- box-shadow: 0 5px 20px rgb(0 0 0 / 5%);-}--.avatar {- width: 60px;- height: 60px;- border-radius: 50%;- margin-bottom: 1rem;-}--blockquote {- color: var(--font-color);- font-style: italic;- 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.vueindex b239aa29..c06e7e37 100644--- a/frontend/app/pages/(public)/index.vue+++ b/frontend/app/pages/(public)/index.vue@@ -12,7 +12,7 @@<div class="badges"><span class="badge">Open-source</span><span class="badge">Markdown</span>- <span class="badge">Export PDF</span>+ <span class="badge">Organization</span></div><IconApp class="logo" style="width: 120px" fill="white" /><h1><span class="gradient-text">Your Notes</span>, Beautifully Organized</h1>@@ -39,25 +39,9 @@<SelfHostSteps class="reveal" />- <!-- Testimonials -->- <section class="testimonials reveal">- <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>-<OpenSourceStats class="reveal" /><ContributorsMarquee class="reveal" /><OSSPrinciples class="reveal" />- <GoodFirstIssues class="reveal" /><SponsorWall class="reveal" /><!-- Final CTA -->@@ -79,10 +63,8 @@<script setup lang="ts">import AppFooter from './_components/AppFooter.vue';import FeatureCard from './_components/FeatureCard.vue';-import TestimonialCard from './_components/TestimonialCard.vue';import OpenSourceStats from './_components/OpenSourceStats.vue';import SelfHostSteps from './_components/SelfHostSteps.vue';-import GoodFirstIssues from './_components/GoodFirstIssues.vue';import ContributorsMarquee from './_components/ContributorsMarquee.vue';import SponsorWall from './_components/SponsorWall.vue';import OSSPrinciples from './_components/OSSPrinciples.vue';