refactor: rename the type SocialsObject to SocialObjects

This commit is contained in:
satnaing
2022-11-28 22:01:59 +06:30
parent c4c9ab2246
commit a45176203e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -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
View File
@@ -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;