Repository ini merupakan web portofolio yang saya buat menggunakan teknologi NextJS dan Tailwind CSS
- Clone repository ini
git clone --depth=1 https://github.com/armandwipangestu/armandwipangestu.vercel.app portofolio
- Instal dependency library
cd portofolio && yarn install
- Copy file
.env.example
ke file.env.local
cp .env.example .env.local
- Isikan
.env.local
NEXT_PUBLIC_BASE_URL="http://localhost:3000"
NEXT_PUBLIC_PUBLIC_ASSETS="$NEXT_PUBLIC_BASE_URL/images/posts/assets"
- Menjalankan di development
yarn run dev
components
├── article
│ └── article.js
├── layouts
│ ├── footer.js
│ ├── layout.js
│ └── navigation.js
└── utilities
├── icon.js
├── JumpToTop.js
├── metadata.js
└── toc.js
pages
├── _app.js
├── _document.js
├── _index_default.js
├── api
│ ├── menu.js
│ └── portofolio.js
├── blog
│ ├── posts
│ │ ├── [slug].js
│ │ └── index.js
│ └── tag
│ └── [tag].js
├── blog.js
├── index.js
├── pendidikan.js
├── pengalaman.js
├── portofolio.js
├── skills.js
└── tentang-saya.js
styles
└── globals.css
utilities
└── sortPostsByDate.js
File | Function |
---|---|
/blog/tag/[tag].js |
DynamicTagPage |
/blog/posts/[slug].js |
DynamicSinglePagePost |
Endpoint | Method |
---|---|
/api/menu |
GET |
/api/portofolio |
GET |