mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: add type to SITE object for better type safety
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
export type Site = {
|
||||
website: string;
|
||||
author: string;
|
||||
desc: string;
|
||||
title: string;
|
||||
ogImage: string;
|
||||
lightAndDarkMode: boolean;
|
||||
postPerPage: number;
|
||||
};
|
||||
|
||||
export type SocialObjects = {
|
||||
name: SocialMedia;
|
||||
href: string;
|
||||
|
||||
Reference in New Issue
Block a user