From 83376aed1029d2fdd2740cd2efdccab979451f35 Mon Sep 17 00:00:00 2001 From: Ruthenic Date: Sat, 29 Oct 2022 18:02:49 -0400 Subject: [PATCH] make newtab cleaner + switch twitter for my akkoma instance --- src/components/newtab.astro | 7 +++++++ src/pages/index.astro | 2 +- src/pages/newtab.astro | 16 ++++++++-------- 3 files changed, 16 insertions(+), 9 deletions(-) create mode 100644 src/components/newtab.astro diff --git a/src/components/newtab.astro b/src/components/newtab.astro new file mode 100644 index 0000000..313630d --- /dev/null +++ b/src/components/newtab.astro @@ -0,0 +1,7 @@ +
+ { + Object.keys(Astro.props.entries).map(k => ( + {k}
+ )) + } +
\ No newline at end of file diff --git a/src/pages/index.astro b/src/pages/index.astro index a22fa0a..9009af7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -9,6 +9,6 @@ import Base from '../layout/Base.astro'

Check me out on

Github
Last.fm
- Twitter
+ Fediverse
Youtube
diff --git a/src/pages/newtab.astro b/src/pages/newtab.astro index 51c8208..c2cae57 100644 --- a/src/pages/newtab.astro +++ b/src/pages/newtab.astro @@ -1,14 +1,14 @@ --- import Base from '../layout/BaseHeaderless.astro' +import Newtab from '../components/newtab.astro' --- - Youtube
- Twitter
- git.ruthenic.com
- Github
- Reddit
- ruthenic.com
- AO3 (Archive Of Our Own)
- Hazbin Hotel Wikia
+