Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

AoT landing :3 (#1600)

PickleNike4225df6892e
diff --git a/apps/aot/README.md b/apps/aot/README.md
index cd714396..83ea03da 100644
--- a/apps/aot/README.md
+++ b/apps/aot/README.md
@@ -1,7 +1,13 @@
## Running in development
- Seed your database with `pnpm db:prod:seed`
-- Create a separate github oauth app for aot. Follow the same directions you did for the TypeHero app. Callback url should be `http://localhost:3003/api/auth/callback/github`
+- [Create a separate github oauth app](https://github.com/settings/applications/new) for aot. Follow the same directions you did for the TypeHero app. Callback url should be `http://localhost:3003/api/auth/callback/github`
- Change NEXT_AUTH_URL to `http://localhost:3003`. This will allow you to make sure your oauth flow works locally.
+- Update your `.env` with the following variables:
+ ```env
+ # AOT Github ID and Secret
+ GITHUB_AOT_ID=aoeu
+ GITHUB_AOT_SECRET=aoeu
+ ```
- Need to figure out a way to be able to sign into both typehero and aot locally but good enough ™
- Navigate to `http://localhost:3003` to see the app running locally.
diff --git a/apps/aot/global.d.ts b/apps/aot/global.d.ts
new file mode 100644
index 00000000..bff94710
--- /dev/null
+++ b/apps/aot/global.d.ts
@@ -0,0 +1 @@
+declare module '*.svg';
diff --git a/apps/aot/public/favicon.svg b/apps/aot/public/favicon.svg
new file mode 100644
index 00000000..813141e3
--- /dev/null
+++ b/apps/aot/public/favicon.svg
@@ -0,0 +1,29 @@
+<svg width="151" height="151" viewBox="0 0 151 151" fill="none" xmlns="http://www.w3.org/2000/svg">
+<mask id="mask0_1278_107" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="151" height="151">
+<rect width="151" height="151" fill="black"/>
+</mask>
+<g mask="url(#mask0_1278_107)">
+<g filter="url(#filter0_f_1278_107)">
+<path d="M52.4655 94.616C52.4655 96.536 52.7535 97.976 53.3295 98.936C53.9055 99.832 54.8975 100.504 56.3055 100.952L53.8095 108.248C48.4975 107.608 45.0095 105.272 43.3455 101.24C41.4895 103.544 39.1535 105.304 36.3375 106.52C33.5855 107.672 30.5455 108.248 27.2175 108.248C22.0975 108.248 18.0335 106.808 15.0255 103.928C12.0175 101.048 10.5135 97.24 10.5135 92.504C10.5135 87.192 12.5935 83.096 16.7535 80.216C20.9775 77.336 26.9295 75.896 34.6095 75.896H41.8095V72.632C41.8095 69.432 40.8495 67.096 38.9295 65.624C37.0095 64.152 34.2255 63.416 30.5775 63.416C28.7855 63.416 26.7055 63.64 24.3375 64.088C21.9695 64.536 19.5695 65.176 17.1375 66.008L14.4495 58.424C20.5295 56.12 26.4495 54.968 32.2095 54.968C38.9295 54.968 43.9855 56.44 47.3775 59.384C50.7695 62.328 52.4655 66.52 52.4655 71.96V94.616ZM30.3855 100.376C32.6255 100.376 34.7695 99.8 36.8175 98.648C38.9295 97.496 40.5935 95.896 41.8095 93.848V82.616H35.8575C30.9935 82.616 27.4415 83.448 25.2015 85.112C22.9615 86.712 21.8415 89.048 21.8415 92.12C21.8415 94.808 22.5455 96.856 23.9535 98.264C25.4255 99.672 27.5695 100.376 30.3855 100.376Z" fill="#34D399"/>
+<path d="M68.46 65.528C68.46 63.16 69.292 61.144 70.956 59.48C72.62 57.752 74.636 56.888 77.004 56.888C79.436 56.888 81.484 57.752 83.148 59.48C84.812 61.144 85.644 63.16 85.644 65.528C85.644 67.896 84.812 69.944 83.148 71.672C81.484 73.336 79.436 74.168 77.004 74.168C74.636 74.168 72.62 73.336 70.956 71.672C69.292 69.944 68.46 67.896 68.46 65.528ZM68.46 99.608C68.46 97.24 69.292 95.224 70.956 93.56C72.62 91.896 74.636 91.064 77.004 91.064C79.5 91.064 81.548 91.896 83.148 93.56C84.812 95.224 85.644 97.24 85.644 99.608C85.644 102.04 84.812 104.088 83.148 105.752C81.548 107.416 79.5 108.248 77.004 108.248C74.636 108.248 72.62 107.416 70.956 105.752C69.292 104.088 68.46 102.04 68.46 99.608Z" fill="#FB7185"/>
+</g>
+<path d="M52.4655 94.616C52.4655 96.536 52.7535 97.976 53.3295 98.936C53.9055 99.832 54.8975 100.504 56.3055 100.952L53.8095 108.248C48.4975 107.608 45.0095 105.272 43.3455 101.24C41.4895 103.544 39.1535 105.304 36.3375 106.52C33.5855 107.672 30.5455 108.248 27.2175 108.248C22.0975 108.248 18.0335 106.808 15.0255 103.928C12.0175 101.048 10.5135 97.24 10.5135 92.504C10.5135 87.192 12.5935 83.096 16.7535 80.216C20.9775 77.336 26.9295 75.896 34.6095 75.896H41.8095V72.632C41.8095 69.432 40.8495 67.096 38.9295 65.624C37.0095 64.152 34.2255 63.416 30.5775 63.416C28.7855 63.416 26.7055 63.64 24.3375 64.088C21.9695 64.536 19.5695 65.176 17.1375 66.008L14.4495 58.424C20.5295 56.12 26.4495 54.968 32.2095 54.968C38.9295 54.968 43.9855 56.44 47.3775 59.384C50.7695 62.328 52.4655 66.52 52.4655 71.96V94.616ZM30.3855 100.376C32.6255 100.376 34.7695 99.8 36.8175 98.648C38.9295 97.496 40.5935 95.896 41.8095 93.848V82.616H35.8575C30.9935 82.616 27.4415 83.448 25.2015 85.112C22.9615 86.712 21.8415 89.048 21.8415 92.12C21.8415 94.808 22.5455 96.856 23.9535 98.264C25.4255 99.672 27.5695 100.376 30.3855 100.376Z" fill="#34D399"/>
+<path d="M68.46 65.528C68.46 63.16 69.292 61.144 70.956 59.48C72.62 57.752 74.636 56.888 77.004 56.888C79.436 56.888 81.484 57.752 83.148 59.48C84.812 61.144 85.644 63.16 85.644 65.528C85.644 67.896 84.812 69.944 83.148 71.672C81.484 73.336 79.436 74.168 77.004 74.168C74.636 74.168 72.62 73.336 70.956 71.672C69.292 69.944 68.46 67.896 68.46 65.528ZM68.46 99.608C68.46 97.24 69.292 95.224 70.956 93.56C72.62 91.896 74.636 91.064 77.004 91.064C79.5 91.064 81.548 91.896 83.148 93.56C84.812 95.224 85.644 97.24 85.644 99.608C85.644 102.04 84.812 104.088 83.148 105.752C81.548 107.416 79.5 108.248 77.004 108.248C74.636 108.248 72.62 107.416 70.956 105.752C69.292 104.088 68.46 102.04 68.46 99.608Z" fill="#FB7185"/>
+<path d="M120.795 107H105.051V52.568H86.3308V40.472H140.187L138.651 52.568H120.795V107Z" fill="#60A5FA"/>
+<g filter="url(#filter1_f_1278_107)">
+<path d="M120.795 107H105.051V52.568H86.3308V40.472H140.187L138.651 52.568H120.795V107Z" fill="#60A5FA"/>
+</g>
+</g>
+<defs>
+<filter id="filter0_f_1278_107" x="0.513428" y="44.968" width="95.1306" height="73.28" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="5" result="effect1_foregroundBlur_1278_107"/>
+</filter>
+<filter id="filter1_f_1278_107" x="76.3308" y="30.4719" width="73.856" height="86.5281" filterUnits="userSpaceOnUse" color-interpolation-filters="sRGB">
+<feFlood flood-opacity="0" result="BackgroundImageFix"/>
+<feBlend mode="normal" in="SourceGraphic" in2="BackgroundImageFix" result="shape"/>
+<feGaussianBlur stdDeviation="5" result="effect1_foregroundBlur_1278_107"/>
+</filter>
+</defs>
+</svg>
diff --git a/apps/aot/public/fem-dark.png b/apps/aot/public/fem-dark.png
new file mode 100644
index 00000000..e6c80093
Binary files /dev/null and b/apps/aot/public/fem-dark.png differ
diff --git a/apps/aot/public/fem-light.png b/apps/aot/public/fem-light.png
new file mode 100644
index 00000000..65ac3b83
Binary files /dev/null and b/apps/aot/public/fem-light.png differ
diff --git a/apps/aot/public/frontend-masters.svg b/apps/aot/public/frontend-masters.svg
new file mode 100644
index 00000000..e92166d7
--- /dev/null
+++ b/apps/aot/public/frontend-masters.svg
@@ -0,0 +1 @@
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="200" viewBox="0 0 905.26 145.75" width="1207.01"><symbol id="a" overflow="visible"><path d="m60.83-82.8h-42.43v82.8h5.4v-40.94h27.84v-4.6h-27.84v-32.66h37.03zm0 0"/></symbol><symbol id="b" overflow="visible"><path d="m24.84-24.72c0-23.12 13.8-32.78 20-32.78 7.36 0 7.72 8.17 7.83 13.8h5.4c0-8.28-2.63-18.4-12.76-18.4-10.4 0-16.7 9.43-20.8 17.82l-2-17.25h-5.2l2.2 19.44v42.09h5.4zm0 0"/></symbol><symbol id="c" overflow="visible"><path d="m34.5 1.27c10.23 0 23.34-7.02 23.34-31.74 0-24.84-13.22-31.62-23.34-31.62-11.05 0-23.23 8-23.23 31.7 0 24.9 13 31.8 23.23 31.8zm0-4.6c-14.83 0-17.83-15.2-17.83-27.14 0-11.84 3-27.03 17.83-27.03 14.95 0 17.94 15.2 17.94 27.03 0 11.84-3 27.14-17.94 27.14zm0 0"/></symbol><symbol id="d" overflow="visible"><path d="m19.3-25.06c0-23.7 11.87-32.44 20.6-32.44 9.43 0 9.43 9.66 9.43 16.67v40.83h5.4v-43.36c0-9.2-3.1-18.73-14.14-18.73-9.7 0-19.4 9-21.7 18.1h-.2l-2.2-17.5h-5c2 10.4 2.4 20.7 2.4 31.1v30.39h5.4zm0 0"/></symbol><symbol id="e" overflow="visible"><path d="m51.86-60.83h-22.3v-19.57h-5.4v19.57h-13.7v4.6h13.7v38.3c0 15.4 7 19.2 14.82 19.2 9.08 0 15.75-6.33 19.55-14.14l-5.17-1.27c-2.64 5.74-7.36 10.8-14.14 10.8-7.5 0-9.66-5.52-9.66-11.38v-41.5h22.3zm0 0"/></symbol><symbol id="f" overflow="visible"><path d="m54.97-9.3c-5.75 3.44-12.3 5.97-19.2 5.97-9.32 0-18.18-4.84-19.2-26.23h41.63c0-25.17-12.1-32.53-22.34-32.53-17.93 0-24.7 16.6-24.7 32s6.53 31.4 24.36 31.4c7.83 0 14.72-2.4 21.74-5.5zm-38.4-24.86c-.37-10.68 6.76-23.34 18.6-23.34 11.97 0 18.17 12.88 17.6 23.34zm0 0"/></symbol><symbol id="g" overflow="visible"><path d="m54.28-85.33h-5.4v28.4c-4.15-3.34-9.55-5.16-14.96-5.16-8.4 0-23.92 6.9-23.92 31.3 0 23.69 13.34 32.09 23.58 32.09 7.12 0 13-3.7 16.22-10l2.18 10 5.07-.7c-2.2-7.13-2.77-14.5-2.77-21.96zm-5.4 69.8c-2.54 6.56-7.47 12.2-15.2 12.2-6.88 0-18.27-6.1-18.27-27.14 0-22.3 13-27.03 19.9-27.03 5.1 0 9.8 2.64 13.6 5.98zm0 0"/></symbol><g transform="translate(-528.72 -655.664)"><g fill="#8a8a8a"><use height="100%" width="100%" x="510.31" xlink:href="#a" y="783.61"/><use height="100%" width="100%" x="556.31" xlink:href="#b" y="783.61"/><use height="100%" width="100%" x="609.79" xlink:href="#c" y="783.61"/><use height="100%" width="100%" x="663.26" xlink:href="#d" y="783.61"/><use height="100%" width="100%" x="715.59" xlink:href="#e" y="783.61"/><use height="100%" width="100%" x="768.49" xlink:href="#f" y="783.61"/><use height="100%" width="100%" x="821.96" xlink:href="#d" y="783.61"/><use height="100%" width="100%" x="876.01" xlink:href="#g" y="783.61"/></g><g fill="#bf2b26"><path d="m1183.75 736.27c-2.36-2.2-4.6-3.28-6.68-3.28-1.85 0-3.9.9-6.18 2.9-2.3 1.9-4.5 4.4-6.5 7.4s-3.7 6.3-5.1 9.9c-1.4 3.5-2 7-2 10.2 0 1.2.2 2.1.7 2.7s1.1.9 1.9.9c.7 0 2-.9 3.8-2.7s3.8-4.1 6.1-7c2.2-2.9 4.6-6.2 7-9.9s4.6-7.5 6.7-11.4m29.1 13.7c.1.4.1.8.2 1.3v1.2c0 2.9-1 5.6-3.1 8.2-3.2 4.2-6.3 7.7-9.2 10.7-3 3-5.6 5.4-8.1 7.3s-4.6 3.3-6.5 4.2-3.4 1.4-4.5 1.4c-2 0-3.9-.5-5.8-1.6-1.9-1-3.3-2.5-4.2-4.4 0-1.1.1-2.1.3-3.2s.7-2.4 1.2-4c.6-1.6 1.4-3.5 2.5-5.7 1-2.2 2.4-5 4.1-8.4-1.4 0-2.3.3-2.7 1-4 5.3-7.4 9.6-10.2 13-2.8 3.3-5.3 6-7.3 8s-3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3.7-4.5 5.6-6.9 2-2.5 3.7-4.8 5.1-7.1m-256.31-58.21c-2.9 7.5-5.6 15.6-8.2 24.22-2.5 8.66-4.8 17.16-6.6 25.5-1.8 8.37-3.4 16.34-4.5 23.9-1.1 7.6-1.7 14.04-1.7 19.36 0 2.6.3 4.8.9 6.7.7 1.9 1.6 3.3 2.8 4.18-1.8 2.3-4.1 4.1-7 5.2-2.9 1.2-5.8 1.8-8.7 1.8-4.2 0-7.7-1.26-10.6-3.8-2.8-2.55-4.3-6.86-4.3-12.95 0-2.2.3-5.3.9-9.2s1.4-8.4 2.4-13.4c1.1-5 2.3-10.4 3.8-16.3 1.47-5.8 3-11.8 4.68-17.7-.65 0-1.12.1-1.4.2-.3.1-.6.4-.9.8l-40.8 62c-4.9 1.7-9.2 2.5-12.94 2.5-2.62 0-4.95-.5-6.94-1.6-2-1-3.5-2.8-4.4-5.4.35-2.9.66-6.3.9-10l.8-11.4c.3-3.9.5-7.8.8-11.8.2-4 .4-7.9.5-11.6.1-2.2.2-4.22.2-6.1v-6c-.1-.9-.3-1.5-.4-1.7-.2-.2-.57-.3-1.1-.3-9 16.18-16.77 29.77-23.3 40.77-6.6 11-12.47 19.9-17.56 26.6-5.1 6.8-9.7 11.6-13.8 14.5-4.1 3-8.1 4.4-12 4.4-4.4 0-8.1-1.5-11.02-4.7-2.9-3.12-5-7.4-6.1-12.83.6.2 1.3.4 2.3.4 4.7 0 9.2-1.9 13.7-5.9 4.5-3.9 9.1-9 13.7-15.4 4.7-6.4 9.5-13.6 14.4-21.8 4.95-8.2 10.18-16.4 15.7-24.8 2.78-4.2 5.3-7.3 7.56-9.3 2.24-2 4.9-3 8.03-3 1.7 0 3.6.3 5.8.9 1.3 0 2.1-.6 2.2-1.8-.8-9-3.5-15.8-8.1-20.6-4.6-4.7-11.2-7.1-19.7-7.1-6.9 0-13.5 1.7-19.6 4.9-6 3.3-11.3 7.6-15.8 13s-8 11.6-10.6 18.6-3.9 14.4-3.9 22c0 5.1 1.6 8.4 4.7 10-1.83 2.6-4.1 4.6-6.8 6-2.62 1.5-5.5 2.2-8.43 2.2-4.44 0-8.2-1.43-11.2-4.3-3.1-2.9-4.6-7.5-4.6-13.8 0-7.1 1.16-13.9 3.4-20.4 2.27-6.54 5.37-12.7 9.3-18.5 3.9-5.8 8.55-11.1 13.86-15.87 5.3-4.7 11-8.8 17.1-12.3 6.1-3.4 12.4-6.06 19-7.9 6.6-1.87 13.14-2.8 19.7-2.8 16.25 0 28.5 5.02 36.7 15.1 8.2 10.1 12.3 25.8 12.3 47.13 0 1.6-.1 3.6-.1 6.17l-.3 7.8-.3 7.4c-.1 2.28-.26 3.9-.37 4.9.64 0 1.1-.1 1.4-.2s.5-.4.7-.8l43.7-63.7c1.3-2.2 2.5-3.3 3.64-3.3.3 0 .8-.05 1.4-.1s1.1-.14 1.4-.25c1.64-1.9 4.2-2.9 7.62-2.9 2.2 0 4.7.4 7.44 1.2 2.8.74 5.8 2.1 9 3.94"/></g></g></svg>
\ No newline at end of file
diff --git a/apps/aot/public/typehero-dark.svg b/apps/aot/public/typehero-dark.svg
new file mode 100644
index 00000000..facd6ba0
--- /dev/null
+++ b/apps/aot/public/typehero-dark.svg
@@ -0,0 +1,13 @@
+<svg width="1526" height="633" viewBox="0 0 1526 633" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M847.068 85.1533V132.26H721V85.1533H847.068ZM747.411 37H811.03V222.94C811.03 226.865 811.637 230.049 812.851 232.492C814.152 234.847 816.017 236.548 818.446 237.595C820.874 238.555 823.78 239.034 827.162 239.034C829.591 239.034 832.15 238.816 834.838 238.38C837.614 237.857 839.695 237.421 841.083 237.072L850.711 283.262C847.675 284.134 843.382 285.225 837.831 286.533C832.366 287.842 825.818 288.671 818.185 289.02C803.267 289.717 790.474 287.973 779.806 283.786C769.224 279.511 761.114 272.881 755.477 263.896C749.926 254.911 747.237 243.614 747.411 230.006V37Z" fill="white"/>
+<path d="M918.428 361.511C910.796 361.511 903.597 360.901 896.832 359.679C890.066 358.545 884.255 357.019 879.398 355.1L893.449 308.647C899.694 310.741 905.331 311.962 910.362 312.311C915.479 312.66 919.859 311.831 923.502 309.825C927.232 307.906 930.094 304.46 932.089 299.488L934.561 293.469L863.526 85.1533H930.137L966.956 228.566H969.038L1006.38 85.1533H1073.38L998.05 305.376C994.407 316.368 989.247 326.051 982.568 334.425C975.976 342.887 967.433 349.517 956.938 354.314C946.53 359.112 933.693 361.511 918.428 361.511Z" fill="white"/>
+<path d="M1097.77 361.511V85.1533H1160.74V119.567H1162.69C1165.29 113.461 1168.98 107.572 1173.75 101.902C1178.61 96.232 1184.77 91.6086 1192.23 88.032C1199.77 84.3682 1208.79 82.5363 1219.29 82.5363C1233.16 82.5363 1246.13 86.2001 1258.19 93.5277C1270.33 100.855 1280.13 112.152 1287.59 127.418C1295.05 142.684 1298.78 162.137 1298.78 185.778C1298.78 208.546 1295.18 227.607 1287.98 242.96C1280.87 258.313 1271.24 269.828 1259.1 277.505C1247.04 285.181 1233.64 289.02 1218.9 289.02C1208.84 289.02 1200.12 287.362 1192.75 284.047C1185.37 280.732 1179.17 276.371 1174.14 270.962C1169.2 265.554 1165.38 259.753 1162.69 253.559H1161.39V361.511H1097.77ZM1160.09 185.647C1160.09 196.464 1161.52 205.885 1164.38 213.911C1167.33 221.936 1171.54 228.174 1177 232.623C1182.56 236.984 1189.19 239.165 1196.91 239.165C1204.72 239.165 1211.35 236.984 1216.82 232.623C1222.28 228.174 1226.4 221.936 1229.17 213.911C1232.04 205.885 1233.47 196.464 1233.47 185.647C1233.47 174.83 1232.04 165.452 1229.17 157.514C1226.4 149.576 1222.28 143.426 1216.82 139.064C1211.44 134.702 1204.8 132.521 1196.91 132.521C1189.1 132.521 1182.47 134.659 1177 138.933C1171.54 143.208 1167.33 149.314 1164.38 157.252C1161.52 165.191 1160.09 174.656 1160.09 185.647Z" fill="white"/>
+<path d="M1425.53 289.936C1404.63 289.936 1386.59 285.792 1371.41 277.505C1356.32 269.13 1344.69 257.223 1336.54 241.782C1328.47 226.255 1324.44 207.805 1324.44 186.432C1324.44 165.67 1328.52 147.526 1336.67 131.998C1344.82 116.383 1356.32 104.258 1371.15 95.6214C1385.98 86.898 1403.46 82.5363 1423.58 82.5363C1437.8 82.5363 1450.81 84.7607 1462.61 89.2097C1474.4 93.6586 1484.6 100.245 1493.18 108.968C1501.77 117.692 1508.45 128.465 1513.22 141.288C1517.99 154.025 1520.37 168.636 1520.37 185.124V201.088H1346.69V163.926H1461.18C1461.09 157.121 1459.49 151.059 1456.36 145.737C1453.24 140.416 1448.95 136.273 1443.48 133.307C1438.11 130.253 1431.9 128.727 1424.88 128.727C1417.77 128.727 1411.39 130.341 1405.75 133.568C1400.12 136.709 1395.65 141.027 1392.35 146.523C1389.06 151.931 1387.32 158.081 1387.15 164.973V202.789C1387.15 210.989 1388.75 218.185 1391.96 224.379C1395.17 230.485 1399.73 235.24 1405.62 238.642C1411.52 242.044 1418.55 243.745 1426.7 243.745C1432.34 243.745 1437.46 242.96 1442.05 241.39C1446.65 239.82 1450.6 237.508 1453.89 234.455C1457.19 231.401 1459.66 227.65 1461.31 223.201L1519.72 224.902C1517.29 238.075 1511.96 249.546 1503.72 259.316C1495.57 268.999 1484.86 276.545 1471.59 281.954C1458.31 287.275 1442.96 289.936 1425.53 289.936Z" fill="white"/>
+<path d="M797.89 478.58V593.205H734.27V325.222H795.808V429.118H798.02C802.53 416.73 809.902 407.047 820.137 400.069C830.458 393.09 843.078 389.601 857.996 389.601C872.047 389.601 884.277 392.741 894.685 399.022C905.093 405.216 913.159 413.983 918.884 425.323C924.695 436.663 927.557 449.923 927.47 465.102V593.205H863.851V477.664C863.938 466.498 861.162 457.774 855.524 451.493C849.887 445.212 841.951 442.072 831.716 442.072C825.037 442.072 819.14 443.555 814.022 446.521C808.992 449.4 805.045 453.543 802.183 458.952C799.408 464.36 797.976 470.903 797.89 478.58Z" fill="white"/>
+<path d="M1060.6 597C1039.69 597 1021.65 592.856 1006.47 584.569C991.382 576.195 979.76 564.287 971.607 548.847C963.541 533.319 959.508 514.869 959.508 493.497C959.508 472.735 963.584 454.59 971.737 439.062C979.89 423.447 991.382 411.322 1006.21 402.686C1021.05 393.962 1038.52 389.601 1058.64 389.601C1072.87 389.601 1085.88 391.825 1097.67 396.274C1109.47 400.723 1119.66 407.309 1128.25 416.033C1136.84 424.756 1143.51 435.529 1148.28 448.353C1153.05 461.089 1155.44 475.701 1155.44 492.188V508.152H981.755V470.99H1096.24C1096.16 464.186 1094.55 458.123 1091.43 452.802C1088.31 447.481 1084.01 443.337 1078.55 440.371C1073.17 437.318 1066.97 435.791 1059.95 435.791C1052.83 435.791 1046.46 437.405 1040.82 440.633C1035.18 443.773 1030.72 448.091 1027.42 453.587C1024.12 458.995 1022.39 465.145 1022.22 472.037V509.853C1022.22 518.053 1023.82 525.25 1027.03 531.443C1030.24 537.55 1034.79 542.304 1040.69 545.706C1046.59 549.108 1053.61 550.809 1061.77 550.809C1067.4 550.809 1072.52 550.024 1077.12 548.454C1081.72 546.884 1085.66 544.572 1088.96 541.519C1092.25 538.466 1094.73 534.715 1096.37 530.266L1154.79 531.967C1152.36 545.139 1147.03 556.61 1138.79 566.381C1130.63 576.064 1119.92 583.609 1106.65 589.018C1093.38 594.339 1078.03 597 1060.6 597Z" fill="white"/>
+<path d="M1187.93 593.205V392.218H1249.73V428.856H1251.81C1255.45 415.596 1261.4 405.739 1269.64 399.284C1277.88 392.741 1287.46 389.47 1298.39 389.47C1301.34 389.47 1304.37 389.688 1307.5 390.124C1310.62 390.473 1313.52 391.04 1316.21 391.825V447.437C1313.18 446.39 1309.19 445.561 1304.24 444.951C1299.39 444.34 1295.05 444.035 1291.23 444.035C1283.69 444.035 1276.88 445.736 1270.81 449.138C1264.82 452.453 1260.1 457.12 1256.63 463.139C1253.24 469.071 1251.55 476.05 1251.55 484.075V593.205H1187.93Z" fill="white"/>
+<path d="M1425.04 597C1404.05 597 1386.01 592.682 1370.92 584.046C1355.91 575.322 1344.34 563.197 1336.18 547.669C1328.12 532.054 1324.08 513.953 1324.08 493.366C1324.08 472.691 1328.12 454.59 1336.18 439.062C1344.34 423.447 1355.91 411.322 1370.92 402.686C1386.01 393.962 1404.05 389.601 1425.04 389.601C1446.03 389.601 1464.03 393.962 1479.03 402.686C1494.13 411.322 1505.7 423.447 1513.77 439.062C1521.92 454.59 1526 472.691 1526 493.366C1526 513.953 1521.92 532.054 1513.77 547.669C1505.7 563.197 1494.13 575.322 1479.03 584.046C1464.03 592.682 1446.03 597 1425.04 597ZM1425.43 548.716C1433.06 548.716 1439.53 546.361 1444.82 541.65C1450.11 536.939 1454.14 530.397 1456.92 522.022C1459.78 513.648 1461.21 503.965 1461.21 492.973C1461.21 481.807 1459.78 472.037 1456.92 463.662C1454.14 455.288 1450.11 448.745 1444.82 444.035C1439.53 439.324 1433.06 436.969 1425.43 436.969C1417.54 436.969 1410.86 439.324 1405.4 444.035C1400.02 448.745 1395.9 455.288 1393.04 463.662C1390.26 472.037 1388.87 481.807 1388.87 492.973C1388.87 503.965 1390.26 513.648 1393.04 522.022C1395.9 530.397 1400.02 536.939 1405.4 541.65C1410.86 546.361 1417.54 548.716 1425.43 548.716Z" fill="white"/>
+<path d="M0 74.9605C0 33.561 33.561 0 74.9605 0H558.039C599.439 0 633 33.561 633 74.9605V558.039C633 599.439 599.439 633 558.039 633H74.9605C33.561 633 0 599.439 0 558.039V74.9605Z" fill="#3178C6"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M261.441 348.724H333.158V299.842H133.263V348.724H204.629V566.368H261.441V348.724Z" fill="white"/>
+<path d="M366.474 566.368V299.842H423.962V410.298H508.741V299.842H566.368V566.368H508.741V455.523H423.962V566.368H366.474Z" fill="white"/>
+</svg>
diff --git a/apps/aot/public/typehero.svg b/apps/aot/public/typehero.svg
new file mode 100644
index 00000000..58b6397d
--- /dev/null
+++ b/apps/aot/public/typehero.svg
@@ -0,0 +1,13 @@
+<svg width="1526" height="633" viewBox="0 0 1526 633" fill="none" xmlns="http://www.w3.org/2000/svg">
+<path d="M847.068 85.1533V132.26H721V85.1533H847.068ZM747.411 37H811.03V222.94C811.03 226.865 811.637 230.049 812.851 232.492C814.152 234.847 816.017 236.548 818.446 237.595C820.874 238.555 823.78 239.034 827.162 239.034C829.591 239.034 832.15 238.816 834.838 238.38C837.614 237.857 839.695 237.421 841.083 237.072L850.711 283.262C847.675 284.134 843.382 285.225 837.831 286.533C832.366 287.842 825.818 288.671 818.185 289.02C803.267 289.717 790.474 287.973 779.806 283.786C769.224 279.511 761.114 272.881 755.477 263.896C749.926 254.911 747.237 243.614 747.411 230.006V37Z" fill="#444444"/>
+<path d="M918.428 361.511C910.796 361.511 903.597 360.901 896.832 359.679C890.066 358.545 884.255 357.019 879.398 355.1L893.449 308.647C899.694 310.741 905.331 311.962 910.362 312.311C915.479 312.66 919.859 311.831 923.502 309.825C927.232 307.906 930.094 304.46 932.089 299.488L934.561 293.469L863.526 85.1533H930.137L966.956 228.566H969.038L1006.38 85.1533H1073.38L998.05 305.376C994.407 316.368 989.247 326.051 982.568 334.425C975.976 342.887 967.433 349.517 956.938 354.314C946.53 359.112 933.693 361.511 918.428 361.511Z" fill="#444444"/>
+<path d="M1097.77 361.511V85.1533H1160.74V119.567H1162.69C1165.29 113.461 1168.98 107.572 1173.75 101.902C1178.61 96.232 1184.77 91.6086 1192.23 88.032C1199.77 84.3682 1208.79 82.5363 1219.29 82.5363C1233.16 82.5363 1246.13 86.2001 1258.19 93.5277C1270.33 100.855 1280.13 112.152 1287.59 127.418C1295.05 142.684 1298.78 162.137 1298.78 185.778C1298.78 208.546 1295.18 227.607 1287.98 242.96C1280.87 258.313 1271.24 269.828 1259.1 277.505C1247.04 285.181 1233.64 289.02 1218.9 289.02C1208.84 289.02 1200.12 287.362 1192.75 284.047C1185.37 280.732 1179.17 276.371 1174.14 270.962C1169.2 265.554 1165.38 259.753 1162.69 253.559H1161.39V361.511H1097.77ZM1160.09 185.647C1160.09 196.464 1161.52 205.885 1164.38 213.911C1167.33 221.936 1171.54 228.174 1177 232.623C1182.56 236.984 1189.19 239.165 1196.91 239.165C1204.72 239.165 1211.35 236.984 1216.82 232.623C1222.28 228.174 1226.4 221.936 1229.17 213.911C1232.04 205.885 1233.47 196.464 1233.47 185.647C1233.47 174.83 1232.04 165.452 1229.17 157.514C1226.4 149.576 1222.28 143.426 1216.82 139.064C1211.44 134.702 1204.8 132.521 1196.91 132.521C1189.1 132.521 1182.47 134.659 1177 138.933C1171.54 143.208 1167.33 149.314 1164.38 157.252C1161.52 165.191 1160.09 174.656 1160.09 185.647Z" fill="#444444"/>
+<path d="M1425.53 289.936C1404.63 289.936 1386.59 285.792 1371.41 277.505C1356.32 269.13 1344.69 257.223 1336.54 241.782C1328.47 226.255 1324.44 207.805 1324.44 186.432C1324.44 165.67 1328.52 147.526 1336.67 131.998C1344.82 116.383 1356.32 104.258 1371.15 95.6214C1385.98 86.898 1403.46 82.5363 1423.58 82.5363C1437.8 82.5363 1450.81 84.7607 1462.61 89.2097C1474.4 93.6586 1484.6 100.245 1493.18 108.968C1501.77 117.692 1508.45 128.465 1513.22 141.288C1517.99 154.025 1520.37 168.636 1520.37 185.124V201.088H1346.69V163.926H1461.18C1461.09 157.121 1459.49 151.059 1456.36 145.737C1453.24 140.416 1448.95 136.273 1443.48 133.307C1438.11 130.253 1431.9 128.727 1424.88 128.727C1417.77 128.727 1411.39 130.341 1405.75 133.568C1400.12 136.709 1395.65 141.027 1392.35 146.523C1389.06 151.931 1387.32 158.081 1387.15 164.973V202.789C1387.15 210.989 1388.75 218.185 1391.96 224.379C1395.17 230.485 1399.73 235.24 1405.62 238.642C1411.52 242.044 1418.55 243.745 1426.7 243.745C1432.34 243.745 1437.46 242.96 1442.05 241.39C1446.65 239.82 1450.6 237.508 1453.89 234.455C1457.19 231.401 1459.66 227.65 1461.31 223.201L1519.72 224.902C1517.29 238.075 1511.96 249.546 1503.72 259.316C1495.57 268.999 1484.86 276.545 1471.59 281.954C1458.31 287.275 1442.96 289.936 1425.53 289.936Z" fill="#444444"/>
+<path d="M797.89 478.58V593.205H734.27V325.222H795.808V429.118H798.02C802.53 416.73 809.902 407.047 820.137 400.069C830.458 393.09 843.078 389.601 857.996 389.601C872.047 389.601 884.277 392.741 894.685 399.022C905.093 405.216 913.159 413.983 918.884 425.323C924.695 436.663 927.557 449.923 927.47 465.102V593.205H863.851V477.664C863.938 466.498 861.162 457.774 855.524 451.493C849.887 445.212 841.951 442.072 831.716 442.072C825.037 442.072 819.14 443.555 814.022 446.521C808.992 449.4 805.045 453.543 802.183 458.952C799.408 464.36 797.976 470.903 797.89 478.58Z" fill="#444444"/>
+<path d="M1060.6 597C1039.69 597 1021.65 592.856 1006.47 584.569C991.382 576.195 979.76 564.287 971.607 548.847C963.541 533.319 959.508 514.869 959.508 493.497C959.508 472.735 963.584 454.59 971.737 439.062C979.89 423.447 991.382 411.322 1006.21 402.686C1021.05 393.962 1038.52 389.601 1058.64 389.601C1072.87 389.601 1085.88 391.825 1097.67 396.274C1109.47 400.723 1119.66 407.309 1128.25 416.033C1136.84 424.756 1143.51 435.529 1148.28 448.353C1153.05 461.089 1155.44 475.701 1155.44 492.188V508.152H981.755V470.99H1096.24C1096.16 464.186 1094.55 458.123 1091.43 452.802C1088.31 447.481 1084.01 443.337 1078.55 440.371C1073.17 437.318 1066.97 435.791 1059.95 435.791C1052.83 435.791 1046.46 437.405 1040.82 440.633C1035.18 443.773 1030.72 448.091 1027.42 453.587C1024.12 458.995 1022.39 465.145 1022.22 472.037V509.853C1022.22 518.053 1023.82 525.25 1027.03 531.443C1030.24 537.55 1034.79 542.304 1040.69 545.706C1046.59 549.108 1053.61 550.809 1061.77 550.809C1067.4 550.809 1072.52 550.024 1077.12 548.454C1081.72 546.884 1085.66 544.572 1088.96 541.519C1092.25 538.466 1094.73 534.715 1096.37 530.266L1154.79 531.967C1152.36 545.139 1147.03 556.61 1138.79 566.381C1130.63 576.064 1119.92 583.609 1106.65 589.018C1093.38 594.339 1078.03 597 1060.6 597Z" fill="#444444"/>
+<path d="M1187.93 593.205V392.218H1249.73V428.856H1251.81C1255.45 415.596 1261.4 405.739 1269.64 399.284C1277.88 392.741 1287.46 389.47 1298.39 389.47C1301.34 389.47 1304.37 389.688 1307.5 390.124C1310.62 390.473 1313.52 391.04 1316.21 391.825V447.437C1313.18 446.39 1309.19 445.561 1304.24 444.951C1299.39 444.34 1295.05 444.035 1291.23 444.035C1283.69 444.035 1276.88 445.736 1270.81 449.138C1264.82 452.453 1260.1 457.12 1256.63 463.139C1253.24 469.071 1251.55 476.05 1251.55 484.075V593.205H1187.93Z" fill="#444444"/>
+<path d="M1425.04 597C1404.05 597 1386.01 592.682 1370.92 584.046C1355.91 575.322 1344.34 563.197 1336.18 547.669C1328.12 532.054 1324.08 513.953 1324.08 493.366C1324.08 472.691 1328.12 454.59 1336.18 439.062C1344.34 423.447 1355.91 411.322 1370.92 402.686C1386.01 393.962 1404.05 389.601 1425.04 389.601C1446.03 389.601 1464.03 393.962 1479.03 402.686C1494.13 411.322 1505.7 423.447 1513.77 439.062C1521.92 454.59 1526 472.691 1526 493.366C1526 513.953 1521.92 532.054 1513.77 547.669C1505.7 563.197 1494.13 575.322 1479.03 584.046C1464.03 592.682 1446.03 597 1425.04 597ZM1425.43 548.716C1433.06 548.716 1439.53 546.361 1444.82 541.65C1450.11 536.939 1454.14 530.397 1456.92 522.022C1459.78 513.648 1461.21 503.965 1461.21 492.973C1461.21 481.807 1459.78 472.037 1456.92 463.662C1454.14 455.288 1450.11 448.745 1444.82 444.035C1439.53 439.324 1433.06 436.969 1425.43 436.969C1417.54 436.969 1410.86 439.324 1405.4 444.035C1400.02 448.745 1395.9 455.288 1393.04 463.662C1390.26 472.037 1388.87 481.807 1388.87 492.973C1388.87 503.965 1390.26 513.648 1393.04 522.022C1395.9 530.397 1400.02 536.939 1405.4 541.65C1410.86 546.361 1417.54 548.716 1425.43 548.716Z" fill="#444444"/>
+<path d="M0 74.9605C0 33.561 33.561 0 74.9605 0H558.039C599.439 0 633 33.561 633 74.9605V558.039C633 599.439 599.439 633 558.039 633H74.9605C33.561 633 0 599.439 0 558.039V74.9605Z" fill="#3178C6"/>
+<path fill-rule="evenodd" clip-rule="evenodd" d="M261.441 348.724H333.158V299.842H133.263V348.724H204.629V566.368H261.441V348.724Z" fill="white"/>
+<path d="M366.474 566.368V299.842H423.962V410.298H508.741V299.842H566.368V566.368H508.741V455.523H423.962V566.368H366.474Z" fill="white"/>
+</svg>
diff --git a/apps/aot/src/app/events/[year]/[day]/page.tsx b/apps/aot/src/app/events/[year]/[day]/page.tsx
index d9a76cd7..76f25b81 100644
--- a/apps/aot/src/app/events/[year]/[day]/page.tsx
+++ b/apps/aot/src/app/events/[year]/[day]/page.tsx
@@ -29,7 +29,7 @@ export default async function Challenges({ params: { year, day } }: Props) {
const challenge = await api.event.getEventChallengeBySlug({ slug: `${year}-${day}` });
return (
- <div className="relative h-full ">
+ <div className="relative">
<Description challenge={challenge} />
<Comments root={challenge} type="CHALLENGE" />
</div>
diff --git a/apps/aot/src/app/events/page.tsx b/apps/aot/src/app/events/page.tsx
index e794536d..44534637 100644
--- a/apps/aot/src/app/events/page.tsx
+++ b/apps/aot/src/app/events/page.tsx
@@ -1,7 +1,14 @@
import Link from 'next/link';
+import { notFound } from 'next/navigation';
import { api } from '~/trpc/server';
+import { getAllFlags } from '~/utils/feature-flag';
export default async function Page() {
+ const { enableAotPlatform } = await getAllFlags();
+ if (!enableAotPlatform) {
+ return notFound();
+ }
+
const events = await api.event.getAll();
return (
<ul>
diff --git a/apps/aot/src/app/favicon.ico b/apps/aot/src/app/favicon.ico
deleted file mode 100644
index 718d6fea..00000000
Binary files a/apps/aot/src/app/favicon.ico and /dev/null differ
diff --git a/apps/aot/src/app/globals.css b/apps/aot/src/app/globals.css
index acaeb49b..24275a76 100644
--- a/apps/aot/src/app/globals.css
+++ b/apps/aot/src/app/globals.css
@@ -353,6 +353,12 @@ a {
animation: infinite-scroll-x 120s linear infinite;
}
+@media (max-width: 768px) {
+ .infinite-scroll-x-fast-mobile-only {
+ animation: infinite-scroll-x 12s linear infinite;
+ }
+}
+
.infinite-scroll-x-reverse {
animation: infinite-scroll-x 120s linear infinite reverse;
}
@@ -574,20 +580,40 @@ body.mobile-nav-active {
}
}
-@layer base {
- * {
- @apply border-border;
+/* TODO: upgrade tailwind to latest & remove this */
+@layer utilities {
+ .text-balance {
+ text-wrap: balance;
}
- body {
- @apply bg-background text-foreground;
+}
+
+.animate-rotate {
+ animation: rotate 12s linear infinite;
+}
+
+.animate-rotate-reverse {
+ animation: rotate 12s linear infinite reverse;
+}
+
+@keyframes rotate {
+ to {
+ transform: rotate(360deg);
}
}
-html,
-body,
-#__next,
-main {
- scroll-padding-top: 64px;
- scroll-behavior: smooth;
- height: 100%;
+@keyframes pulse {
+ 50% {
+ opacity: 0.5;
+ }
+}
+.animate-pulse {
+ animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
+}
+
+.animate-pulse-alternate {
+ animation: pulse 2s 1s cubic-bezier(0.4, 0, 0.6, 1) infinite;
+}
+
+.animate-pulse-fast {
+ animation: pulse 2s ease-in-out infinite;
}
diff --git a/apps/aot/src/app/layout.tsx b/apps/aot/src/app/layout.tsx
index 3d9d855a..52ea94be 100644
--- a/apps/aot/src/app/layout.tsx
+++ b/apps/aot/src/app/layout.tsx
@@ -3,9 +3,8 @@ import './globals.css';
import { Toaster } from '@repo/ui/components/toaster';
import type { Metadata } from 'next';
import { Inter } from 'next/font/google';
-import { Navigation } from '~/components/navigation';
+import { Navigation, SimpleNavigation } from '~/components/navigation';
import { getAllFlags } from '~/utils/feature-flag';
-import { ComingSoon } from './coming-soon';
import { Providers } from './providers';
const inter = Inter({ subsets: ['latin'] });
@@ -23,15 +22,14 @@ export default async function RootLayout({
return (
<html lang="en">
+ <head>
+ <link href="/favicon.svg" rel="icon" type="image/svg+xml" />
+ </head>
<body className={inter.className}>
- {enableAotPlatform ? (
- <Providers>
- <Navigation />
- <main>{children}</main>
- </Providers>
- ) : (
- <ComingSoon />
- )}
+ <Providers>
+ {enableAotPlatform ? <Navigation /> : <SimpleNavigation />}
+ <main>{children}</main>
+ </Providers>
<Toaster />
</body>
</html>
diff --git a/apps/aot/src/app/leaderboard/page.tsx b/apps/aot/src/app/leaderboard/page.tsx
index 88ad5d9a..2366a10d 100644
--- a/apps/aot/src/app/leaderboard/page.tsx
+++ b/apps/aot/src/app/leaderboard/page.tsx
@@ -1,7 +1,14 @@
+import { getAllFlags } from '~/utils/feature-flag';
import AdventDaysRow from './_components/advent-days-row';
import OverallLeaderboard from './_components/overall-leaderboard';
+import { notFound } from 'next/navigation';
+
+export default async function LeaderboardPage() {
+ const { enableAotPlatform } = await getAllFlags();
+ if (!enableAotPlatform) {
+ return notFound();
+ }
-export default function LeaderboardPage() {
return (
<>
<AdventDaysRow />
diff --git a/apps/aot/src/app/page.tsx b/apps/aot/src/app/page.tsx
index 1bb43c82..eff1e09d 100644
--- a/apps/aot/src/app/page.tsx
+++ b/apps/aot/src/app/page.tsx
@@ -1,3 +1,19 @@
+import Snowfall from '../components/landing/Snowfall';
+import { CountdownTimer } from '~/components/landing/useCountdown';
+import Partners from '~/components/landing/Partners';
+import Hero from '~/components/landing/Hero';
+
export default function Home() {
- return <div>Some landing page</div>;
+ return (
+ <div className="-mt-14 grid min-h-screen grid-rows-3 place-content-center place-items-center overflow-hidden bg-gradient-to-b from-transparent to-transparent to-50% dark:from-emerald-400/40">
+ {/* light-mode-only desktop-only background decorations */}
+ <div className="absolute right-[10%] top-1/2 -z-10 hidden h-48 w-[32rem] -translate-y-1/2 rotate-45 animate-pulse rounded-full bg-emerald-200 blur-3xl xl:block dark:bg-transparent" />
+ <div className="animate-pulse-alternate absolute bottom-1/2 left-[10%] -z-10 hidden h-48 w-[32rem] translate-y-1/2 rotate-45 rounded-full bg-rose-200 blur-3xl xl:block dark:bg-transparent" />
+ <Snowfall />
+
+ <CountdownTimer />
+ <Hero />
+ <Partners />
+ </div>
+ );
}
diff --git a/apps/aot/src/app/support/confirmation/content.tsx b/apps/aot/src/app/support/confirmation/content.tsx
index b16ca80d..806ddf5e 100644
--- a/apps/aot/src/app/support/confirmation/content.tsx
+++ b/apps/aot/src/app/support/confirmation/content.tsx
@@ -5,7 +5,7 @@ import { Button } from '@repo/ui/components/button';
import Link from 'next/link';
import Confetti from 'react-confetti';
-export default function Content() {
+export default function Content({ enableAotPlatform }: { enableAotPlatform: boolean }) {
const { data: session } = useSession();
const thankYouMessage = session?.user?.name
@@ -18,12 +18,21 @@ export default function Content() {
<h1 className="mb-8 text-4xl font-bold tracking-tight text-neutral-900 dark:text-white">
{thankYouMessage}
</h1>
+
<div className="flex flex-col gap-4">
- <Link href="/events">
- <Button className="w-56" variant="default" size="lg">
- Explore Our Events
- </Button>
- </Link>
+ {enableAotPlatform ? (
+ <Link href="/events">
+ <Button className="w-56" variant="default" size="lg">
+ Explore Our Events
+ </Button>
+ </Link>
+ ) : (
+ <Link href="/">
+ <Button className="w-56" variant="default" size="lg">
+ Back to Home
+ </Button>
+ </Link>
+ )}
</div>
</div>
<Confetti recycle={false} />
diff --git a/apps/aot/src/app/support/confirmation/page.tsx b/apps/aot/src/app/support/confirmation/page.tsx
index f71567aa..c33d88ce 100644
--- a/apps/aot/src/app/support/confirmation/page.tsx
+++ b/apps/aot/src/app/support/confirmation/page.tsx
@@ -3,6 +3,7 @@ import { stripe } from '../_utils/stripe';
import { auth } from '~/server/auth';
import { prisma } from '@repo/db';
import dynamic from 'next/dynamic';
+import { getAllFlags } from '~/utils/feature-flag';
const ContentNoSSR = dynamic(() => import('./content'), {
ssr: false,
@@ -17,6 +18,7 @@ export default async function ResultPage({
throw new Error('Please provide a valid session_id (`cs_test_...`)');
const session = await auth();
+ const { enableAotPlatform } = await getAllFlags();
const checkoutSession: Stripe.Checkout.Session = await stripe.checkout.sessions.retrieve(
searchParams.checkout_id,
@@ -70,5 +72,5 @@ export default async function ResultPage({
);
}
- return <ContentNoSSR />;
+ return <ContentNoSSR enableAotPlatform={enableAotPlatform} />;
}
diff --git a/apps/aot/src/components/Partners/FrontendMasters.tsx b/apps/aot/src/components/Partners/FrontendMasters.tsx
new file mode 100644
index 00000000..906f0391
--- /dev/null
+++ b/apps/aot/src/components/Partners/FrontendMasters.tsx
@@ -0,0 +1,46 @@
+export default function FrontendMasters() {
+ return (
+ <svg xmlns="http://www.w3.org/2000/svg" className="h-8 w-fit" viewBox="0 0 905.26 145.75">
+ <symbol id="a" overflow="visible">
+ <path d="m60.83-82.8h-42.43v82.8h5.4v-40.94h27.84v-4.6h-27.84v-32.66h37.03zm0 0" />
+ </symbol>
+ <symbol id="b" overflow="visible">
+ <path d="m24.84-24.72c0-23.12 13.8-32.78 20-32.78 7.36 0 7.72 8.17 7.83 13.8h5.4c0-8.28-2.63-18.4-12.76-18.4-10.4 0-16.7 9.43-20.8 17.82l-2-17.25h-5.2l2.2 19.44v42.09h5.4zm0 0" />
+ </symbol>
+ <symbol id="c" overflow="visible">
+ <path d="m34.5 1.27c10.23 0 23.34-7.02 23.34-31.74 0-24.84-13.22-31.62-23.34-31.62-11.05 0-23.23 8-23.23 31.7 0 24.9 13 31.8 23.23 31.8zm0-4.6c-14.83 0-17.83-15.2-17.83-27.14 0-11.84 3-27.03 17.83-27.03 14.95 0 17.94 15.2 17.94 27.03 0 11.84-3 27.14-17.94 27.14zm0 0" />
+ </symbol>
+ <symbol id="d" overflow="visible">
+ <path d="m19.3-25.06c0-23.7 11.87-32.44 20.6-32.44 9.43 0 9.43 9.66 9.43 16.67v40.83h5.4v-43.36c0-9.2-3.1-18.73-14.14-18.73-9.7 0-19.4 9-21.7 18.1h-.2l-2.2-17.5h-5c2 10.4 2.4 20.7 2.4 31.1v30.39h5.4zm0 0" />
+ </symbol>
+ <symbol id="e" overflow="visible">
+ <path d="m51.86-60.83h-22.3v-19.57h-5.4v19.57h-13.7v4.6h13.7v38.3c0 15.4 7 19.2 14.82 19.2 9.08 0 15.75-6.33 19.55-14.14l-5.17-1.27c-2.64 5.74-7.36 10.8-14.14 10.8-7.5 0-9.66-5.52-9.66-11.38v-41.5h22.3zm0 0" />
+ </symbol>
+ <symbol id="f" overflow="visible">
+ <path d="m54.97-9.3c-5.75 3.44-12.3 5.97-19.2 5.97-9.32 0-18.18-4.84-19.2-26.23h41.63c0-25.17-12.1-32.53-22.34-32.53-17.93 0-24.7 16.6-24.7 32s6.53 31.4 24.36 31.4c7.83 0 14.72-2.4 21.74-5.5zm-38.4-24.86c-.37-10.68 6.76-23.34 18.6-23.34 11.97 0 18.17 12.88 17.6 23.34zm0 0" />
+ </symbol>
+ <symbol id="g" overflow="visible">
+ <path d="m54.28-85.33h-5.4v28.4c-4.15-3.34-9.55-5.16-14.96-5.16-8.4 0-23.92 6.9-23.92 31.3 0 23.69 13.34 32.09 23.58 32.09 7.12 0 13-3.7 16.22-10l2.18 10 5.07-.7c-2.2-7.13-2.77-14.5-2.77-21.96zm-5.4 69.8c-2.54 6.56-7.47 12.2-15.2 12.2-6.88 0-18.27-6.1-18.27-27.14 0-22.3 13-27.03 19.9-27.03 5.1 0 9.8 2.64 13.6 5.98zm0 0" />
+ </symbol>
+ <g transform="translate(-528.72 -655.664)">
+ <g fill="#8a8a8a">
+ <use height="100%" width="100%" x="510.31" href="#a" y="783.61" />
+ <use height="100%" width="100%" x="556.31" href="#b" y="783.61" />
+ <use height="100%" width="100%" x="609.79" href="#c" y="783.61" />
+ <use height="100%" width="100%" x="663.26" href="#d" y="783.61" />
+ <use height="100%" width="100%" x="715.59" href="#e" y="783.61" />
+ <use height="100%" width="100%" x="768.49" href="#f" y="783.61" />
+ <use height="100%" width="100%" x="821.96" href="#d" y="783.61" />
+ <use height="100%" width="100%" x="876.01" href="#g" y="783.61" />
+ </g>
+ <g fill="#bf2b26">
+ <path d="m1183.75 736.27c-2.36-2.2-4.6-3.28-6.68-3.28-1.85 0-3.9.9-6.18 2.9-2.3 1.9-4.5 4.4-6.5 7.4s-3.7 6.3-5.1 9.9c-1.4 3.5-2 7-2 10.2 0 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 0 3.8-1.14 7.2-3.5 3.5-2.32 8.2-6.7 14.1-13" />
+ <path d="m1322.72 731.6c-.5 0-1.22.36-2.14 1.07-.93.72-1.94 1.87-3.03 3.47-1.1 1.6-2.22 3.6-3.4 6.05-1.17 2.4-2.27 5.3-3.27 8.6 4.1-1.9 7.4-3.6 9.82-5.1 2.44-1.5 4.12-2.8 5.05-3.8 1.17-1.5 1.76-3.3 1.76-5.5 0-3.4-1.6-5-4.7-5m26.9 17c.2.8.3 1.7.3 2.7 0 1.4-.4 3-1 4.7s-1.4 3.2-2.3 4.4c-5.8 7.9-11.8 13.8-17.9 17.8-6 4-12.2 6-18.6 6-6.9 0-12-1.8-15.5-5.3-3.4-3.5-5.1-8.3-5.1-14.1 0-2.1.2-4.3.7-6.6s1.1-4.5 1.8-6.4c1.6-4.6 3.7-8.7 6.3-12.5s5.5-7 8.7-9.7 6.5-4.7 10-6.2 7-2.2 10.4-2.2c5.2 0 9.2 1.1 11.9 3.3 2.8 2.2 4.1 5.3 4.1 9.2 0 1.3-.2 2.6-.7 4.1s-1.2 2.8-2 4c-.5.6-1.6 1.6-3.3 2.9-1.8 1.3-4 2.7-6.7 4.3s-5.9 3.3-9.6 5c-3.6 1.8-7.6 3.4-11.9 4.9-.1.4-.1.9-.2 1.5 0 .6-.1 1.2-.1 1.9 0 2.3.8 4.1 2.2 5.6s3.7 2.2 6.9 2.2c3.6 0 8.1-1.7 13.5-5s11.6-9 18.5-17" />
+ <path d="m1399.7 750c.17.34.26.75.26 1.26v1.26c0 1.43-.28 2.85-.82 4.28-.55 1.43-1.28 2.73-2.2 3.9-3.37 4.46-6.54 8.2-9.52 11.22-2.98 3.03-5.7 5.46-8.13 7.3-2.5 1.86-4.6 3.18-6.5 3.98s-3.5 1.2-4.6 1.2c-2.5 0-4.7-.7-6.8-2.08-2.1-1.4-3.9-3.55-5.5-6.5.2-2.18.9-4.6 2.1-7.24 1.1-2.64 2.5-5.4 4.1-8.25s3.3-5.7 5.1-8.5c1.8-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-17.56 26.6-5.1 6.8-9.7 11.6-13.8 14.5-4.1 3-8.1 4.4-12 4.4-4.4 0-8.1-1.5-11.02-4.7-2.9-3.12-5-7.4-6.1-12.83.6.2 1.3.4 2.3.4 4.7 0 9.2-1.9 13.7-5.9 4.5-3.9 9.1-9 13.7-15.4 4.7-6.4 9.5-13.6 14.4-21.8 4.95-8.2 10.18-16.4 15.7-24.8 2.78-4.2 5.3-7.3 7.56-9.3 2.24-2 4.9-3 8.03-3 1.7 0 3.6.3 5.8.9 1.3 0 2.1-.6 2.2-1.8-.8-9-3.5-15.8-8.1-20.6-4.6-4.7-11.2-7.1-19.7-7.1-6.9 0-13.5 1.7-19.6 4.9-6 3.3-11.3 7.6-15.8 13s-8 11.6-10.6 18.6-3.9 14.4-3.9 22c0 5.1 1.6 8.4 4.7 10-1.83 2.6-4.1 4.6-6.8 6-2.62 1.5-5.5 2.2-8.43 2.2-4.44 0-8.2-1.43-11.2-4.3-3.1-2.9-4.6-7.5-4.6-13.8 0-7.1 1.16-13.9 3.4-20.4 2.27-6.54 5.37-12.7 9.3-18.5 3.9-5.8 8.55-11.1 13.86-15.87 5.3-4.7 11-8.8 17.1-12.3 6.1-3.4 12.4-6.06 19-7.9 6.6-1.87 13.14-2.8 19.7-2.8 16.25 0 28.5 5.02 36.7 15.1 8.2 10.1 12.3 25.8 12.3 47.13 0 1.6-.1 3.6-.1 6.17l-.3 7.8-.3 7.4c-.1 2.28-.26 3.9-.37 4.9.64 0 1.1-.1 1.4-.2s.5-.4.7-.8l43.7-63.7c1.3-2.2 2.5-3.3 3.64-3.3.3 0 .8-.05 1.4-.1s1.1-.14 1.4-.25c1.64-1.9 4.2-2.9 7.62-2.9 2.2 0 4.7.4 7.44 1.2 2.8.74 5.8 2.1 9 3.94" />
+ </g>
+ </g>
+ </svg>
+ );
+}
diff --git a/apps/aot/src/components/Partners/TypeHero.tsx b/apps/aot/src/components/Partners/TypeHero.tsx
new file mode 100644
index 00000000..b976cd18
--- /dev/null
+++ b/apps/aot/src/components/Partners/TypeHero.tsx
@@ -0,0 +1,57 @@
+export default function TypeHero() {
+ return (
+ <svg
+ className="h-8 w-fit"
+ viewBox="0 0 1526 633"
+ fill="none"
+ xmlns="http://www.w3.org/2000/svg"
+ >
+ <path
+ d="M847.068 85.1533V132.26H721V85.1533H847.068ZM747.411 37H811.03V222.94C811.03 226.865 811.637 230.049 812.851 232.492C814.152 234.847 816.017 236.548 818.446 237.595C820.874 238.555 823.78 239.034 827.162 239.034C829.591 239.034 832.15 238.816 834.838 238.38C837.614 237.857 839.695 237.421 841.083 237.072L850.711 283.262C847.675 284.134 843.382 285.225 837.831 286.533C832.366 287.842 825.818 288.671 818.185 289.02C803.267 289.717 790.474 287.973 779.806 283.786C769.224 279.511 761.114 272.881 755.477 263.896C749.926 254.911 747.237 243.614 747.411 230.006V37Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M918.428 361.511C910.796 361.511 903.597 360.901 896.832 359.679C890.066 358.545 884.255 357.019 879.398 355.1L893.449 308.647C899.694 310.741 905.331 311.962 910.362 312.311C915.479 312.66 919.859 311.831 923.502 309.825C927.232 307.906 930.094 304.46 932.089 299.488L934.561 293.469L863.526 85.1533H930.137L966.956 228.566H969.038L1006.38 85.1533H1073.38L998.05 305.376C994.407 316.368 989.247 326.051 982.568 334.425C975.976 342.887 967.433 349.517 956.938 354.314C946.53 359.112 933.693 361.511 918.428 361.511Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M1097.77 361.511V85.1533H1160.74V119.567H1162.69C1165.29 113.461 1168.98 107.572 1173.75 101.902C1178.61 96.232 1184.77 91.6086 1192.23 88.032C1199.77 84.3682 1208.79 82.5363 1219.29 82.5363C1233.16 82.5363 1246.13 86.2001 1258.19 93.5277C1270.33 100.855 1280.13 112.152 1287.59 127.418C1295.05 142.684 1298.78 162.137 1298.78 185.778C1298.78 208.546 1295.18 227.607 1287.98 242.96C1280.87 258.313 1271.24 269.828 1259.1 277.505C1247.04 285.181 1233.64 289.02 1218.9 289.02C1208.84 289.02 1200.12 287.362 1192.75 284.047C1185.37 280.732 1179.17 276.371 1174.14 270.962C1169.2 265.554 1165.38 259.753 1162.69 253.559H1161.39V361.511H1097.77ZM1160.09 185.647C1160.09 196.464 1161.52 205.885 1164.38 213.911C1167.33 221.936 1171.54 228.174 1177 232.623C1182.56 236.984 1189.19 239.165 1196.91 239.165C1204.72 239.165 1211.35 236.984 1216.82 232.623C1222.28 228.174 1226.4 221.936 1229.17 213.911C1232.04 205.885 1233.47 196.464 1233.47 185.647C1233.47 174.83 1232.04 165.452 1229.17 157.514C1226.4 149.576 1222.28 143.426 1216.82 139.064C1211.44 134.702 1204.8 132.521 1196.91 132.521C1189.1 132.521 1182.47 134.659 1177 138.933C1171.54 143.208 1167.33 149.314 1164.38 157.252C1161.52 165.191 1160.09 174.656 1160.09 185.647Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M1425.53 289.936C1404.63 289.936 1386.59 285.792 1371.41 277.505C1356.32 269.13 1344.69 257.223 1336.54 241.782C1328.47 226.255 1324.44 207.805 1324.44 186.432C1324.44 165.67 1328.52 147.526 1336.67 131.998C1344.82 116.383 1356.32 104.258 1371.15 95.6214C1385.98 86.898 1403.46 82.5363 1423.58 82.5363C1437.8 82.5363 1450.81 84.7607 1462.61 89.2097C1474.4 93.6586 1484.6 100.245 1493.18 108.968C1501.77 117.692 1508.45 128.465 1513.22 141.288C1517.99 154.025 1520.37 168.636 1520.37 185.124V201.088H1346.69V163.926H1461.18C1461.09 157.121 1459.49 151.059 1456.36 145.737C1453.24 140.416 1448.95 136.273 1443.48 133.307C1438.11 130.253 1431.9 128.727 1424.88 128.727C1417.77 128.727 1411.39 130.341 1405.75 133.568C1400.12 136.709 1395.65 141.027 1392.35 146.523C1389.06 151.931 1387.32 158.081 1387.15 164.973V202.789C1387.15 210.989 1388.75 218.185 1391.96 224.379C1395.17 230.485 1399.73 235.24 1405.62 238.642C1411.52 242.044 1418.55 243.745 1426.7 243.745C1432.34 243.745 1437.46 242.96 1442.05 241.39C1446.65 239.82 1450.6 237.508 1453.89 234.455C1457.19 231.401 1459.66 227.65 1461.31 223.201L1519.72 224.902C1517.29 238.075 1511.96 249.546 1503.72 259.316C1495.57 268.999 1484.86 276.545 1471.59 281.954C1458.31 287.275 1442.96 289.936 1425.53 289.936Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M797.89 478.58V593.205H734.27V325.222H795.808V429.118H798.02C802.53 416.73 809.902 407.047 820.137 400.069C830.458 393.09 843.078 389.601 857.996 389.601C872.047 389.601 884.277 392.741 894.685 399.022C905.093 405.216 913.159 413.983 918.884 425.323C924.695 436.663 927.557 449.923 927.47 465.102V593.205H863.851V477.664C863.938 466.498 861.162 457.774 855.524 451.493C849.887 445.212 841.951 442.072 831.716 442.072C825.037 442.072 819.14 443.555 814.022 446.521C808.992 449.4 805.045 453.543 802.183 458.952C799.408 464.36 797.976 470.903 797.89 478.58Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M1060.6 597C1039.69 597 1021.65 592.856 1006.47 584.569C991.382 576.195 979.76 564.287 971.607 548.847C963.541 533.319 959.508 514.869 959.508 493.497C959.508 472.735 963.584 454.59 971.737 439.062C979.89 423.447 991.382 411.322 1006.21 402.686C1021.05 393.962 1038.52 389.601 1058.64 389.601C1072.87 389.601 1085.88 391.825 1097.67 396.274C1109.47 400.723 1119.66 407.309 1128.25 416.033C1136.84 424.756 1143.51 435.529 1148.28 448.353C1153.05 461.089 1155.44 475.701 1155.44 492.188V508.152H981.755V470.99H1096.24C1096.16 464.186 1094.55 458.123 1091.43 452.802C1088.31 447.481 1084.01 443.337 1078.55 440.371C1073.17 437.318 1066.97 435.791 1059.95 435.791C1052.83 435.791 1046.46 437.405 1040.82 440.633C1035.18 443.773 1030.72 448.091 1027.42 453.587C1024.12 458.995 1022.39 465.145 1022.22 472.037V509.853C1022.22 518.053 1023.82 525.25 1027.03 531.443C1030.24 537.55 1034.79 542.304 1040.69 545.706C1046.59 549.108 1053.61 550.809 1061.77 550.809C1067.4 550.809 1072.52 550.024 1077.12 548.454C1081.72 546.884 1085.66 544.572 1088.96 541.519C1092.25 538.466 1094.73 534.715 1096.37 530.266L1154.79 531.967C1152.36 545.139 1147.03 556.61 1138.79 566.381C1130.63 576.064 1119.92 583.609 1106.65 589.018C1093.38 594.339 1078.03 597 1060.6 597Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M1187.93 593.205V392.218H1249.73V428.856H1251.81C1255.45 415.596 1261.4 405.739 1269.64 399.284C1277.88 392.741 1287.46 389.47 1298.39 389.47C1301.34 389.47 1304.37 389.688 1307.5 390.124C1310.62 390.473 1313.52 391.04 1316.21 391.825V447.437C1313.18 446.39 1309.19 445.561 1304.24 444.951C1299.39 444.34 1295.05 444.035 1291.23 444.035C1283.69 444.035 1276.88 445.736 1270.81 449.138C1264.82 452.453 1260.1 457.12 1256.63 463.139C1253.24 469.071 1251.55 476.05 1251.55 484.075V593.205H1187.93Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M1425.04 597C1404.05 597 1386.01 592.682 1370.92 584.046C1355.91 575.322 1344.34 563.197 1336.18 547.669C1328.12 532.054 1324.08 513.953 1324.08 493.366C1324.08 472.691 1328.12 454.59 1336.18 439.062C1344.34 423.447 1355.91 411.322 1370.92 402.686C1386.01 393.962 1404.05 389.601 1425.04 389.601C1446.03 389.601 1464.03 393.962 1479.03 402.686C1494.13 411.322 1505.7 423.447 1513.77 439.062C1521.92 454.59 1526 472.691 1526 493.366C1526 513.953 1521.92 532.054 1513.77 547.669C1505.7 563.197 1494.13 575.322 1479.03 584.046C1464.03 592.682 1446.03 597 1425.04 597ZM1425.43 548.716C1433.06 548.716 1439.53 546.361 1444.82 541.65C1450.11 536.939 1454.14 530.397 1456.92 522.022C1459.78 513.648 1461.21 503.965 1461.21 492.973C1461.21 481.807 1459.78 472.037 1456.92 463.662C1454.14 455.288 1450.11 448.745 1444.82 444.035C1439.53 439.324 1433.06 436.969 1425.43 436.969C1417.54 436.969 1410.86 439.324 1405.4 444.035C1400.02 448.745 1395.9 455.288 1393.04 463.662C1390.26 472.037 1388.87 481.807 1388.87 492.973C1388.87 503.965 1390.26 513.648 1393.04 522.022C1395.9 530.397 1400.02 536.939 1405.4 541.65C1410.86 546.361 1417.54 548.716 1425.43 548.716Z"
+ className="fill-neutral-700 dark:fill-white"
+ />
+ <path
+ d="M0 74.9605C0 33.561 33.561 0 74.9605 0H558.039C599.439 0 633 33.561 633 74.9605V558.039C633 599.439 599.439 633 558.039 633H74.9605C33.561 633 0 599.439 0 558.039V74.9605Z"
+ fill="#3178C6"
+ />
+ <path
+ fill-rule="evenodd"
+ clip-rule="evenodd"
+ d="M261.441 348.724H333.158V299.842H133.263V348.724H204.629V566.368H261.441V348.724Z"
+ fill="white"
+ />
+ <path
+ d="M366.474 566.368V299.842H423.962V410.298H508.741V299.842H566.368V566.368H508.741V455.523H423.962V566.368H366.474Z"
+ fill="white"
+ />
+ </svg>
+ );
+}
diff --git a/apps/aot/src/components/landing/ExtLink.tsx b/apps/aot/src/components/landing/ExtLink.tsx
new file mode 100644
index 00000000..794d086f
--- /dev/null
+++ b/apps/aot/src/components/landing/ExtLink.tsx
@@ -0,0 +1,20 @@
+export default function ExtLink() {
+ return (
+ <svg
+ xmlns="http://www.w3.org/2000/svg"
+ width="12"
+ height="12"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth="1"
+ strokeLinecap="round"
+ strokeLinejoin="round"
+ className="lucide lucide-external-link absolute right-1 top-1 -translate-x-1/2 translate-y-1/2 opacity-0 duration-300 group-hover:translate-x-0 group-hover:translate-y-0 group-hover:opacity-50 group-focus:translate-x-0 group-focus:translate-y-0 group-focus:opacity-50 group-active:-translate-y-1/2 group-active:translate-x-1/2 group-active:opacity-0 group-active:duration-75"
+ >
+ <path d="M15 3h6v6" />
+ <path d="M10 14 21 3" />
+ <path d="M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6" />
+ </svg>
+ );
+}
diff --git a/apps/aot/src/components/landing/Hero.tsx b/apps/aot/src/components/landing/Hero.tsx
new file mode 100644
index 00000000..64dcb36b
--- /dev/null
+++ b/apps/aot/src/components/landing/Hero.tsx
@@ -0,0 +1,53 @@
+export default function Hero() {
+ return (
+ <div className="container relative flex flex-col font-black italic">
+ <div className="animate-rotate absolute -left-12 -top-28 -z-10 origin-[45%] md:-left-24 md:-top-20">
+ <div
+ className="animate-rotate-reverse h-16 w-52 rounded-xl border border-black/30 bg-white/50 p-2.5 font-mono text-[0.69rem] font-normal not-italic opacity-70 shadow-lg blur-[0.5px] backdrop-blur md:h-24 md:w-72 md:rounded-3xl md:p-6 md:text-sm dark:border-white/30 dark:bg-white/10"
+ style={{
+ rotate: '-12deg',
+ }}
+ >
+ <span className="text-blue-600 dark:text-blue-400">type</span>{' '}
+ <span className="text-teal-600 dark:text-teal-400">Arr1</span> = [
+ <span className="text-orange-600 dark:text-orange-400">'a'</span>,{' '}
+ <span className="text-orange-600 dark:text-orange-400">'b'</span>,{' '}
+ <span className="text-orange-600 dark:text-orange-400">'c'</span>]
+ <div className="h-1.5" />
+ <span className="text-blue-600 dark:text-blue-400">type</span>{' '}
+ <span className="text-teal-600 dark:text-teal-400">Arr2</span> = [
+ <span className="text-green-400">3</span>, <span className="text-green-400">2</span>,{' '}
+ <span className="text-green-400">1</span>]
+ </div>
+ </div>
+ <div className="animate-rotate-reverse absolute -bottom-28 -right-12 z-10 origin-[55%] md:-bottom-28 md:-right-32">
+ <div
+ className="animate-rotate h-16 w-48 rounded-xl border border-black/30 bg-white/50 p-2.5 font-mono text-[0.69rem] font-normal not-italic shadow-xl backdrop-blur md:h-24 md:w-72 md:rounded-3xl md:p-6 md:text-sm dark:border-white/30 dark:bg-white/10"
+ style={{
+ rotate: '12deg',
+ }}
+ >
+ <span className="text-blue-600 dark:text-blue-400">type</span>{' '}
+ <span className="text-teal-600 dark:text-teal-400">Tail</span> ={' '}
+ <span className="text-teal-600 dark:text-teal-400">Last</span>&lt;
+ <span className="text-teal-600 dark:text-teal-400">Arr1</span>&gt;
+ <div className="h-1.5" />
+ <span className="text-blue-600 dark:text-blue-400">type</span>{' '}
+ <span className="text-teal-600 dark:text-teal-400">Head</span> ={' '}
+ <span className="text-teal-600 dark:text-teal-400">First</span>&lt;
+ <span className="text-teal-600 dark:text-teal-400">Arr2</span>&gt;
+ </div>
+ </div>
+
+ <div className="w-56 text-4xl leading-5 drop-shadow-2xl sm:w-[40rem] sm:text-8xl sm:leading-10">
+ Advent
+ </div>
+ <div className="z-10 mx-auto -mb-1 w-56 text-center text-2xl leading-5 text-rose-700 drop-shadow-2xl sm:w-[40rem] sm:text-6xl sm:leading-10 md:-mb-2.5 dark:text-rose-400">
+ of
+ </div>
+ <div className="-mr-0.5 ml-auto w-56 text-right text-4xl leading-5 drop-shadow-2xl sm:w-[40rem] sm:text-8xl sm:leading-10">
+ TypeScript
+ </div>
+ </div>
+ );
+}
diff --git a/apps/aot/src/components/landing/Partners.tsx b/apps/aot/src/components/landing/Partners.tsx
new file mode 100644
index 00000000..ca794eec
--- /dev/null
+++ b/apps/aot/src/components/landing/Partners.tsx
@@ -0,0 +1,63 @@
+import FrontendMasters from '../../../public/frontend-masters.svg';
+import TypeHeroDark from '../../../public/typehero-dark.svg';
+import TypeHero from '../../../public/typehero.svg';
+import Image from 'next/image';
+import ExtLink from './ExtLink';
+
+const partners = [
+ {
+ name: 'FrontendMasters',
+ url: 'https://frontendmasters.com/learn/typescript/',
+ logo: FrontendMasters,
+ },
+ {
+ name: 'TypeHero',
+ url: 'https://typehero.dev/',
+ logo: TypeHero,
+ darkLogo: TypeHeroDark,
+ },
+];
+
+export default function Partners() {
+ return (
+ <div className="relative flex w-36 flex-col text-center md:w-96 md:[mask-image:linear-gradient(to_bottom,red_calc(100%-2rem),transparent)]">
+ <div className="font-extralight opacity-70 dark:opacity-30">Partners</div>
+ {/* divider */}
+ <div className="mt-4 h-[1px] w-full bg-black/40 [mask-image:linear-gradient(to_right,transparent,red,transparent)] dark:bg-white/30" />
+ {/* scroll-wrap for mobile carousel */}
+ <div className="absolute left-1/2 top-10 w-screen -translate-x-1/2 sm:w-[69vw] md:static md:w-auto md:translate-x-0 md:[mask-image:none]">
+ <div className="mx-auto flex w-fit flex-wrap items-center justify-center md:flex-nowrap">
+ {partners.map((partner) => {
+ return (
+ <a
+ key={partner.name}
+ href={partner.url}
+ target="_blank"
+ rel="noreferrer"
+ className="group relative flex-shrink-0 px-6 pb-3 pt-3 duration-300 hover:bg-black/5 focus:bg-black/5 active:bg-black/10 active:duration-75 md:flex-shrink md:pb-6 dark:hover:bg-white/5 dark:focus:bg-white/5 dark:active:bg-white/10"
+ >
+ <ExtLink />
+ {partner.darkLogo ? (
+ <>
+ <Image
+ src={partner.darkLogo}
+ alt="TypeHero"
+ className="hidden h-8 w-fit md:h-12 dark:block"
+ />
+ <Image
+ src={partner.logo}
+ alt="TypeHero"
+ className="h-8 w-fit md:h-12 dark:hidden"
+ />
+ </>
+ ) : (
+ <Image src={partner.logo} alt="FrontendMasters" className="h-8 w-fit md:h-12" />
+ )}
+ </a>
+ );
+ })}
+ </div>
+ </div>
+ </div>
+ );
+}
diff --git a/apps/aot/src/components/landing/Snowfall.tsx b/apps/aot/src/components/landing/Snowfall.tsx
new file mode 100644
index 00000000..ac480982
--- /dev/null
+++ b/apps/aot/src/components/landing/Snowfall.tsx
@@ -0,0 +1,170 @@
+'use client';
+import { useEffect, useRef } from 'react';
+
+interface ParticleAttributes {
+ x: number;
+ y: number;
+ radius: number;
+ color: string;
+ radians: number;
+ velocity: number;
+ shadowColor: string;
+ shadowBlur: number;
+ update: () => void;
+ draw: () => void;
+}
+
+export default function Snowfall() {
+ // Initial Setup
+ const canvasRef = useRef<HTMLCanvasElement>(null);
+ useEffect(() => {
+ if (canvasRef.current) {
+ const canvas = canvasRef.current;
+ const c = canvas.getContext('2d');
+
+ canvas.width = innerWidth;
+ canvas.height = innerHeight;
+
+ // Variables
+ const attributes = {
+ particleCount: 400, // Change amount of snowflakes
+ particleSize: 3, // Max size of a snowflake
+ fallingSpeed: 1, // Intensity of the snowfall horizontal
+ colors: ['#ccc', '#eee', '#fff', '#ddd'], // Array of usable colors
+ };
+
+ const mouse = {
+ x: innerWidth / 2,
+ y: innerHeight / 2,
+ };
+
+ // Event Listeners
+ addEventListener('mousemove', (event) => {
+ mouse.x = event.clientX;
+ mouse.y = event.clientY;
+ });
+
+ addEventListener('resize', () => {
+ canvas.width = innerWidth;
+ canvas.height = innerHeight;
+ init();
+ });
+
+ // Utility Functions
+ const randomIntFromRange = (min: number, max: number) => {
+ return Math.floor(Math.random() * (max - min + 1) + min);
+ };
+
+ const randomColor = (colors: string) => {
+ return colors[Math.floor(Math.random() * colors.length)];
+ };
+
+ const distance = (x1: number, y1: number, x2: number, y2: number) => {
+ const xDist = x2 - x1;
+ const yDist = y2 - y1;
+
+ return Math.sqrt(Math.pow(xDist, 2) + Math.pow(yDist, 2));
+ };
+
+ // Objects
+ // eslint-disable-next-line no-inner-declarations
+ function Particle(
+ this: ParticleAttributes,
+ x: number,
+ y: number,
+ radius: number,
+ color: string,
+ radians: number,
+ ) {
+ this.x = x;
+ this.y = y;
+ this.radius = radius;
+ this.color = color;
+ this.radians = radians;
+ this.velocity = 0.005;
+ this.shadowColor = 'transparent';
+ this.shadowBlur = 0;
+
+ this.update = () => {
+ // Move these points over time
+ this.radians += this.velocity;
+ this.x = x + Math.cos(this.radians) * 400;
+ this.y = y + Math.tan(this.radians) * 600;
+
+ if (distance(mouse.x, mouse.y, this.x, this.y) < 200) {
+ this.color = '#fc6';
+ this.shadowColor = '#fc6';
+ this.shadowBlur = 10;
+ // make it move away from the mouse
+ // this.x += (this.x - mouse.x) * 0.05
+ // this.y += (this.y - mouse.y) * 0.01
+ } else {
+ this.color = color;
+ this.shadowColor = 'transparent';
+ this.shadowBlur = 0;
+ }
+
+ this.draw();
+ };
+
+ this.draw = () => {
+ if (!c) return;
+
+ c.beginPath();
+ c.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);
+ c.shadowColor = this.shadowColor;
+ c.shadowBlur = this.shadowBlur;
+ c.fillStyle = this.color;
+ c.fill();
+
+ c.closePath();
+ };
+ }
+
+ // Implementation
+ let particles: ParticleAttributes[];
+ const init = () => {
+ particles = [];
+
+ for (let i = 0; i < attributes.particleCount; i++) {
+ particles.push(
+ // @ts-ignore
+ new Particle(
+ Math.random() * canvas.width,
+ Math.random() * canvas.height,
+ randomIntFromRange(0.5, attributes.particleSize),
+ // @ts-ignore
+ randomColor(attributes.colors),
+ Math.random() * 80,
+ ),
+ );
+ }
+ };
+
+ // Animation Loop
+ const animate = () => {
+ requestAnimationFrame(animate);
+ if (!c) return;
+ c.clearRect(0, 0, canvas.width, canvas.height);
+
+ particles.forEach((particle: { update: () => void }) => {
+ particle.update();
+ });
+ };
+
+ init();
+ animate();
+ }
+
+ return () => {
+ removeEventListener('mousemove', () => {});
+ removeEventListener('resize', () => {});
+ };
+ }, []);
+
+ return (
+ <div className="pointer-events-none fixed left-0 top-0 z-0 h-full w-full">
+ <canvas ref={canvasRef} className="h-full w-full" />
+ </div>
+ );
+}
diff --git a/apps/aot/src/components/landing/useCountdown.tsx b/apps/aot/src/components/landing/useCountdown.tsx
new file mode 100644
index 00000000..0e46d077
--- /dev/null
+++ b/apps/aot/src/components/landing/useCountdown.tsx
@@ -0,0 +1,135 @@
+'use client';
+
+import { useEffect, useState } from 'react';
+
+export const useAotCountdown = () => {
+ const [releaseDate, setReleaseDate] = useState(() => calculateNextReleaseTime());
+ const [remainingTime, setRemainingTime] = useState(
+ Math.max(0, releaseDate.getTime() - Date.now()),
+ );
+
+ useEffect(() => {
+ // 05:00AM Dec 25, 2024 (UTC) <-> 00:00AM Dec 25, 2024 (EST)
+ const aotEndTime = new Date(Date.UTC(2024, 11, 25, 5, 0, 0));
+ if (Date.now() > aotEndTime.getTime()) {
+ setRemainingTime(0);
+ return;
+ }
+
+ const countdown = () => {
+ const newRemainingTime = Math.max(0, releaseDate.getTime() - Date.now());
+ setRemainingTime(newRemainingTime);
+
+ if (newRemainingTime === 0) {
+ const nextReleaseDateTime = calculateNextReleaseTime();
+ setRemainingTime(nextReleaseDateTime.getTime() - Date.now());
+ setReleaseDate(nextReleaseDateTime);
+ }
+ };
+
+ const timerId = setInterval(countdown, 100);
+
+ return () => {
+ clearInterval(timerId);
+ };
+ }, [releaseDate]);
+
+ return calculateTimeComponents(remainingTime);
+};
+
+const calculateNextReleaseTime = () => {
+ const currentDate = new Date();
+ const releaseTime = new Date(currentDate);
+ releaseTime.setUTCHours(5, 0, 0, 0);
+
+ // 05:00AM Dec 01, 2024 (UTC) <-> 00:00AM Dec 01, 2024 (EST)
+ const decemberFirstReleaseTime = new Date(Date.UTC(2024, 11, 1, 5, 0, 0));
+
+ if (currentDate < decemberFirstReleaseTime) {
+ return decemberFirstReleaseTime;
+ }
+
+ if (releaseTime.getTime() <= currentDate.getTime()) {
+ releaseTime.setUTCDate(releaseTime.getUTCDate() + 1);
+ }
+
+ return releaseTime;
+};
+
+const calculateTimeComponents = (milliseconds: number) => {
+ const millisecondsInSecond = 1000;
+ const millisecondsInMinute = 60 * millisecondsInSecond;
+ const millisecondsInHour = 60 * millisecondsInMinute;
+ const millisecondsInDay = 24 * millisecondsInHour;
+
+ const days = Math.floor(milliseconds / millisecondsInDay);
+ const hours = Math.floor((milliseconds % millisecondsInDay) / millisecondsInHour);
+ const minutes = Math.floor((milliseconds % millisecondsInHour) / millisecondsInMinute);
+ const seconds = Math.floor((milliseconds % millisecondsInMinute) / millisecondsInSecond);
+
+ return { days, hours, minutes, seconds };
+};
+
+export const CountdownTimer = () => {
+ // 05:00AM Jan 1, 2025 (UTC) <-> 00:00AM Jan 1, 2025 (EST)
+ const [isMounted, setIsMounted] = useState(false);
+ const { days, hours, minutes, seconds } = useAotCountdown();
+
+ useEffect(() => {
+ setIsMounted(true);
+ }, []);
+
+ if (!isMounted) {
+ // div prevents layout shift in page.tsx
+ return <div />;
+ }
+
+ // After holiday ends
+ const holidayEnd = new Date(Date.UTC(2025, 0, 1, 5, 0, 0));
+ if (Date.now() > holidayEnd.getTime()) {
+ return (
+ <>
+ <p className="text-center text-xl font-semibold">Thats a wrap!</p>
+ </>
+ );
+ }
+
+ // This will be true between 05:00AM Dec 25, 2024 (UTC) and 05:00AM Jan 1, 2025 (UTC)
+ //
+ // Make sure to adjust UI for this being gone!
+ const isCountdownComplete = days === 0 && hours === 0 && minutes === 0 && seconds === 0;
+ if (isCountdownComplete) {
+ // TODO: countdown complete component (pill-shaped blurb above title)
+ return null;
+ }
+
+ return (
+ <div className="flex w-48 gap-2">
+ {/* ml-32 */}
+ <div className="relative w-16 text-right text-5xl font-black dark:text-white">
+ {days}
+ <div className="absolute right-0 top-0 -translate-y-full font-mono text-xs font-normal opacity-50">
+ d
+ </div>
+ </div>
+ <div className="relative w-8 text-right text-3xl font-bold opacity-90 dark:text-white">
+ {hours}
+ <div className="absolute right-0 top-0 -translate-y-full font-mono text-xs font-normal opacity-50">
+ h
+ </div>
+ </div>
+ <div className="relative w-6 text-right text-xl font-semibold opacity-80 blur-[0.5px] dark:text-white">
+ {minutes}
+ <div className="absolute right-0 top-0 -translate-y-full font-mono text-xs font-normal opacity-50">
+ m
+ </div>
+ </div>
+ <div className="animate-pulse-fast relative w-4 text-right text-sm font-medium opacity-70 blur-[1px] dark:text-white">
+ {seconds}
+ <div className="absolute right-0 top-0 -translate-y-full font-mono text-xs font-normal opacity-50">
+ s
+ </div>
+ </div>
+ </div>
+ );
+};
diff --git a/apps/aot/src/components/navigation/index.tsx b/apps/aot/src/components/navigation/index.tsx
index a82f9ea5..6bc512a8 100644
--- a/apps/aot/src/components/navigation/index.tsx
+++ b/apps/aot/src/components/navigation/index.tsx
@@ -9,54 +9,61 @@ import {
} from '@repo/ui/components/dropdown-menu';
import { Loader2, LogIn, Moon, Sun, User } from '@repo/ui/icons';
import { useTheme } from 'next-themes';
+import Link from 'next/link';
import { useEffect, useState } from 'react';
+import Logo from './logo';
import { NavLink } from './nav-link';
-import Link from 'next/link';
export function Navigation() {
return (
- <header className="z-0 w-full">
- <nav className="flex h-14 items-center px-4">
- <div className="flex w-full items-center justify-between">
- <div className="relative flex gap-3">
- <Link className="flex items-center space-x-2 duration-300" href="/">
- <svg
- className="h-8 w-8 rounded-md bg-[#3178C6] p-[2px]"
- viewBox="0 0 38 38"
- fill="none"
- xmlns="http://www.w3.org/2000/svg"
- >
- <rect width="38" height="38" rx="4.5" fill="#3178C6" />
- <path
- fillRule="evenodd"
- clipRule="evenodd"
- d="M15.6947 20.9344H20V18H8V20.9344H12.2842V34H15.6947V20.9344Z"
- fill="white"
- />
- <path
- d="M22 34V18H25.4511V24.6309H30.5405V18H34V34H30.5405V27.3458H25.4511V34H22Z"
- fill="white"
- />
- </svg>
+ <header className="sticky top-0 z-50 w-full">
+ <nav className="flex h-14 grid-cols-3 items-center justify-between px-4 xl:grid">
+ <div className="relative flex gap-3">
+ <Link className="flex items-center space-x-2 duration-300" href="/">
+ <Logo />
+ </Link>
+ </div>
+ <div className="mx-auto mt-32 hidden w-fit items-center rounded-full md:mt-0 md:flex">
+ <NavLink title="About" href="/about" />
+ <NavLink title="Leaderboard" href="/leaderboard" />
+ <NavLink title="Events" href="/events" />
+ {/* support button looks kinda out of place here */}
+ <Link
+ className="donate-btn relative overflow-hidden rounded-md border border-[#bea74b66] px-3 py-2 text-black duration-300 hover:bg-[#eed15f] dark:text-white dark:hover:bg-[#bea74b44]"
+ href="/support"
+ >
+ Support Us
+ </Link>
+ </div>
+ <div className="flex xl:ml-auto">
+ <div className="flex items-center justify-end gap-2">
+ <ThemeButton />
+ <LoginButton />
+ </div>
+ </div>
+ </nav>
+ </header>
+ );
+}
- <span className="font-bold leading-3">
- type
- <br />
- hero
- </span>
+export function SimpleNavigation() {
+ return (
+ <header className="sticky top-0 z-50 w-full">
+ <nav className="flex h-14 grid-cols-2 items-center justify-between px-4 xl:grid">
+ <div className="relative flex gap-3">
+ <Link className="flex items-center space-x-2 duration-300" href="/">
+ <Logo />
+ </Link>
+ </div>
+ <div className="flex xl:ml-auto">
+ <div className="flex items-center justify-end gap-2">
+ <Link
+ className="donate-btn relative overflow-hidden rounded-md border border-[#bea74b66] px-3 py-2 text-black duration-300 hover:bg-[#eed15f] dark:text-white dark:hover:bg-[#bea74b44]"
+ href="/support"
+ >
+ Support Us
</Link>
</div>
- <div className="items-center md:ml-4 md:flex md:gap-4">
- <NavLink title="About" href="/about" />
- <NavLink title="Events" href="/events" />
- <NavLink title="Leaderboard" href="/leaderboard" />
- </div>
- <div className="flex">
- <div className="flex items-center justify-end gap-2">
- <ThemeButton />
- <LoginButton />
- </div>
- </div>
</div>
</nav>
</header>
diff --git a/apps/aot/src/components/navigation/logo.tsx b/apps/aot/src/components/navigation/logo.tsx
new file mode 100644
index 00000000..95450a60
--- /dev/null
+++ b/apps/aot/src/components/navigation/logo.tsx
@@ -0,0 +1,18 @@
+export default function Logo() {
+ return (
+ <svg className="h-6 w-fit" viewBox="0 0 569 123" fill="none" xmlns="http://www.w3.org/2000/svg">
+ <path
+ d="M66.6155 84.616C66.6155 86.536 66.9035 87.976 67.4795 88.936C68.0555 89.832 69.0475 90.504 70.4555 90.952L67.9595 98.248C62.6475 97.608 59.1595 95.272 57.4955 91.24C55.6395 93.544 53.3035 95.304 50.4875 96.52C47.7355 97.672 44.6955 98.248 41.3675 98.248C36.2475 98.248 32.1835 96.808 29.1755 93.928C26.1675 91.048 24.6635 87.24 24.6635 82.504C24.6635 77.192 26.7435 73.096 30.9035 70.216C35.1275 67.336 41.0795 65.896 48.7595 65.896H55.9595V62.632C55.9595 59.432 54.9995 57.096 53.0795 55.624C51.1595 54.152 48.3755 53.416 44.7275 53.416C42.9355 53.416 40.8555 53.64 38.4875 54.088C36.1195 54.536 33.7195 55.176 31.2875 56.008L28.5995 48.424C34.6795 46.12 40.5995 44.968 46.3595 44.968C53.0795 44.968 58.1355 46.44 61.5275 49.384C64.9195 52.328 66.6155 56.52 66.6155 61.96V84.616ZM44.5355 90.376C46.7755 90.376 48.9195 89.8 50.9675 88.648C53.0795 87.496 54.7435 85.896 55.9595 83.848V72.616H50.0075C45.1435 72.616 41.5915 73.448 39.3515 75.112C37.1115 76.712 35.9915 79.048 35.9915 82.12C35.9915 84.808 36.6955 86.856 38.1035 88.264C39.5755 89.672 41.7195 90.376 44.5355 90.376ZM121.106 25.96V97H111.602L110.834 90.76C109.17 93.192 107.122 95.048 104.69 96.328C102.258 97.608 99.57 98.248 96.626 98.248C90.29 98.248 85.522 95.88 82.322 91.144C79.122 86.408 77.522 79.912 77.522 71.656C77.522 66.472 78.322 61.864 79.922 57.832C81.586 53.8 83.922 50.664 86.93 48.424C89.938 46.12 93.49 44.968 97.586 44.968C102.77 44.968 107.026 46.824 110.354 50.536V24.712L121.106 25.96ZM100.37 53.224C96.658 53.224 93.81 54.76 91.826 57.832C89.906 60.84 88.946 65.448 88.946 71.656C88.946 83.944 92.466 90.088 99.506 90.088C103.73 90.088 107.346 87.656 110.354 82.792V58.888C107.73 55.112 104.402 53.224 100.37 53.224ZM159.853 97H147.373L129.421 46.312H141.037L153.805 88.072L166.765 46.312H177.805L159.853 97ZM195.047 75.112C195.367 80.04 196.775 83.752 199.271 86.248C201.831 88.68 205.031 89.896 208.871 89.896C211.239 89.896 213.479 89.544 215.591 88.84C217.767 88.072 219.975 86.952 222.215 85.48L226.823 92.008C224.455 93.992 221.671 95.528 218.471 96.616C215.271 97.704 211.911 98.248 208.391 98.248C200.647 98.248 194.631 95.848 190.343 91.048C186.055 86.184 183.911 79.72 183.911 71.656C183.911 66.6 184.839 62.056 186.695 58.024C188.551 53.928 191.239 50.728 194.759 48.424C198.279 46.12 202.375 44.968 207.047 44.968C213.767 44.968 219.079 47.24 222.983 51.784C226.951 56.264 228.935 62.44 228.935 70.312C228.935 72.232 228.839 73.832 228.647 75.112H195.047ZM207.143 52.936C203.687 52.936 200.871 54.184 198.695 56.68C196.519 59.176 195.271 62.888 194.951 67.816H218.471C218.343 63.016 217.319 59.336 215.399 56.776C213.479 54.216 210.727 52.936 207.143 52.936ZM238.882 46.312H248.194L248.962 52.936C251.074 50.376 253.538 48.424 256.354 47.08C259.234 45.672 262.242 44.968 265.378 44.968C270.05 44.968 273.57 46.28 275.938 48.904C278.306 51.528 279.49 55.24 279.49 60.04V97H268.738V65.416C268.738 62.28 268.546 59.88 268.162 58.216C267.842 56.488 267.17 55.24 266.146 54.472C265.122 53.64 263.586 53.224 261.538 53.224C259.234 53.224 257.026 53.928 254.914 55.336C252.866 56.744 251.106 58.504 249.634 60.616V97H238.882V46.312ZM333.98 94.312C332.06 95.528 329.82 96.488 327.26 97.192C324.7 97.896 322.012 98.248 319.196 98.248C313.436 98.248 308.988 96.776 305.852 93.832C302.716 90.824 301.148 86.76 301.148 81.64V54.184H289.916V46.312H301.148V34.984L311.9 33.736V46.312H329.084L327.836 54.184H311.9V81.544C311.9 84.296 312.604 86.344 314.012 87.688C315.42 88.968 317.66 89.608 320.732 89.608C324.124 89.608 327.26 88.808 330.14 87.208L333.98 94.312Z"
+ className="fill-emerald-500 dark:fill-emerald-400"
+ />
+ <path
+ d="M385.783 47.08L352.855 66.952L385.783 86.728L380.503 94.504L343.639 71.56V62.248L380.791 39.304L385.783 47.08ZM544.07 62.248V71.56L507.206 94.504L501.926 86.824L534.758 66.952L501.926 47.272L506.918 39.304L544.07 62.248Z"
+ className="fill-black dark:fill-white"
+ />
+ <path
+ d="M425.201 97H409.457V42.568H390.737V30.472H444.593L443.057 42.568H425.201V97ZM495.916 77.512C495.916 81.672 494.828 85.352 492.652 88.552C490.476 91.752 487.34 94.248 483.244 96.04C479.212 97.768 474.412 98.632 468.844 98.632C457.836 98.632 449.068 95.432 442.54 89.032L450.508 80.2C455.564 84.68 461.548 86.92 468.46 86.92C471.788 86.92 474.444 86.216 476.428 84.808C478.476 83.336 479.5 81.32 479.5 78.76C479.5 76.328 478.636 74.44 476.908 73.096C475.244 71.688 472.108 70.28 467.5 68.872C459.692 66.504 454.156 63.72 450.892 60.52C447.628 57.32 445.996 53.192 445.996 48.136C445.996 44.168 447.084 40.712 449.26 37.768C451.5 34.824 454.508 32.584 458.284 31.048C462.124 29.512 466.38 28.744 471.052 28.744C480.844 28.744 488.78 31.624 494.86 37.384L487.468 45.928C485.228 44.072 482.796 42.696 480.172 41.8C477.612 40.84 474.956 40.36 472.204 40.36C469.132 40.36 466.7 40.936 464.908 42.088C463.18 43.176 462.316 44.776 462.316 46.888C462.316 48.296 462.7 49.48 463.468 50.44C464.3 51.4 465.644 52.296 467.5 53.128C469.356 53.96 472.14 54.952 475.852 56.104C482.636 58.152 487.66 60.808 490.924 64.072C494.252 67.272 495.916 71.752 495.916 77.512Z"
+ className="fill-blue-500 dark:fill-blue-400"
+ />
+ </svg>
+ );
+}
diff --git a/apps/aot/src/components/navigation/nav-link.tsx b/apps/aot/src/components/navigation/nav-link.tsx
index aea77a03..0d6419d9 100644
--- a/apps/aot/src/components/navigation/nav-link.tsx
+++ b/apps/aot/src/components/navigation/nav-link.tsx
@@ -9,9 +9,12 @@ export function NavLink({ href, title }: { href: string; title: string }) {
return (
<Link href={href}>
<div
- className={clsx('hover:text-foreground text-foreground/80 transition-colors', {
- '!text-foreground': pathname === href,
- })}
+ className={clsx(
+ 'rounded-full px-4 text-black/50 transition-colors duration-300 hover:text-black dark:text-white/80 dark:hover:text-yellow-400',
+ {
+ '!text-white': pathname === href,
+ },
+ )}
>
{title}
</div>
diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml
index 7179595c..92753756 100644
--- a/pnpm-lock.yaml
+++ b/pnpm-lock.yaml
@@ -91,10 +91,10 @@ importers:
version: 2.6.0-beta.12
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -158,7 +158,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
+ version: 2.27.5([email protected])
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -248,10 +248,10 @@ importers:
version: 5.0.7
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -367,7 +367,7 @@ importers:
version: 1.0.0
next:
specifier: 14.2.5
react:
specifier: 18.2.0
version: 18.2.0
@@ -443,7 +443,7 @@ importers:
version: link:../../packages/ui
'@sentry/nextjs':
specifier: ^7.73.0
'@stripe/react-stripe-js':
specifier: ^2.8.0
@@ -467,7 +467,7 @@ importers:
'@uploadthing/react':
specifier: ^6.2.2
'@vercel/analytics':
specifier: ^1.1.1
version: 1.1.1
@@ -476,10 +476,10 @@ importers:
version: 0.2.1
'@vercel/speed-insights':
specifier: ^1.0.12
'@vercel/toolbar':
specifier: ^0.1.18
algoliasearch:
specifier: ^4.20.0
version: 4.20.0
@@ -518,10 +518,10 @@ importers:
version: 5.0.7
next:
specifier: 14.2.5
next-themes:
specifier: ^0.2.1
react:
specifier: 18.2.0
version: 18.2.0
@@ -548,7 +548,7 @@ importers:
react-instantsearch-nextjs:
specifier: ^0.1.5
react-intersection-observer:
specifier: ^9.5.2
version: 9.5.2([email protected])
@@ -645,7 +645,7 @@ importers:
eslint-plugin-import:
specifier: ^2.27.5
+ version: 2.27.5([email protected])
postcss:
specifier: ^8.4.31
version: 8.4.31
@@ -996,7 +996,7 @@ importers:
dependencies:
'@next/eslint-plugin-next':
specifier: canary
- version: 15.0.2-canary.11
+ version: 15.0.3-canary.2
'@repo/tsconfig':
specifier: workspace:*
version: link:../config-typescript
@@ -1008,7 +1008,7 @@ importers:
'@vercel/style-guide':
specifier: ^4.0.2
eslint:
specifier: ^8.45.0
version: 8.45.0
@@ -2111,8 +2111,8 @@ packages:
resolution: {integrity: sha512-YJqyq6vk39JQfvaNtN83t/p5Jy45+bazRL+V4QI8FPd3FBqFYMEsULiwRLgSJMgFqkk4t4JbeZurz+gILEAFpA==}
- resolution: {integrity: sha512-1satM7xzx/+ckt7D1/eiXg7NLfhFcEy02SvAk7j4G+mwP+bHHFrU2rj0sf419AVd5nkKUp9JYzhI/yty2xjLNQ==}
+ resolution: {integrity: sha512-x8+2UKZvVzqF5M/FkFG9gWcZz3jPht5zxl9kOCWDODBrYSkGNPfvtEuNsBREluPtDNi75OVdiM3+oDiBybnljA==}
resolution: {integrity: sha512-/9zVxJ+K9lrzSGli1///ujyRfon/ZneeZ+v4ptpiPoOU+GKZnm8Wj8ELWU1Pm7GHltYRBklmXMTUqM/DqQ99FQ==}
@@ -8830,8 +8830,8 @@ snapshots:
'@ampproject/[email protected]':
dependencies:
- '@jridgewell/gen-mapping': 0.3.3
- '@jridgewell/trace-mapping': 0.3.18
+ '@jridgewell/gen-mapping': 0.3.5
+ '@jridgewell/trace-mapping': 0.3.25
dependencies:
@@ -8901,7 +8901,7 @@ snapshots:
dependencies:
'@babel/compat-data': 7.22.9
'@babel/helper-validator-option': 7.22.5
- browserslist: 4.22.2
+ browserslist: 4.24.2
lru-cache: 5.1.1
semver: 6.3.1
@@ -9690,7 +9690,7 @@ snapshots:
dependencies:
glob: 7.1.7
dependencies:
fast-glob: 3.3.1
@@ -11191,7 +11191,7 @@ snapshots:
localforage: 1.10.0
tslib: 2.6.0
dependencies:
'@rollup/plugin-commonjs': 24.0.0([email protected])
'@sentry/core': 7.73.0
@@ -11203,7 +11203,7 @@ snapshots:
'@sentry/vercel-edge': 7.73.0
'@sentry/webpack-plugin': 1.20.0
chalk: 3.0.0
react: 18.2.0
rollup: 2.78.0
stacktrace-parser: 0.1.10
@@ -11779,20 +11779,6 @@ snapshots:
'@uploadthing/[email protected]': {}
- dependencies:
- '@uploadthing/dropzone': 0.1.1
- '@uploadthing/shared': 6.2.0(@uploadthing/[email protected])
- attr-accept: 2.2.2
- file-selector: 0.6.0
- react: 18.2.0
- tailwind-merge: 1.14.0
- uploadthing: 6.3.1
- optionalDependencies:
- transitivePeerDependencies:
- - '@uploadthing/mime-types'
-
dependencies:
'@uploadthing/dropzone': 0.1.1
@@ -11803,7 +11789,7 @@ snapshots:
tailwind-merge: 1.14.0
uploadthing: 6.3.1
optionalDependencies:
transitivePeerDependencies:
- '@uploadthing/mime-types'
@@ -11860,12 +11846,12 @@ snapshots:
satori: 0.0.46
yoga-wasm-web: 0.3.0
optionalDependencies:
react: 18.2.0
dependencies:
'@babel/core': 7.22.10
'@babel/eslint-parser': 7.22.10(@babel/[email protected])([email protected])
@@ -11887,7 +11873,7 @@ snapshots:
eslint-plugin-unicorn: 43.0.2([email protected])
prettier-plugin-packagejson: 2.4.3([email protected])
optionalDependencies:
- '@next/eslint-plugin-next': 15.0.2-canary.11
+ '@next/eslint-plugin-next': 15.0.3-canary.2
eslint: 8.45.0
prettier: 3.1.1
typescript: 5.3.3
@@ -11897,7 +11883,7 @@ snapshots:
- jest
- supports-color
dependencies:
'@tinyhttp/app': 1.3.0
chokidar: 3.5.3
@@ -11906,7 +11892,7 @@ snapshots:
get-port: 5.1.1
strip-ansi: 6.0.1
optionalDependencies:
react: 18.2.0
'@vitest/[email protected]':
@@ -13218,7 +13204,7 @@ snapshots:
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.56.0
eslint-import-resolver-node: 0.3.7
+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
eslint-plugin-jsx-a11y: 6.7.1([email protected])
eslint-plugin-react: 7.32.2([email protected])
@@ -13256,7 +13242,7 @@ snapshots:
enhanced-resolve: 5.15.0
eslint: 8.45.0
+ eslint-plugin-import: 2.27.5([email protected])
get-tsconfig: 4.6.2
globby: 13.2.2
is-core-module: 2.12.1
@@ -13286,7 +13272,7 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
dependencies:
debug: 4.3.4
enhanced-resolve: 5.15.0
@@ -13333,7 +13319,7 @@ snapshots:
'@typescript-eslint/parser': 5.62.0([email protected])([email protected])
eslint: 8.56.0
eslint-import-resolver-node: 0.3.7
+ eslint-import-resolver-typescript: 3.5.5(@typescript-eslint/[email protected]([email protected])([email protected]))([email protected])([email protected])([email protected])
transitivePeerDependencies:
- supports-color
@@ -13418,6 +13404,29 @@ snapshots:
- eslint-import-resolver-webpack
- supports-color
+ dependencies:
+ array-includes: 3.1.6
+ array.prototype.flat: 1.3.1
+ array.prototype.flatmap: 1.3.1
+ debug: 3.2.7
+ doctrine: 2.1.0
+ eslint: 8.45.0
+ eslint-import-resolver-node: 0.3.7
+ has: 1.0.3
+ is-core-module: 2.12.1
+ is-glob: 4.0.3
+ minimatch: 3.1.2
+ object.values: 1.1.6
+ resolve: 1.22.2
+ semver: 6.3.1
+ tsconfig-paths: 3.14.2
+ transitivePeerDependencies:
+ - eslint-import-resolver-typescript
+ - eslint-import-resolver-webpack
+ - supports-color
+
dependencies:
'@typescript-eslint/utils': 5.59.1([email protected])([email protected])
@@ -15291,15 +15300,15 @@ snapshots:
react: 18.3.1
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
dependencies:
react: 18.2.0
react-dom: 18.2.0([email protected])
@@ -15309,7 +15318,7 @@ snapshots:
react: 18.2.0
react-dom: 18.3.1([email protected])
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -15330,12 +15339,11 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
- '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
dependencies:
'@next/env': 14.2.5
'@swc/helpers': 0.5.5
@@ -15356,6 +15364,7 @@ snapshots:
'@next/swc-win32-arm64-msvc': 14.2.5
'@next/swc-win32-ia32-msvc': 14.2.5
'@next/swc-win32-x64-msvc': 14.2.5
+ '@playwright/test': 1.38.0
transitivePeerDependencies:
- '@babel/core'
- babel-plugin-macros
@@ -16018,9 +16027,9 @@ snapshots:
react: 18.2.0
use-sync-external-store: 1.2.0([email protected])
dependencies: