This is a personal site project bootstrapped with create-next-app
.
- Clone the repo & install dependencies:
yarn
- Open your Ghost installation, go to Integrations, create new called API (for example) and copy-paste keys to
.env
file:
NEXT_PUBLIC_GHOST_API=%API URL%
NEXT_PUBLIC_GHOST_API_KEY=%Content API key%
- Create new page with
home
alias. You can leave it empty, but then it will be blank space before "Let's roll" button. Add HTML block:
h1
tag is for the bigger text, h2
- for the small one.
-
Add
blog
page. You can leave it empty, you'll need it just for posts list. -
Setup your navigation. This is how I made it
- Run the development server:
npm run dev
# or
yarn dev
Open http://localhost:3000 with your browser to see the result.