Skip to content

Commit

Permalink
feat: implement appDir (#3)
Browse files Browse the repository at this point in the history
* feat: add RootLayout and refactor some components

* fix: add additional rule to eslint config

* refactor: adaptation page templates to app dir

* refactor: adapt blog archive pages to app dir

* refactor: add generateStaticParams in /blog/tag|kategoria

* refactor: disable dynamicParams in /blog/tag|kategoria

* fix: fix static params in /blog/tag|kategoria

* refactor: move functions which generate params into /lib/posts.ts

* refactor: adjust layouts in /blog, refactor single post page

* fix: static params

* fix: fix MDXRemote

* feat: implement seo features delivered in nextjs v13.2

* feat/fix: create ContactBanner component

* refactor: remove old SEO component from project

* refactor: remove old_components from project

* fix: exclude old_page dir in tsconfig

* refactor: remove old pages from project

* fix: fix links with hash in posts headings

* fix: remove unused import

* refactor: adjust font loader in next.config.js after upgrade to next v13.2

* chore: upgrade next to v13.2.1

* chore: upgrade nextjs to v13.2.2-canary.4

* refactor: replace getIDFromString => getSlug

* chore: upgrade nextjs to v13.2.3

* fix: remove redundant code

* Revert "fix: remove redundant code"

This reverts commit ccb8b0d.

* chore: update nextjs and lint-staged

* refactor: remove redundant code

* refactor: replace dayjs lib with build in js Intl to format dates

* chore: upgrade nextjs to v13.3

* feat: implement not-found page

* docs: add @to-do in /not-found.tsx

related to metadata

* refactor: remove className attr from atoms/Link component

* fix: improve a11y of sections and pictures on page

* refactor: remove molecules/BlogHeader

component was not used

* refactor: remove className from templates/NotFound Hero component

class name overrive class which currently was in default Hero styles

* refactor: move MainHeader component logic to dedicated hook

* refactor: move Dropdown compoents functions to dedicated hook

* refactor: refactor Section component

refactor sections on entire page

* feat: improve animation of Hamburger mobile menu toggler

* refactor: small improvements in Main component

* fix: fix section id in PromoPosts component

* chore: upgrade nextjs to v13.3.1

* fix: fix social menu icons color

* fix: remove old SocialMenu component

* chore: upgrade nextjs to v13.4

* chore: upgrade nextjs to v13.4.3

* refactor: small improvements in seo meta tags

* fix: fix base path for metatag resources

* fix: remove files generated and modified during build process

* fix: fix category link in post content
  • Loading branch information
grzegorzpokorski authored May 19, 2023
1 parent b2b5f02 commit 82469fd
Show file tree
Hide file tree
Showing 71 changed files with 1,224 additions and 1,145 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,7 @@ module.exports = {
},
},
ignorePatterns: ["build/", "dist/", "node_modules/", "*.js", "*.jsx"],
rules: {},
rules: {
"@next/next/no-html-link-for-pages": "off",
},
};
6 changes: 4 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
{
"prettier.configPath": ".prettierrc.json"
}
"prettier.configPath": ".prettierrc.json",
"typescript.tsdk": "node_modules/.pnpm/[email protected]/node_modules/typescript/lib",
"typescript.enablePromptUseWorkspaceTsdk": true
}
9 changes: 0 additions & 9 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
reactStrictMode: true,
experimental: {
fontLoaders: [
{
loader: "@next/font/google",
options: { subsets: ["latin", "latin-ext"] },
},
],
legacyBrowsers: false,
},
async redirects() {
return [
{
Expand Down
7 changes: 3 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,8 @@
"@types/node": "18.13.0",
"@types/react": "18.0.28",
"@types/react-dom": "18.0.11",
"dayjs": "^1.11.7",
"eslint": "8.34.0",
"next": "13.2.0",
"next": "13.4.3",
"next-mdx-remote": "^4.3.0",
"plaiceholder": "^2.5.0",
"react": "18.2.0",
Expand All @@ -41,13 +40,13 @@
"@typescript-eslint/parser": "^5.52.0",
"@vitejs/plugin-react": "^3.1.0",
"autoprefixer": "^10.4.13",
"eslint-config-next": "13.2.0",
"eslint-config-next": "13.4.3",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-react-hooks": "^4.6.0",
"husky": "^8.0.3",
"jsdom": "^21.1.0",
"lint-staged": "^13.1.2",
"lint-staged": "^13.2.0",
"next-sitemap": "^3.1.49",
"postcss": "^8.4.21",
"prettier": "2.8.4",
Expand Down
Loading

1 comment on commit 82469fd

@vercel
Copy link

@vercel vercel bot commented on 82469fd May 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.