- Copy
.env.local.example
to.env.local
and alter the following variables:NEXT_PUBLIC_TITLE
: site titleNEXT_PUBLIC_EASYMODE
: set totrue
to pre-solve all puzzlesGIFT_PATH
: path to a gift fileGIFT_FILENAME
: file name when downloadedGIFT_CONTENT_TYPE
: file mime type
- Upload your photos to
public/photos/
. E.g. photos of your couple of important moments. - Go to
app/puzzles/puzzles.ts
and add puzzles for these photos. SetpiecesCount
to manage difficulty. This is the count per one side, so the total count ispiecesCount^2
- Inspect the files listed below. Feel free to alter text and resources
app/congratulations/page.tsx
app/page.tsx
app/puzzles/[puzzle]/page.tsx
app/globals.css
public/*
# Activate node 18
# Skip this step if you use node without the nvm version manager
nvm use
# Start the server
npm run dev