mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-07-19 14:25:31 -04:00
properly import and optimize/cache images in markdown files
This commit is contained in:
@@ -1,13 +0,0 @@
|
||||
// here we simply import some common image files and re-export them as StaticImageData.
|
||||
|
||||
// favicons
|
||||
export { default as faviconIco } from "../../public/static/favicons/favicon.ico";
|
||||
export { default as faviconPng } from "../../public/static/favicons/favicon.png";
|
||||
export { default as appleTouchIconPng } from "../../public/static/favicons/apple-touch-icon.png";
|
||||
export { default as chrome512Png } from "../../public/static/favicons/android-chrome-512x512.png";
|
||||
export { default as chrome192Png } from "../../public/static/favicons/android-chrome-192x192.png";
|
||||
export { default as maskable512Png } from "../../public/static/favicons/maskable-512x512.png";
|
||||
export { default as maskable192Png } from "../../public/static/favicons/maskable-192x192.png";
|
||||
|
||||
// other
|
||||
export { default as meJpg } from "../../public/static/images/me.jpg";
|
@@ -3,8 +3,13 @@
|
||||
const config = {
|
||||
// Site info
|
||||
siteName: "Jake Jarvis",
|
||||
siteDomain: "jarv.is",
|
||||
siteLocale: "en-US",
|
||||
baseUrl:
|
||||
process.env.NEXT_PUBLIC_VERCEL_ENV === "production" && process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL
|
||||
? `https://${process.env.NEXT_PUBLIC_VERCEL_PROJECT_PRODUCTION_URL}`
|
||||
: process.env.NEXT_PUBLIC_VERCEL_ENV === "preview" && process.env.NEXT_PUBLIC_VERCEL_URL
|
||||
? `https://${process.env.NEXT_PUBLIC_VERCEL_URL}`
|
||||
: `http://localhost:${process.env.PORT || 3000}`,
|
||||
timeZone: "America/New_York", // https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List
|
||||
onionDomain: "http://jarvis2i2vp4j4tbxjogsnqdemnte5xhzyi7hziiyzxwge3hzmh57zad.onion",
|
||||
shortDescription: "Front-End Web Developer in Boston, MA",
|
||||
|
@@ -3,23 +3,23 @@ import type { MenuItemProps } from "../../components/MenuItem";
|
||||
|
||||
export const menuItems: MenuItemProps[] = [
|
||||
{
|
||||
Icon: FiHome,
|
||||
text: "Home",
|
||||
href: "/",
|
||||
icon: FiHome,
|
||||
},
|
||||
{
|
||||
Icon: FiEdit3,
|
||||
text: "Notes",
|
||||
href: "/notes",
|
||||
icon: FiEdit3,
|
||||
},
|
||||
{
|
||||
Icon: FiCode,
|
||||
text: "Projects",
|
||||
href: "/projects",
|
||||
icon: FiCode,
|
||||
},
|
||||
{
|
||||
Icon: FiMail,
|
||||
text: "Contact",
|
||||
href: "/contact",
|
||||
icon: FiMail,
|
||||
},
|
||||
];
|
||||
|
Reference in New Issue
Block a user