- Framework: Next.js
- Styling: emotion styled components
- Content: MDX, contentlayer and Notion API
- Database: PlanetScale
- ORM: Prisma
- Deployment: Vercel
.
|____data
|____public
|____src
| |____styles
| |____components
| | |____atoms
| | |____elements
| | |____blocks
| | |____sections
| | |____mdx
| |____hooks
| |____providers
| |____pages
| | |____api
| | |____blog
| |____lib
| |____utils
| |____types
|____scripts
|____tailwind
data/*
- MDX blog posts, inspiration items (generated)public/*
- Static assets including images, fonts, audios and filessrc/styles/*
- Some global styles. Built using tailwind classessrc/components/atoms/*
- The simplest components. Most of them are statelesssrc/components/elements/*
- Slightly more complex components. Some use or extend atomssrc/components/blocks/*
- The main blocks for the website:metatags
,toolbar
,footer
andcontent
src/components/sections/*
- The different sections or pages of my website. (They're here to keepsrc/pages/
as clean as possible)src/components/mdx/*
- Components built specifically for MDX contentsrc/hooks/*
- A couple hooks used throughout the appsrc/providers/*
- Just a wrapper for accessing current themesrc/pages/api/*
- API routes powering/dashboard
, and a page to download github releases assetssrc/pages/blog/*
- Static pre-rendered blog pages using MDXsrc/pages/*
- All other static pagessrc/lib/*
- Short for "library", a collection of helpful utilities or code for external servicessrc/utils/*
- Almost the same aslib
just with code built to be used in componentssrc/tailwind/*
- Setup for different tailwind components and classes
Project partially based on Lee Rob's website
git clone https://github.com/jahirfiquitiva/jahir.dev.git
cd jahir.dev
yarn
Create a .env
file similar to .env.example
.
yarn dev
All the previous versions of this website can be found at jahirfiquitiva/prev-websites