-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
9 changed files
with
280 additions
and
36 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
import type { SocialObjects } from "@/lib/types"; | ||
|
||
export const SITE = { | ||
website: "https://hyperoot.dev", // replace this with your deployed domain | ||
author: "HYP3R00T", | ||
|
@@ -39,3 +41,103 @@ export const docconfig = { | |
hide_repo_button: false, | ||
hide_author: true, | ||
}; | ||
|
||
// Set your social. It will appear in footer. Don't change the `name` value. | ||
export const Socials: SocialObjects = [ | ||
{ | ||
name: "Github", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: ` ${SITE.title} on Github`, | ||
active: true, | ||
}, | ||
{ | ||
name: "Facebook", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Facebook`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Instagram", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Instagram`, | ||
active: false, | ||
}, | ||
{ | ||
name: "LinkedIn", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on LinkedIn`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Mail", | ||
href: "mailto:[email protected]", | ||
linkTitle: `Send an email to ${SITE.title}`, | ||
active: true, | ||
}, | ||
{ | ||
name: "Twitter", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Twitter`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Twitch", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Twitch`, | ||
active: false, | ||
}, | ||
{ | ||
name: "YouTube", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on YouTube`, | ||
active: false, | ||
}, | ||
{ | ||
name: "WhatsApp", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on WhatsApp`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Snapchat", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Snapchat`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Pinterest", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Pinterest`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Discord", | ||
href: "https://discord.gg/tWZRBhaPhd", | ||
linkTitle: `${SITE.title} on Discord`, | ||
active: true, | ||
}, | ||
{ | ||
name: "GitLab", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on GitLab`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Reddit", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Reddit`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Telegram", | ||
href: "https://github.com/HYP3R00T/", | ||
linkTitle: `${SITE.title} on Telegram`, | ||
active: false, | ||
}, | ||
{ | ||
name: "Mastodon", | ||
href: "https://mastodon.social/@hyp3r00t", | ||
linkTitle: `${SITE.title} on Mastodon`, | ||
active: true, | ||
}, | ||
]; |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
import { Mail, type LucideIcon } from "lucide-react"; | ||
|
||
import { | ||
Github, | ||
Facebook, | ||
Instagram, | ||
Linkedin, | ||
X as Twitter, | ||
Twitch, | ||
Youtube, | ||
Whatsapp, | ||
Snapchat, | ||
Pinterest, | ||
Discord, | ||
Gitlab, | ||
Reddit, | ||
Telegram, | ||
Mastodon, | ||
} from "simple-icons-astro"; | ||
|
||
type IconComponent = LucideIcon | ((props: any) => JSX.Element); | ||
|
||
export const ICONS: { [key: string]: IconComponent } = { | ||
Github, | ||
Facebook, | ||
Instagram, | ||
LinkedIn: Linkedin, | ||
Mail, | ||
Twitter, | ||
Twitch, | ||
YouTube: Youtube, | ||
WhatsApp: Whatsapp, | ||
Snapchat, | ||
Pinterest, | ||
Discord, | ||
GitLab: Gitlab, | ||
Reddit, | ||
Telegram, | ||
Mastodon, | ||
}; | ||
|
||
export const getIconByName = (name: string): IconComponent | null => { | ||
return ICONS[name] || null; | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.