feat: add & modify footer links
This commit is contained in:
parent
23433fcc23
commit
a905282e76
3 changed files with 7 additions and 4 deletions
|
@ -71,16 +71,20 @@ export const footerLinks = [
|
||||||
text: 'Instagram',
|
text: 'Instagram',
|
||||||
url: 'https://instagram.com/ayoayco',
|
url: 'https://instagram.com/ayoayco',
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
text: 'FOSStodon',
|
||||||
|
url: 'https://fosstodon.org/@ayo',
|
||||||
|
},
|
||||||
{
|
{
|
||||||
text: 'Web Tools',
|
text: 'Web Tools',
|
||||||
url: 'https://m.webtoo.ls/@ayo',
|
url: 'https://m.webtoo.ls/@ayo',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Ayco Social',
|
text: 'Ayco Social',
|
||||||
url: 'https://social.ayco.io',
|
url: 'https://social.ayco.io/@ayo',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
text: 'Bluesky',
|
text: 'Bluesky',
|
||||||
url: 'https://bsky.app/profile/ayco.io',
|
url: 'https://bsky.app/profile/did:plc:hhpuzxrbpurathqyj2fuvnrs',
|
||||||
},
|
},
|
||||||
]
|
]
|
||||||
|
|
|
@ -4,7 +4,7 @@ import './reset.css'
|
||||||
import './common.css'
|
import './common.css'
|
||||||
import Head from '../components/Head.astro'
|
import Head from '../components/Head.astro'
|
||||||
import Nav from '../components/Nav.astro'
|
import Nav from '../components/Nav.astro'
|
||||||
import links from '../constants/links'
|
import { links } from '../constants/links'
|
||||||
export interface Props {
|
export interface Props {
|
||||||
title?: string
|
title?: string
|
||||||
description?: string
|
description?: string
|
||||||
|
|
|
@ -7,7 +7,6 @@ import now from '../constants/now.json'
|
||||||
const nowGlob = await import.meta.glob('../constants/now.md', { eager: true })
|
const nowGlob = await import.meta.glob('../constants/now.md', { eager: true })
|
||||||
const nowPosts = Object.values(nowGlob)
|
const nowPosts = Object.values(nowGlob)
|
||||||
const nowHtml = (await nowPosts[0].compiledContent()) ?? ''
|
const nowHtml = (await nowPosts[0].compiledContent()) ?? ''
|
||||||
console.log('>>>', nowHtml)
|
|
||||||
const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn
|
const publishedOn = now.publishedOn === '' ? now.publishDate : now.publishedOn
|
||||||
|
|
||||||
const posts = await Astro.glob('./now/and-then/posts/*.astro')
|
const posts = await Astro.glob('./now/and-then/posts/*.astro')
|
||||||
|
|
Loading…
Reference in a new issue