From 70e826fa69d468119ce1ba2f9157b116f7fb6405 Mon Sep 17 00:00:00 2001 From: Rafael Derolez Date: Fri, 20 Oct 2023 09:52:13 +0200 Subject: [PATCH 01/12] feat: remove splash and starfield --- src/components/splash.astro | 67 --------------------- src/components/starfield.astro | 105 --------------------------------- src/pages/index.astro | 2 - 3 files changed, 174 deletions(-) delete mode 100644 src/components/splash.astro delete mode 100644 src/components/starfield.astro diff --git a/src/components/splash.astro b/src/components/splash.astro deleted file mode 100644 index 638f4b2..0000000 --- a/src/components/splash.astro +++ /dev/null @@ -1,67 +0,0 @@ ---- -import HeroImage from "~/components/hero-image.astro"; -import Starfield from "~/components/starfield.astro"; -import GitHubCorner from "./github-corner.astro"; -import astrodarkImage from "~/assets/themes/astrodark.png"; -import { Image } from "astro:assets"; - -const sizes = "(min-width: 640px) 42vw, 67vw"; ---- - -
- - - -
-

-
- AstroNvim -
-
- Neovim with -
batteries -
-

-
- - AstroNvim Overview -
-
-
- - - - diff --git a/src/components/starfield.astro b/src/components/starfield.astro deleted file mode 100644 index f414660..0000000 --- a/src/components/starfield.astro +++ /dev/null @@ -1,105 +0,0 @@ -
- -
- - diff --git a/src/pages/index.astro b/src/pages/index.astro index 87b509a..adb7fe5 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,7 +1,6 @@ --- import Layout from "~/layouts/layout.astro"; import Header from "~/components/header.astro"; -import Splash from "~/components/splash.astro"; import Intro from "~/components/intro.astro"; import Features from "~/components/features.astro"; import FAQ from "~/components/faq.astro"; @@ -9,7 +8,6 @@ import FAQ from "~/components/faq.astro";
-
From 5a68590b7dd4280f1179467a3c497d899712d67e Mon Sep 17 00:00:00 2001 From: Rafael Derolez Date: Fri, 20 Oct 2023 09:52:47 +0200 Subject: [PATCH 02/12] feat: add github url to header icons --- src/components/header.astro | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/components/header.astro b/src/components/header.astro index c4be682..cbc986d 100644 --- a/src/components/header.astro +++ b/src/components/header.astro @@ -8,6 +8,11 @@ const navItems: Array = [ { title: "FAQs", url: "#faqs" }, { title: "AstroCommunity", url: "https://git.astronvim.com/AstroCommunity" }, { title: "Documentation", url: "https://docs.astronvim.com" }, + { + title: "Github", + icon: "tabler:brand-github", + url: "https://git.astronvim.com", + }, { title: "Socials", icon: "tabler:at", url: "#socials" }, ]; --- From 7b0f23daca4ec529d59b0bf0679b16ffa40a320e Mon Sep 17 00:00:00 2001 From: Rafael Derolez Date: Fri, 20 Oct 2023 09:52:58 +0200 Subject: [PATCH 03/12] feat: clean up header --- src/components/header.astro | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/src/components/header.astro b/src/components/header.astro index cbc986d..78301ed 100644 --- a/src/components/header.astro +++ b/src/components/header.astro @@ -19,15 +19,15 @@ const navItems: Array = [
- astronvim_logo + + astronvim_logo +