-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #17 from Coding-Bunker/feature/next-js-and-notion-…
…connect Feature/next js and notion connect
- Loading branch information
Showing
51 changed files
with
3,751 additions
and
6,311 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,37 @@ | ||
# build output | ||
dist/ | ||
|
||
# generated types | ||
.astro/ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
node_modules/ | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
.yarn/install-state.gz | ||
.env | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# logs | ||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
|
||
# environment variables | ||
.env | ||
.env.production | ||
# local env files | ||
.env*.local | ||
|
||
# macOS-specific files | ||
.DS_Store | ||
# vercel | ||
.vercel | ||
|
||
# typescript | ||
*.tsbuildinfo | ||
next-env.d.ts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"bracketSpacing": true, | ||
"endOfLine": "lf", | ||
"printWidth": 80, | ||
"semi": false, | ||
"singleQuote": false, | ||
"tabWidth": 2, | ||
"trailingComma": "all" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,47 +1,11 @@ | ||
# Astro Minimal Portfolio | ||
# Coding Bunker website | ||
|
||
[![Screenshot](./src/assets/screenshot.png)](https://minimal-portfolio.demo.tahir.sh/) | ||
|
||
## Project Structure | ||
|
||
```text | ||
portfolio/ | ||
├── public/ | ||
│ └── favicon.svg | ||
├── src/ | ||
│ ├── assets/ | ||
│ │ └── icons, etc. | ||
│ ├── components/ | ||
│ │ └── boxes | ||
│ ├── layouts/ | ||
│ │ └── Layout.astro | ||
│ ├── pages/ | ||
│ │ ├── posts/ | ||
│ │ │ └── index.astro | ||
│ │ ├── index.astro | ||
│ │ └── 404.astro | ||
│ ├── content/ | ||
│ │ ├── posts/ | ||
│ │ │ ├── lorem-ipsum.md | ||
│ │ │ └── lorem-ipsum-2.md | ||
│ │ └── config.ts | ||
│ └── config.ts | ||
└── LICENSE | ||
# Environemt file | ||
``` | ||
|
||
Make sure to fill in the `config.ts` file in the `src` folder. | ||
|
||
This project is build with TailwindCSS and DaisyUI so you can easily customize it. | ||
|
||
## Commands | ||
|
||
All commands are run from the root of the project, from a terminal: | ||
|
||
| Command | Action | | ||
| :------------------------- | :----------------------------------------------- | | ||
| `pnpm install` | Installs dependencies | | ||
| `pnpm run dev` | Starts local dev server at `localhost:4321` | | ||
| `pnpm run build` | Build your production site to `./dist/` | | ||
| `pnpm run preview` | Preview your build locally, before deploying | | ||
| `pnpm run astro ...` | Run CLI commands like `astro add`, `astro check` | | ||
| `pnpm run astro -- --help` | Get help using the Astro CLI | | ||
NOTION_TOKEN= | ||
NOTION_EVENTS_DATABASE= | ||
NOTION_CREW_DATABASE= | ||
NOTION_SUBSCRIBERS_DATABASE= | ||
BREVO_API_KEY= | ||
BREVO_STANDARD_CONTACT_LIST=XX | ||
``` |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: "export", | ||
images:{ | ||
unoptimized: true | ||
} | ||
}; | ||
|
||
export default nextConfig; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,28 +1,36 @@ | ||
{ | ||
"name": "portofolio", | ||
"type": "module", | ||
"version": "0.0.1", | ||
"license": "Apache-2.0", | ||
"name": "new-website", | ||
"version": "0.1.0", | ||
"private": true, | ||
"packageManager": "[email protected].0", | ||
"scripts": { | ||
"dev": "astro dev", | ||
"start": "astro dev", | ||
"build": "astro check && astro build", | ||
"preview": "astro preview", | ||
"astro": "astro" | ||
"dev": "next dev", | ||
"export": "next export", | ||
"build": "next build", | ||
"start": "next start", | ||
"lint": "next lint", | ||
"init:tailwind": "tailwindcss init tailwindcss.config.ts" | ||
}, | ||
"dependencies": { | ||
"@astrojs/check": "^0.5.9", | ||
"@astrojs/tailwind": "^5.1.0", | ||
"@tabler/icons": "^3.0.2", | ||
"astro": "^4.5.3", | ||
"sharp": "^0.33.2", | ||
"tailwindcss": "^3.4.1", | ||
"typescript": "^5.4.2" | ||
"@getbrevo/brevo": "^2.2.0", | ||
"@notionhq/client": "^2.2.15", | ||
"axios": "^1.7.2", | ||
"classnames": "^2.5.1", | ||
"luxon": "^3.5.0", | ||
"next": "14.2.5", | ||
"react": "^18", | ||
"react-dom": "^18", | ||
"react-player": "^2.16.0" | ||
}, | ||
"devDependencies": { | ||
"@tailwindcss/typography": "^0.5.10", | ||
"@types/node": "^20.11.28", | ||
"daisyui": "^4.7.3", | ||
"vite": "^5.1.7" | ||
"@types/luxon": "^3.4.2", | ||
"@types/node": "^20", | ||
"@types/react": "^18", | ||
"@types/react-dom": "^18", | ||
"eslint": "^8", | ||
"eslint-config-next": "14.2.5", | ||
"postcss": "^8", | ||
"tailwindcss": "^3.4.10", | ||
"typescript": "^5" | ||
} | ||
} | ||
} |
Oops, something went wrong.