feat: add & modify footer links

This commit is contained in:
Ayo Ayco 2025-01-06 20:08:01 +01:00
parent 23433fcc23
commit a905282e76
3 changed files with 7 additions and 4 deletions

View file

@ -71,16 +71,20 @@ export const footerLinks = [
text: 'Instagram',
url: 'https://instagram.com/ayoayco',
},
{
text: 'FOSStodon',
url: 'https://fosstodon.org/@ayo',
},
{
text: 'Web Tools',
url: 'https://m.webtoo.ls/@ayo',
},
{
text: 'Ayco Social',
url: 'https://social.ayco.io',
url: 'https://social.ayco.io/@ayo',
},
{
text: 'Bluesky',
url: 'https://bsky.app/profile/ayco.io',
url: 'https://bsky.app/profile/did:plc:hhpuzxrbpurathqyj2fuvnrs',
},
]

View file

@ -4,7 +4,7 @@ import './reset.css'
import './common.css'
import Head from '../components/Head.astro'
import Nav from '../components/Nav.astro'
import links from '../constants/links'
import { links } from '../constants/links'
export interface Props {
title?: string
description?: string

View file

@ -7,7 +7,6 @@ import now from '../constants/now.json'
const nowGlob = await import.meta.glob('../constants/now.md', { eager: true })
const nowPosts = Object.values(nowGlob)
const nowHtml = (await nowPosts[0].compiledContent()) ?? ''
console.log('>>>', nowHtml)
const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn
const posts = await Astro.glob('./now/and-then/posts/*.astro')