David Levai
pnpm install
utils/metadata.ts
with your information and general settingsutils/uses-data.ts
with software & hardware you useutils/projects-data.ts
with your projectsutils/navigation-links.ts
with the links you want in the navigationcontent/pages/now
with your availabilitycontent/pages/about
with your biopnpm dev
content/
and is organized in folders. The pages
folder contains the pages. The posts
folder contains the blogposts. The projects
folder contains the projects.lib
folder./uses
- lib/uses-data.ts
/projects
- lib/projects-data.ts
/social
- lib/social-data.ts
title
- The title of the page/postdescription
- The description of the page/postpublishedDate
- The date of the post (not used on pages)lastUpdatedDate
- The date of the page/posttags
- List of tags for the post. You can add new tags by adding them to the tagOptions
list. (not used on pages)series
- The series of the post. A series has a title and an order number for a post. (not used on pages)author
- The author of the post. An author has a name, and image. (not used on pages)status
- Whether the page/post is published or draftpackage.json
author informationNEXT_PUBLIC_BASE_URL
environment variable on Vercel to point to your website's root URLapp/layout.tsx
using the next/fonts
package.globals.css
.components/signature.tsx
. I used Figma to write the signature with Caveat
font and exported it as SVG. You can do the same and update the SVG in the component.public/
directory. You can use them in your content by using the /<filename>.<ext>
path.utils/metadata.ts
. This will be used around the site for titles, social links, social handles, SEO, etc.lib/navigation-links.ts
.lib/social-data.ts
. You can also add new social links by adding them to the file and using the platform name as the key and the URL as the value. The SocialButton
component will automatically add the icon for the platform if it's supported in simple-icons.NEXT_PUBLIC_UMAMI_SCRIPT_URL
& NEXT_PUBLIC_UMAMI_WEBSITE_ID
environment variables on your .env.local
file and on Vercel dashboard.NEXT_PUBLIC_PLAUSIBLE_DOMAIN
& NEXT_PUBLIC_PLAUSIBLE_SCRIPT_URL
environment variables on your .env.local
file and on Vercel dashboard. If you're concerned about ad blockers, you can proxy the plausible script through your own domain. You can read more about it here.NEXT_PUBLIC_GOOGLE_ANALYTICS_ID
environment variable on your .env.local
file and on Vercel dashboard.EMAIL_API_BASE
, EMAIL_API_KEY
, and EMAIL_GROUP_ID
environment variables on your .env.local
file and on Vercel dashboard.app/(site)/page.tsx
by changing the imported hero component.HeroSimple
- A simple centered hero section with image, title, and subtitle.HeroVideo
- 2 column hero section with Videoask embed on one side and title and subtitle on the other.HeroImage
- 2 column hero section with image on one side and title, and subtitle on the other.HeroMinimal
- small hero section name & job titlepublic
folder in Finder. Select all images, right-click, and choose "Open with > ImageOptim". This will optimize all images in the folder.robots.txt
& sitemap.xml
develop
.develop
branch.