Home
Getting Started
Features
Helper functions and utilities.
lib/og.ts
getBaseUrl()- Returns base URL based on environmentgenerateOGUrl()- Generates OG image API URL with params
lib/animation/variants.ts
EASING- Cubic bezier curvesDURATION- Animation durationsfilterVariants,buttonVariants,itemVariants- Framer Motion variantsgetStaggerDelay()- Calculate stagger delay by index
lib/content/mdx.ts
getAllArticles()- Parse all MDX files, sorted by dategetArticleBySlug()- Get single articlegetAllArticleSlugs()- List slugsgetRelatedArticles()- Random related articles
lib/image/unsplash.ts
extractPhotoId()- Extract Unsplash photo ID from URLsresolveImageUrl()- Resolve to local path via manifestgetAttribution()- Get author attribution
lib/vsco-local.ts
getLocalVscoImages()- Read VSCO export data with paginationhasLocalVscoImages()- Check if VSCO export exists
lib/projects/config.ts
projects- Project array with name, href, description, icon, tags
Nicholas Adamou