From 2496d6f6e0ee914dd0afed36748867b290a83088 Mon Sep 17 00:00:00 2001 From: Arunavo Ray Date: Wed, 24 Dec 2025 08:44:19 +0530 Subject: [PATCH] Disabled promo banner --- www/src/pages/index.astro | 140 ++++++++++++++++++++++---------------- 1 file changed, 83 insertions(+), 57 deletions(-) diff --git a/www/src/pages/index.astro b/www/src/pages/index.astro index 3b4656d..d375b15 100644 --- a/www/src/pages/index.astro +++ b/www/src/pages/index.astro @@ -1,61 +1,64 @@ --- -import '../styles/global.css'; -import { Header } from '../components/Header'; -import { Hero } from '../components/Hero'; -import ShaderBackground from '../components/ShaderBackground.astro'; -import Features from '../components/Features.astro'; -import UseCases from '../components/UseCases.astro'; -import Screenshots from '../components/Screenshots.astro'; -import { Installation } from '../components/Installation'; -import { CTA } from '../components/CTA'; -import FAQ from '../components/FAQ.astro'; -import Footer from '../components/Footer.astro'; -import { PromoBanner } from '../components/PromoBanner'; +import "../styles/global.css"; +import { Header } from "../components/Header"; +import { Hero } from "../components/Hero"; +import ShaderBackground from "../components/ShaderBackground.astro"; +import Features from "../components/Features.astro"; +import UseCases from "../components/UseCases.astro"; +import Screenshots from "../components/Screenshots.astro"; +import { Installation } from "../components/Installation"; +import { CTA } from "../components/CTA"; +import FAQ from "../components/FAQ.astro"; +import Footer from "../components/Footer.astro"; +import { PromoBanner } from "../components/PromoBanner"; -const siteUrl = 'https://gitea-mirror.com'; -const title = 'GitHub Backup Tool | Self-Hosted Repository Backup to Gitea'; -const description = 'Automatically backup GitHub repos to your own Gitea server. Preserve issues, PRs, releases & wiki. Self-hosted, Docker-ready. Free alternative to cloud backup services.'; -const keywords = 'github backup, github backup self hosted, github repository backup, backup github to nas, github disaster recovery, offline github backup, github backup docker, automatic github backup, github account backup, gitea mirror, self-hosted git backup, repository sync, github to gitea, git mirror, code backup, self-hosted backup solution'; +const siteUrl = "https://gitea-mirror.com"; +const title = "GitHub Backup Tool | Self-Hosted Repository Backup to Gitea"; +const description = + "Automatically backup GitHub repos to your own Gitea server. Preserve issues, PRs, releases & wiki. Self-hosted, Docker-ready. Free alternative to cloud backup services."; +const keywords = + "github backup, github backup self hosted, github repository backup, backup github to nas, github disaster recovery, offline github backup, github backup docker, automatic github backup, github account backup, gitea mirror, self-hosted git backup, repository sync, github to gitea, git mirror, code backup, self-hosted backup solution"; // Structured data for SEO const structuredData = { "@context": "https://schema.org", "@type": "SoftwareApplication", - "name": "Gitea Mirror", - "applicationCategory": "BackupApplication", - "operatingSystem": "Linux, macOS, Windows", - "offers": { + name: "Gitea Mirror", + applicationCategory: "BackupApplication", + operatingSystem: "Linux, macOS, Windows", + offers: { "@type": "Offer", - "price": "0", - "priceCurrency": "USD" + price: "0", + priceCurrency: "USD", }, - "description": "Automatic GitHub repository backup to self-hosted Gitea. Preserves complete history, issues, PRs, and releases. Free alternative to cloud backup services.", - "url": siteUrl, - "author": { + description: + "Automatic GitHub repository backup to self-hosted Gitea. Preserves complete history, issues, PRs, and releases. Free alternative to cloud backup services.", + url: siteUrl, + author: { "@type": "Organization", - "name": "RayLabs", - "url": "https://github.com/RayLabsHQ" + name: "RayLabs", + url: "https://github.com/RayLabsHQ", }, - "softwareVersion": "3.9.2", - "screenshot": [ + softwareVersion: "3.9.2", + screenshot: [ `${siteUrl}/assets/dashboard.png`, `${siteUrl}/assets/repositories.png`, - `${siteUrl}/assets/organisation.png` + `${siteUrl}/assets/organisation.png`, ], - "featureList": [ + featureList: [ "Automated scheduled backups", "Self-hosted (full data ownership)", "Metadata preservation (issues, PRs, releases, wiki)", "Docker support", "Multi-repository backup", "Git LFS support", - "Free and open source" + "Free and open source", ], - "softwareRequirements": "Docker or Bun runtime" + softwareRequirements: "Docker or Bun runtime", }; --- - + @@ -63,15 +66,18 @@ const structuredData = { - + {title} - + - + @@ -82,7 +88,7 @@ const structuredData = { - + @@ -90,39 +96,49 @@ const structuredData = { - + - + - + - - + - + - +
- +
@@ -135,7 +151,7 @@ const structuredData = {
- +