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 = {
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
View File
@@ -10,7 +10,7 @@ export interface Frontmatter {
tags: string[];
}
export type SocialsObject = {
export type SocialObjects = {
name: SocialMedia;
href: string;
active: boolean;