justin.deal/src/lib/variables.ts

73 lines
3.0 KiB
TypeScript
Raw Normal View History

2025-04-26 23:21:07 -07:00
// Set any item to undefined to remove it from the site or to use the default value
/**
* Global variables used throughout the site
* @property {string} username - The username displayed on the site
* @property {string} rootUrl - The root URL of the site
* @property {string} shortDescription - A short description of the site
* @property {string} longDescription - A longer description of the site
* @property {string} githubProfile - The GitHub profile URL
* @property {string} giteaProfile - The Gitea profile URL
* @property {string} linkedinProfile - The LinkedIn profile URL
* @property {string} articlesName - The name used for articles
* @property {string} projectsName - The name used for projects
* @property {string} viewAll - The text used for "View All" links
* @property {string} noArticles - The text used when there are no articles
* @property {string} noProjects - The text used when there are no projects
* @property {string} blogTitle - The title of the blog section
* @property {string} blogShortDescription - A short description of the blog
* @property {string} blogLongDescription - A longer description of the blog
* @property {string} projectTitle - The title of the projects section
* @property {string} projectShortDescription - A short description of the projects
* @property {string} projectLongDescription - A longer description of the projects
* @property {string} profileImage - The profile image filename
* @property {Object} menu - The menu items
*/
2025-04-26 23:21:07 -07:00
export const GLOBAL = {
// Site metadata
username: "Justin Deal",
rootUrl: "https://justin.deal",
shortDescription: "My personal slice of the internet",
2025-05-03 02:44:08 -07:00
longDescription: "My personal blog, portfolio, and homelab dashboard built with Astro, TypeScript, TailwindCSS, and Alpine.js.",
2025-04-26 23:21:07 -07:00
// Social media links
2025-05-03 02:44:08 -07:00
githubProfile: "https://github.com/justindeal",
giteaProfile: "https://code.justin.deal/dealjus",
linkedinProfile: "https://www.linkedin.com/in/justin-deal/",
2025-04-26 23:21:07 -07:00
// Common text names used throughout the site
articlesName: "Articles",
projectsName: "Projects",
viewAll: "View All",
// Common descriptions used throughout the site
noArticles: "No featured articles yet.",
noProjects: "No featured projects yet.",
// Blog metadata
blogTitle: "My Thoughts & Takes",
blogShortDescription: "Practical wisdom, unfiltered thoughts, and hot takes.",
blogLongDescription: "Web development, tech trends, and the occasional programming mishap.",
// Project metadata
projectTitle: "Projects and Code",
projectShortDescription: "A list of my web development projects and developer tools.",
projectLongDescription: "All of my projects, including both frontend and full-stack applications.",
// Profile image
profileImage: "pixel_avatar.png",
// Menu items
menu: {
home: "/",
about: "/about",
2025-04-26 23:21:07 -07:00
blog: "/blog",
projects: "/projects",
2025-04-27 20:43:15 -07:00
homelab: "/homelab",
code: "https://code.justin.deal",
2025-04-26 23:21:07 -07:00
// videos: "https://www.youtube.com/@justin_deal",
// homelab: "https://homelab.justin.deal",
// contact: "/contact",
}
};