1
0
mirror of https://github.com/XFox111/my-website.git synced 2026-04-22 07:28:01 +03:00

feat!: updated contact links section

This commit is contained in:
2024-09-09 13:34:13 +00:00
parent 812bd34ee5
commit 7923020458
7 changed files with 55 additions and 55 deletions
+9 -10
View File
@@ -1,5 +1,5 @@
import socials, { Socials } from "./socials";
import Package from "@/../package.json";
import socials, { Socials } from "./socials";
const contacts: ContactLinks =
{
@@ -8,21 +8,20 @@ const contacts: ContactLinks =
text: Package.author.email,
href: "mailto:" + Package.author.email
},
telephone:
{
text: "+7 996 929-19-69",
href: "tel:79969291969",
country: "Russia"
},
socials:
{
"LinkedIn": socials["LinkedIn"],
"Telegram":
"Facebook":
{
username: "@xfox111",
href: "https://t.me/xfox111"
href: "https://facebook.com/xfox111"
},
"Twitter": socials["Twitter"]
"WhatsApp":
{
username: "@xfox111",
href: "https://wa.me/79969291969",
network: "whatsapp"
}
}
};
+17 -16
View File
@@ -1,23 +1,23 @@
import Package from "@/../package.json";
const socials: Socials =
{
"GitHub":
{
"GitHub":
{
href: Package.author.url,
username: "@xfox111"
},
"LinkedIn":
{
href: "https://www.linkedin.com/in/xfox/",
username: "@xfox"
},
"Twitter":
{
href: "https://twitter.com/xfox111",
username: "@xfox111"
},
};
href: Package.author.url,
username: "@xfox111"
},
"LinkedIn":
{
href: "https://www.linkedin.com/in/xfox/",
username: "@xfox"
},
"Twitter":
{
href: "https://twitter.com/xfox111",
username: "@xfox111"
},
};
export default socials;
@@ -27,4 +27,5 @@ export type SocialLink =
{
href: string;
username: string;
network?: string;
};