Initial commit

This commit is contained in:
2025-11-28 00:28:49 +08:00
committed by GitHub
commit f9a7c123cc
96 changed files with 17673 additions and 0 deletions

55
src/consts.ts Normal file
View File

@@ -0,0 +1,55 @@
import type { IconMap, SocialLink, Site } from '@/types'
export const SITE: Site = {
title: 'astro-erudite',
description:
'astro-erudite is a opinionated, unstyled blogging template—built with Astro, Tailwind, and shadcn/ui.',
href: 'https://astro-erudite.vercel.app',
author: 'jktrn',
locale: 'en-US',
featuredPostCount: 2,
postsPerPage: 3,
}
export const NAV_LINKS: SocialLink[] = [
{
href: '/blog',
label: 'blog',
},
{
href: '/authors',
label: 'authors',
},
{
href: '/about',
label: 'about',
},
]
export const SOCIAL_LINKS: SocialLink[] = [
{
href: 'https://github.com/jktrn',
label: 'GitHub',
},
{
href: 'https://twitter.com/enscry',
label: 'Twitter',
},
{
href: 'mailto:jason@enscribe.dev',
label: 'Email',
},
{
href: '/rss.xml',
label: 'RSS',
},
]
export const ICON_MAP: IconMap = {
Website: 'lucide:globe',
GitHub: 'lucide:github',
LinkedIn: 'lucide:linkedin',
Twitter: 'lucide:twitter',
Email: 'lucide:mail',
RSS: 'lucide:rss',
}