Skip to content

Commit

Permalink
✨ feat: Added auth-next and protected component
Browse files Browse the repository at this point in the history
  • Loading branch information
masoumehmohebbi committed Jun 9, 2024
1 parent 17829ef commit 3054b67
Show file tree
Hide file tree
Showing 33 changed files with 486 additions and 64 deletions.
2 changes: 1 addition & 1 deletion components/icons/arrow-right-icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function ArrowRightIcon({ width, height }) {
function ArrowRightIcon({ width, height }: { width: number; height: number }) {
return (
<svg
width={width}
Expand Down
2 changes: 1 addition & 1 deletion components/icons/date-icon.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
function DateIcon({ width, height }) {
function DateIcon({ width, height }: { width: number; height: number }) {
return (
<svg
width={width}
Expand Down
1 change: 1 addition & 0 deletions dist/_events.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
[{"eventName":"NEXT_CLI_SESSION_STOPPED","payload":{"nextVersion":"14.2.3","nodeVersion":"v22.1.0","cliCommand":"dev","durationMilliseconds":12745,"turboFlag":false,"pagesDir":true,"appDir":false}}]
16 changes: 16 additions & 0 deletions dist/build-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"polyfillFiles": [
"static/chunks/polyfills.js"
],
"devFiles": [],
"ampDevFiles": [],
"lowPriorityFiles": [
"static/development/_buildManifest.js",
"static/development/_ssgManifest.js"
],
"rootMainFiles": [],
"pages": {
"/_app": []
},
"ampFirstPages": []
}
Binary file added dist/cache/webpack/client-development/0.pack.gz
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions dist/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"type": "commonjs"}
1 change: 1 addition & 0 deletions dist/react-loadable-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions dist/server/interception-route-rewrite-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__INTERCEPTION_ROUTE_REWRITE_MANIFEST="[]"
1 change: 1 addition & 0 deletions dist/server/middleware-build-manifest.js

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

6 changes: 6 additions & 0 deletions dist/server/middleware-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"version": 3,
"middleware": {},
"functions": {},
"sortedMiddleware": []
}
1 change: 1 addition & 0 deletions dist/server/middleware-react-loadable-manifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__REACT_LOADABLE_MANIFEST="{}"
1 change: 1 addition & 0 deletions dist/server/next-font-manifest.js

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

1 change: 1 addition & 0 deletions dist/server/next-font-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{"pages":{},"app":{},"appUsingSizeAdjust":false,"pagesUsingSizeAdjust":false}
1 change: 1 addition & 0 deletions dist/server/pages-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
{}
1 change: 1 addition & 0 deletions dist/static/chunks/polyfills.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions dist/static/development/_buildManifest.js

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

1 change: 1 addition & 0 deletions dist/static/development/_ssgManifest.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
self.__SSG_MANIFEST=new Set;self.__SSG_MANIFEST_CB&&self.__SSG_MANIFEST_CB()
2 changes: 2 additions & 0 deletions dist/trace

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
/** @type {import('next').NextConfig} */
const nextConfig = {
basePath: '/next.js14-todo-list-pag-router',
output: 'export',
distDir: 'dist',
reactStrictMode: true,
swcMinify: true,
};
Expand Down
Loading

0 comments on commit 3054b67

Please sign in to comment.