mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 11:29:33 +08:00
refactor: rename the type SocialsObject to SocialObjects
This commit is contained in:
+3
-3
@@ -1,4 +1,4 @@
|
|||||||
import type { SocialsObject } from "./types";
|
import type { SocialObjects } from "./types";
|
||||||
|
|
||||||
export const SITE = {
|
export const SITE = {
|
||||||
website: "https://astro-paper.pages.dev/",
|
website: "https://astro-paper.pages.dev/",
|
||||||
@@ -17,11 +17,11 @@ export const LOGO_IMAGE = {
|
|||||||
height: 46,
|
height: 46,
|
||||||
};
|
};
|
||||||
|
|
||||||
export const SOCIALS: SocialsObject = [
|
export const SOCIALS: SocialObjects = [
|
||||||
{
|
{
|
||||||
name: "Github",
|
name: "Github",
|
||||||
linkTitle: ` ${SITE.title} on Github`,
|
|
||||||
href: "https://github.com/satnaing/astro-paper",
|
href: "https://github.com/satnaing/astro-paper",
|
||||||
|
linkTitle: ` ${SITE.title} on Github`,
|
||||||
active: true,
|
active: true,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
+1
-1
@@ -10,7 +10,7 @@ export interface Frontmatter {
|
|||||||
tags: string[];
|
tags: string[];
|
||||||
}
|
}
|
||||||
|
|
||||||
export type SocialsObject = {
|
export type SocialObjects = {
|
||||||
name: SocialMedia;
|
name: SocialMedia;
|
||||||
href: string;
|
href: string;
|
||||||
active: boolean;
|
active: boolean;
|
||||||
|
|||||||
Reference in New Issue
Block a user