Skip to content

Commit 66f7395

Browse files
.
1 parent ee7d8a8 commit 66f7395

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

46 files changed

+2547
-499
lines changed

.eslintrc.cjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ const config = {
2222
"fixStyle": "inline-type-imports"
2323
}
2424
],
25+
"@typescript-eslint/prefer-nullish-coalescing": "warn",
26+
"prefer-const": "warn",
2527
// "@typescript-eslint/no-unused-vars": [
2628
// "warn",
2729
// {

next.config.js

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,49 @@
44
*/
55
await import("./src/env.js");
66

7+
const routes = {
8+
desktop: "/",
9+
lock: "/lock-screen",
10+
};
11+
712
/** @type {import("next").NextConfig} */
813
const config = {
914
typescript: {
1015
ignoreBuildErrors: true,
1116
},
17+
async redirects() {
18+
return [
19+
{
20+
source: routes.desktop,
21+
destination: routes.lock,
22+
permanent: false,
23+
// missing: [
24+
// {
25+
// type: "query",
26+
// key: "authorized",
27+
// value: "true",
28+
// },
29+
// ],
30+
missing: [
31+
{
32+
type: "cookie",
33+
key: "authorized",
34+
value: "true",
35+
},
36+
],
37+
},
38+
];
39+
},
40+
// images: {
41+
// remotePatterns: [
42+
// {
43+
// protocol: "https",
44+
// hostname: "github.com",
45+
// pathname: "/programming-with-ia/windows-11/**",
46+
// search: ""
47+
// }
48+
// ]
49+
// }
1250
};
1351

1452
export default config;

package.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@
1515
"check": "run-s lint typecheck",
1616
"clean": "rimraf .next",
1717
"format:write": "prettier --write \"**/*.{ts,tsx,js,jsx,mdx,css}\" --cache",
18-
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx,css}\" --cache"
18+
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,mdx,css}\" --cache",
19+
"clone-project": "C:\\Users\\immi\\AppData\\Local\\Programs\\Python\\Python311\\python.exe -u \"e:\\my programms\\clone copy project gitignore patterns new.py\" --src \"C:\\Users\\immi\\Desktop\\Code\\nextJs\\fluent-ui\" --dest \"C:\\Users\\immi\\Desktop\\Code\\nextJs\\windows-11\""
1920
},
2021
"dependencies": {
2122
"@iconify-icons/fluent": "^1.2.38",
@@ -26,17 +27,20 @@
2627
"@radix-ui/react-dialog": "^1.1.2",
2728
"@radix-ui/react-dropdown-menu": "^2.1.2",
2829
"@radix-ui/react-icons": "^1.3.0",
30+
"@radix-ui/react-popover": "^1.1.4",
2931
"@radix-ui/react-scroll-area": "^1.2.0",
3032
"@radix-ui/react-slot": "^1.1.0",
3133
"@radix-ui/react-tooltip": "^1.1.2",
3234
"@t3-oss/env-nextjs": "^0.10.1",
3335
"class-variance-authority": "^0.7.0",
3436
"clsx": "^2.1.1",
37+
"cookies-next": "^5.0.2",
3538
"date-fns": "^4.1.0",
3639
"emittor": "^0.2.0-beta.2",
3740
"framer-motion": "^11.15.0",
3841
"geist": "^1.3.0",
3942
"lenis": "^1.1.16",
43+
"lodash": "^4.17.21",
4044
"lodash.debounce": "^4.0.8",
4145
"lucide-react": "^0.441.0",
4246
"next": "15.1.0",
@@ -47,16 +51,20 @@
4751
"react-icons": "5.3.0",
4852
"react-player": "^2.16.0",
4953
"react-resizable": "^3.0.5",
54+
"react-resizable-layout": "^0.7.2",
5055
"react-resizable-panels": "^2.1.3",
56+
"react-rnd": "^10.4.14",
5157
"shadcn-theme-editor": "^1.4.1",
5258
"tailwind-merge": "^2.5.2",
5359
"tailwindcss-animate": "^1.0.7",
60+
"tailwindcss-full-bleed": "^2.0.2",
5461
"type-fest": "^4.30.0",
5562
"zod": "^3.23.3"
5663
},
5764
"devDependencies": {
5865
"@tailwindcss/container-queries": "^0.1.1",
5966
"@types/eslint": "^8.56.10",
67+
"@types/lodash": "^4.17.14",
6068
"@types/lodash.debounce": "^4.0.9",
6169
"@types/node": "^20.14.10",
6270
"@types/react": "19.0.0",
@@ -76,6 +84,17 @@
7684
"prettier-plugin-tailwindcss": "^0.6.5",
7785
"tailwind-scrollbar": "^3.1.0",
7886
"tailwindcss": "^3.4.3",
87+
"tailwindcss-elevation": "^2.0.0",
7988
"typescript": "^5.5.3"
89+
},
90+
"ct3aMetadata": {
91+
"initVersion": "7.37.0"
92+
},
93+
"packageManager": "pnpm@9.8.0",
94+
"pnpm": {
95+
"overrides": {
96+
"@types/react": "19.0.1",
97+
"@types/react-dom": "19.0.2"
98+
}
8099
}
81100
}

0 commit comments

Comments
 (0)