My personal website , designed loosely in Figma and coded in VS Code, built using Next.js and TailwindCSS, deployed to Vercel. Text is in the FiraCode typeface
👉 https://younes-megaache.com/
- clone this repo:
git clone https://github.com/megaacheyounes/portfolio-tailwind
- install node packages:
yarn
ornpm i
- add your information, under folder
src/data
update all files with your data (e.g. personal information, projects, experiences..) - replace resume (CV) in the folder
public
, must be PDF with nameresume.pdf
(if file extension or name is different, then updateRESUME_PATH
inutils/env.ts
) - run and test your portfolio:
yarn dev
ornpm run dev
- make a build (to make sure there will be no compilation errors when you deploy):
yarn build
ornpm run build
If you wish to add analytics, but do not want extensions or browsers to block it, then you can use Ackee self hosted Analytics, its a free and open source Analytics tool that you can deploy easily and for free to vercel or other Node.js hosting providers.
- follow Ackee instructions to deploy your analytics platform, for deploying to Vercel see: Ackee with vercel
- create a domain in your Ackee tool
- update
src/utils/env.ts
with your Ackee analytics base URL, Ackee script URL and domain ID
If you do NOT which to add Analytics, then set the flag ENABLE_ANALYTICS
to false, in src/tools/env.ts
Vercel is a free and very convenient platform to publish Next.js projects (Next.js is developed by vercel)
- create a repo using your github account github.com/new, then add repo link:
git remote add origin <your repo link>
- publish the project to your repo:
git push origin master
- import your repo in Vercel: vercel.com/new
Vercel will automatically run the build script every time you merge into master branch, as well as generating previews when you push to dev branch
this project is static, therefor you can deploy it to any web hosting (e.g. Firebase hosting)
- update next.config.js: set value
output
toexport
(learn more: vercel docs) - make a build:
yarn build
- upload the static files under
/out
(e.i. html, css and js) to your web hosting provider (e.g. Firebase hosting)
- ⚡️ Next.js 13 with App Router
- ⚛️ React 18
- ✨ TypeScript
- 💨 Tailwind CSS 3 — Configured with CSS Variables to extend the primary colors
- 📈 Absolute Import and Path Alias — components imported using
@/
prefix - 📏 ESLint — to find and fix problems, also auto sort imports
- 💖 Prettier — code formatting and consistency
- 📈 Analytics - supports Ackee self hosted Analytics https://github.com/electerious/Ackee
- update all npm packages
- add documentation
- add E2E tests
- add contact form
- improve animations
DO WHAT YOU WANT TO PUBLIC LICENSE
Copyright (C) 2024 Younes Megaache
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT YOU WANT TO PUBLIC LICENSE
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
1. You just DO WHAT YOU WANT TO.