Skip to content

Commit

Permalink
Merge pull request #613 from nasustim/update-content
Browse files Browse the repository at this point in the history
Update contents
  • Loading branch information
nasustim authored Dec 2, 2023
2 parents 67b99b6 + 812dba5 commit a29d4fe
Show file tree
Hide file tree
Showing 14 changed files with 276 additions and 54 deletions.
31 changes: 17 additions & 14 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/** @type {import('next').NextConfig} */
const config =
process.env.ANALYZE === 'true'
? require('@next/bundle-analyzer')({
enabled: true,
})({})
: {
experimental: {
forceSwcTransforms: true,
typedRoutes: true,
},
output: 'export',
reactStrictMode: true,
}

module.exports = config
const defaultConfig = {
experimental: {
forceSwcTransforms: true,
typedRoutes: true,
},
images: {
unoptimized: true,
},
output: 'export',
reactStrictMode: true,
}

const analyerConfig = require('@next/bundle-analyzer')({
enabled: true,
})({})

module.exports = config = process.env.ANALYZE === 'true' ? analyerConfig : defaultConfig
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
"postcss-scss": "4.0.9",
"react": "18.2.0",
"react-icons": "4.12.0",
"sharp": "^0.33.0",
"typescript": "5.3.2"
},
"devDependencies": {
Expand Down
239 changes: 229 additions & 10 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified public/static/profile_400x400.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import '@acab/reset.css'
import type { FC, ReactNode } from 'react'

import Tracker from '../components/molecules/SEO/Tracker'
import Tracker from '@nasustim.com/components/molecules/SEO/Tracker'
import { SITE_DOMAIN, SITE_TITLE } from '../constants'
import { signikaNegative, workSans } from 'src/font'

Expand Down
2 changes: 1 addition & 1 deletion src/app/not-found.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client'

import Template from '../components/templates/error'
import Template from '@nasustim.com/components/templates/error'

const Page = () => {
const error = new Error('404 Not Found')
Expand Down
Loading

0 comments on commit a29d4fe

Please sign in to comment.