Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
5b83722
add favicon
DuyNguyen0406 Jun 16, 2025
81afe83
delete hostname unsplash
DuyNguyen0406 Jun 16, 2025
d5d4b26
delete remotePatterns
DuyNguyen0406 Jun 16, 2025
ccfa62b
add blog
DuyNguyen0406 Jun 18, 2025
eb82729
update menu mobile
DuyNguyen0406 Jun 19, 2025
50f44de
clean note
DuyNguyen0406 Jun 19, 2025
f540eba
Update code
DuyNguyen0406 Jun 19, 2025
7dd94ab
update script and lint
DuyNguyen0406 Jun 19, 2025
4c2b2e4
lint
DuyNguyen0406 Jun 19, 2025
5af5db6
update css toc
DuyNguyen0406 Jun 19, 2025
263099d
update style mdx content
DuyNguyen0406 Jun 19, 2025
7b9e48d
nam
namnm Jun 19, 2025
131e47e
Update code
DuyNguyen0406 Jun 21, 2025
908574d
update code
DuyNguyen0406 Jun 21, 2025
76fc5d3
update locele cookie demo header
DuyNguyen0406 Jun 23, 2025
7841a6d
update kebab
DuyNguyen0406 Jun 23, 2025
0969182
updae kebab section
DuyNguyen0406 Jun 23, 2025
0be201b
update code
DuyNguyen0406 Jun 24, 2025
86ae25f
remove custom scrollbar styles
Rxyz-n Jun 25, 2025
a3078fd
update image blog
DuyNguyen0406 Jun 25, 2025
e26a626
Update feedback
DuyNguyen0406 Jun 25, 2025
7b4c18d
lint
DuyNguyen0406 Jun 25, 2025
dc65302
update handle cookie
DuyNguyen0406 Jun 26, 2025
c1289a0
fix import paths
Rxyz-n Jun 26, 2025
ae6d1fd
update code
DuyNguyen0406 Jun 26, 2025
d1ac5e6
lint
DuyNguyen0406 Jun 26, 2025
11e4ec5
fix
Rxyz-n Jun 26, 2025
7ae95f8
fix
Rxyz-n Jun 26, 2025
2269c8c
update code
DuyNguyen0406 Jun 26, 2025
da1ed66
update import
DuyNguyen0406 Jun 26, 2025
dc5bd9c
update code and fix bug hydrate
DuyNguyen0406 Jun 27, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 19 additions & 9 deletions next.config.ts
Original file line number Diff line number Diff line change
@@ -1,14 +1,23 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
import type { NextConfig } from 'next'
import createNextIntlPlugin from 'next-intl/plugin'

const nextConfig: NextConfig = {
webpack: (config, { dev, isServer }) => {
config.ignoreWarnings = [
{ module: /css-loader/ },
{ module: /postcss-loader/ },
/Failed to parse source map/,
]

if (dev && !isServer) {
config.cache = false
}

return config
},
trailingSlash: false,
images: {
unoptimized: true,
remotePatterns: [
{
protocol: 'https',
hostname: 'source.unsplash.com',
},
],
},
eslint: {
ignoreDuringBuilds: true,
Expand All @@ -19,4 +28,5 @@ const nextConfig = {
output: 'export',
}

export default nextConfig
const withNextIntl = createNextIntlPlugin()
export default withNextIntl(nextConfig)
27 changes: 23 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,39 @@
"private": true,
"version": "0.0.0",
"scripts": {
"start": "next dev",
"build": "next build",
"start": "rm -rf .next && velite build && next dev",
"build": "velite build && next build",
"prod": "next start",
"lint": "next lint --fix && prettier --write --log-level=error --write ."
},
"dependencies": {
"@heroicons/react": "2.2.0",
"@hookform/resolvers": "5.1.1",
"@mdx-js/loader": "^3.1.0",
"@mdx-js/mdx": "^3.1.0",
"@mdx-js/react": "^3.1.0",
"@next/mdx": "^15.3.4",
"@radix-ui/react-checkbox": "1.3.2",
"@radix-ui/react-dropdown-menu": "^2.1.15",
"@radix-ui/react-popover": "1.1.14",
"@radix-ui/react-slot": "1.2.3",
"@types/mdx": "^2.0.13",
"class-variance-authority": "^0.7.1",
"clsx": "2.1.1",
"katex": "^0.16.22",
"lodash": "4.17.21",
"next": "15.3.3",
"lucide-react": "^0.516.0",
"next": "15.3.4",
"next-intl": "^4.1.0",
"next-mdx-remote": "^5.0.0",
"react": "19.1.0",
"react-dom": "19.1.0",
"react-hook-form": "7.57.0",
"rehype-autolink-headings": "^7.1.0",
"rehype-katex": "^7.0.1",
"rehype-pretty-code": "^0.14.1",
"rehype-slug": "^6.0.0",
"sticky-sidebar": "^3.3.1",
"tailwind-merge": "3.3.1",
"tailwindcss": "3.4.1",
"zod": "3.25.64"
Expand All @@ -29,6 +45,7 @@
"@tailwindcss/typography": "0.5.10",
"@trivago/prettier-plugin-sort-imports": "5.2.2",
"@types/lodash": "4.17.17",
"@types/negotiator": "^0.6.4",
"@types/node": "24.0.1",
"@types/react": "19.1.8",
"@types/react-dom": "19.1.6",
Expand All @@ -49,7 +66,9 @@
"postcss-nesting": "13.0.2",
"prettier": "3.5.3",
"prettier-plugin-tailwindcss": "0.6.12",
"typescript": "5.8.3"
"remark-math": "^6.0.0",
"typescript": "5.8.3",
"velite": "^0.2.4"
},
"packageManager": "pnpm@10.12.1"
}
Loading