Demo:
- My portfolio/CV - lethang7794.github.io
- One
cv.jsonfor both portfolio website and CV (PDF). - Fully responsive website.
- Dynamically dark mode.
- Dynamically theme.
- Support print directly from browser.
- Builtin GitHub workflow to
- generate PDF
- deploy as GitHub Page
- Astro - The next-gen web framework.
- Astro Icon: Inline and sprite-based SVGs.
- Typescript - JavaScript with type syntax.
- Hotpadkey - Dropdown menu with keyboard shortcuts made in pure JavaScript.
-
This project uses pnpm as package manager.
# Enable pnpm on MacOS, WSL & Linux corepack enable corepack prepare pnpm@latest --activate
-
Fork this repo then clone your fork.
-
Or, use this repo as a template
pnpm create astro@latest -- --template lethang7794/lethang7794.github.io
- Edit the
cv.jsonfile to create your own printable Portfolio/CV.
-
Run
pnpm devpnpm dev
-
Open http://localhost:4321 in your browser to view the result 🚀
- In
cv.json- change
basics.themefromdefaultto one of the value of:red,blue,green,cyberanddefault.
- change
Tip
These values red, blue, green, cyber are of the data-theme attribute in theme.css.
Note
You can create your own custom themes by adding your own css to theme.css.
| Command | Action | |
|---|---|---|
| ⚙️ | dev o start |
Launches a local development server at localhost:4321. |
| ⚙️ | build |
Checks for errors and creates a production build in ./dist/. |
| ⚙️ | preview |
Local preview at localhost:4321 |
cv.jsonis based onjsonresumeschema from jsonresume.org
