Skip to content

Commit 3edd3de

Browse files
committed
updated navbar and added react compiler
1 parent a0606e5 commit 3edd3de

File tree

4 files changed

+16
-3
lines changed

4 files changed

+16
-3
lines changed

apps/web/next.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ const withMDX = createMDX();
66
const config = {
77
reactStrictMode: true,
88
output: "export",
9+
experimental: {
10+
reactCompiler: true,
11+
},
912
};
1013

1114
export default withMDX(config);

apps/web/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@xyflow/react": "^12.4.3",
14+
"babel-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216",
1415
"framer-motion": "^12.4.3",
1516
"fumadocs-core": "15.0.6",
1617
"fumadocs-mdx": "11.5.3",

apps/web/src/app/(home)/_components/Navbar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ const Navbar = () => {
5656

5757
<div
5858
className={`flex items-center backdrop-blur-md bg-white/5 rounded-full border border-white/10 py-1 px-1.5 text-sm relative transition-all duration-500 ease-out ${
59-
scrolled ? "w-[480px]" : "w-[335px]"
59+
scrolled ? "w-[480px]" : "w-[350px]"
6060
}`}
6161
>
6262
<div
@@ -126,7 +126,7 @@ const Navbar = () => {
126126
style={{
127127
transform: scrolled ? "translateY(0)" : "translateY(-8px)",
128128
}}
129-
className={`text-violet-700 hover:text-white transition-all duration-300 py-2 px-4 rounded-full ${
129+
className={` hover:text-white transition-all duration-300 py-2 px-4 rounded-full ${
130130
scrolled
131131
? "opacity-100 translate-y-0"
132132
: "opacity-0 pointer-events-none"

bun.lock

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
},
1515
"apps/cli": {
1616
"name": "create-better-t-stack",
17-
"version": "0.7.3",
17+
"version": "0.7.4",
1818
"bin": {
1919
"create-better-t-stack": "dist/index.js"
2020
},
@@ -40,6 +40,7 @@
4040
"version": "0.0.0",
4141
"dependencies": {
4242
"@xyflow/react": "^12.4.3",
43+
"babel-plugin-react-compiler": "^19.0.0-beta-21e868a-20250216",
4344
"framer-motion": "^12.4.3",
4445
"fumadocs-core": "15.0.6",
4546
"fumadocs-mdx": "11.5.3",
@@ -66,8 +67,14 @@
6667
"packages": {
6768
"@alloc/quick-lru": ["@alloc/quick-lru@5.2.0", "", {}, "sha512-UrcABB+4bUrFABwbluTIBErXwvbsU/V7TZWfmbgJfbkwiBuziS9gxdODUyuiecfdGQ85jglMW6juS3+z5TsKLw=="],
6869

70+
"@babel/helper-string-parser": ["@babel/helper-string-parser@7.25.9", "", {}, "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA=="],
71+
72+
"@babel/helper-validator-identifier": ["@babel/helper-validator-identifier@7.25.9", "", {}, "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ=="],
73+
6974
"@babel/runtime": ["@babel/runtime@7.26.7", "", { "dependencies": { "regenerator-runtime": "^0.14.0" } }, "sha512-AOPI3D+a8dXnja+iwsUqGRjr1BbZIe771sXdapOtYI531gSqpi92vXivKcq2asu/DFpdl1ceFAKZyRzK2PCVcQ=="],
7075

76+
"@babel/types": ["@babel/types@7.26.9", "", { "dependencies": { "@babel/helper-string-parser": "^7.25.9", "@babel/helper-validator-identifier": "^7.25.9" } }, "sha512-Y3IR1cRnOxOCDvMmNiym7XpXQ93iGDDPHx+Zj+NM+rg0fBaShfQLkg+hKPaZCEvg5N/LeCo4+Rj/i3FuJsIQaw=="],
77+
7178
"@biomejs/biome": ["@biomejs/biome@1.9.4", "", { "optionalDependencies": { "@biomejs/cli-darwin-arm64": "1.9.4", "@biomejs/cli-darwin-x64": "1.9.4", "@biomejs/cli-linux-arm64": "1.9.4", "@biomejs/cli-linux-arm64-musl": "1.9.4", "@biomejs/cli-linux-x64": "1.9.4", "@biomejs/cli-linux-x64-musl": "1.9.4", "@biomejs/cli-win32-arm64": "1.9.4", "@biomejs/cli-win32-x64": "1.9.4" }, "bin": { "biome": "bin/biome" } }, "sha512-1rkd7G70+o9KkTn5KLmDYXihGoTaIGO9PIIN2ZB7UJxFrWw04CZHPYiMRjYsaDvVV7hP1dYNRLxSANLaBFGpog=="],
7279

7380
"@biomejs/cli-darwin-arm64": ["@biomejs/cli-darwin-arm64@1.9.4", "", { "os": "darwin", "cpu": "arm64" }, "sha512-bFBsPWrNvkdKrNCYeAp+xo2HecOGPAy9WyNyB/jKnnedgzl4W4Hb9ZMzYNbf8dMCGmUdSavlYHiR01QaYR58cw=="],
@@ -568,6 +575,8 @@
568575

569576
"axobject-query": ["axobject-query@4.1.0", "", {}, "sha512-qIj0G9wZbMGNLjLmg1PT6v2mE9AH2zlnADJD/2tC6E00hgmhUOfEB6greHPAfLRSufHqROIUTkw6E+M3lH0PTQ=="],
570577

578+
"babel-plugin-react-compiler": ["babel-plugin-react-compiler@19.0.0-beta-21e868a-20250216", "", { "dependencies": { "@babel/types": "^7.19.0" } }, "sha512-WDOBsm9t9P0RADm8CSlav5OqWvs+3mZFvrBo/qf3vuNtdz78OG5TFxOy7De8ePR3rA6qg1Qmcjjae6nR1pOpCA=="],
579+
571580
"bail": ["bail@2.0.2", "", {}, "sha512-0xO6mYd7JB2YesxDKplafRpsiOzPt9V02ddPCLbY1xYGPOX24NTyN50qnUxgCPcSoYMhKpAuBTjQoRZCAkUDRw=="],
572581

573582
"balanced-match": ["balanced-match@1.0.2", "", {}, "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw=="],

0 commit comments

Comments
 (0)