From af027786ea0977b739608682e8a4808ca15a8810 Mon Sep 17 00:00:00 2001 From: worldwidepixel <58098422+worldwidepixel@users.noreply.github.com> Date: Sun, 29 Sep 2024 10:47:43 -0700 Subject: [PATCH] Better Buttons --- src/components/Button.astro | 9 +++++ src/pages/index.astro | 80 +++++++++++++++++++++---------------- 2 files changed, 54 insertions(+), 35 deletions(-) create mode 100644 src/components/Button.astro diff --git a/src/components/Button.astro b/src/components/Button.astro new file mode 100644 index 0000000..d7442ef --- /dev/null +++ b/src/components/Button.astro @@ -0,0 +1,9 @@ +--- +import VitalLink from "./VitalLink.astro"; + +const { external, showIcon, to, classList } = Astro.props; +--- + + + + diff --git a/src/pages/index.astro b/src/pages/index.astro index ae98477..d666e40 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -1,4 +1,5 @@ --- +import Button from "../components/Button.astro"; import Logo from "../components/Logo.astro"; import VitalLink from "../components/VitalLink.astro"; import Default from "../layouts/Default.astro"; @@ -15,16 +16,8 @@ import Default from "../layouts/Default.astro"; resource pack features, shaders, and a major improvement in rendering and logic performance.
- - - Modrinth - - - - - Github - - + +
@@ -32,16 +25,27 @@ import Default from "../layouts/Default.astro"; NotEssential is a website which links to mods that can substitute Essential's features.
- - - Visit Site - - - - - Github - - + + +
@@ -52,16 +56,20 @@ import Default from "../layouts/Default.astro"; >Ward is a simple text manipulator for the web. Made to do silly translations for NotEssential.
- - - Visit - - - - - Github - - + +
@@ -72,11 +80,13 @@ import Default from "../layouts/Default.astro"; >A python script that can help you convert and manipulate your text in many different ways.
- - - Github - - +