mirror of
https://github.com/ChenQihan666/MyBlog-Next.git
synced 2026-08-14 07:33:07 +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 = {
|
||||
website: "https://astro-paper.pages.dev/",
|
||||
@@ -17,11 +17,11 @@ export const LOGO_IMAGE = {
|
||||
height: 46,
|
||||
};
|
||||
|
||||
export const SOCIALS: SocialsObject = [
|
||||
export const SOCIALS: SocialObjects = [
|
||||
{
|
||||
name: "Github",
|
||||
linkTitle: ` ${SITE.title} on Github`,
|
||||
href: "https://github.com/satnaing/astro-paper",
|
||||
linkTitle: ` ${SITE.title} on Github`,
|
||||
active: true,
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
@@ -10,7 +10,7 @@ export interface Frontmatter {
|
||||
tags: string[];
|
||||
}
|
||||
|
||||
export type SocialsObject = {
|
||||
export type SocialObjects = {
|
||||
name: SocialMedia;
|
||||
href: string;
|
||||
active: boolean;
|
||||
|
||||
Reference in New Issue
Block a user