Skip to content
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 7 additions & 7 deletions apps/web/components/Hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -114,13 +114,13 @@ export default function Hero() {
gradientUnits="userSpaceOnUse"
gradientTransform="matrix(12.12436 -7 4.2 7.27461 16 16)"
>
<stop stop-color="#7D7D7D" />
<stop offset=".267" stop-color="#7E7C7A" />
<stop offset=".45" stop-color="#817871" />
<stop offset=".608" stop-color="#867162" />
<stop offset=".753" stop-color="#8D684C" />
<stop offset=".886" stop-color="#965C30" />
<stop offset="1" stop-color="#A04F12" />
<stop stopColor="#7D7D7D" />
<stop offset=".267" stopColor="#7E7C7A" />
<stop offset=".45" stopColor="#817871" />
<stop offset=".608" stopColor="#867162" />
<stop offset=".753" stopColor="#8D684C" />
<stop offset=".886" stopColor="#965C30" />
<stop offset="1" stopColor="#A04F12" />
</radialGradient>
</defs>
</motion.svg>
Expand Down
10 changes: 8 additions & 2 deletions apps/web/components/Tracks.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,10 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
<Button
size={"lg"}
variant={"ghost"}
onClick={() => setCohort2(!cohort2)}
onClick={() => {
setCohort2(!cohort2);
cohort3 && setCohort3(!cohort3);
}}
className={cohort2 ? "bg-blue-600 text-white" : ""}
>
Cohort 2.0
Expand All @@ -136,7 +139,10 @@ export const Tracks = ({ tracks, categories }: TracksWithCategoriesProps) => {
<Button
size={"lg"}
variant={"ghost"}
onClick={() => setCohort3(!cohort3)}
onClick={() => {
setCohort3(!cohort3);
cohort2 && setCohort2(!cohort2);
}}
className={cohort3 ? "bg-blue-600 text-white" : ""}
>
Cohort 3.0
Expand Down
9 changes: 6 additions & 3 deletions apps/web/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

const path = require('path');
const webpack = require("webpack");
const isDev = process.env.NODE_ENV === 'development';

module.exports = {
webpack: (config) => {
Expand All @@ -24,7 +25,9 @@ module.exports = {
},

transpilePackages: ["@repo/ui", "@repo/common", "@repo/recoil"],
images: {
domains: ["d2szwvl7yo497w.cloudfront.net", "appx-wsb-gcp.akamai.net.in"], // Add your domain here
},
images: isDev
Copy link
Collaborator

Choose a reason for hiding this comment

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

great change

? { unoptimized: true }
: {
domains: ["d2szwvl7yo497w.cloudfront.net" , "appx-wsb-gcp.akamai.net.in"], //Add your domain here
},
};
4 changes: 2 additions & 2 deletions apps/web/screens/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ const Footer = () => {
<path
d="M13.530750000000001 0.7153750000000001 1.46925 14.284625"
stroke="currentColor"
stroke-linecap="round"
strokeLinecap="round"
strokeWidth="1"
></path>
</svg>
Expand All @@ -64,7 +64,7 @@ const Footer = () => {
<path
d="M0.7153750000000001 10.515375V4.484624999999999c0 -2.0816875 1.6875624999999999 -3.76925 3.76925 -3.76925h6.03075c2.0816875 0 3.76925 1.6875624999999999 3.76925 3.76925v6.03075c0 2.0816875 -1.6875624999999999 3.76925 -3.76925 3.76925H4.484624999999999c-2.0816875 0 -3.76925 -1.6875624999999999 -3.76925 -3.76925Z"
stroke="currentColor"
stroke-width="1"
strokeWidth="1"
></path>
<path
d="m11.646125000000001 3.361375 0.0075625 -0.008375"
Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,8 @@
"packages/*"
],
"dependencies": {
"date-fns": "^3.6.0",
"framer-motion": "^11.3.30",
"ioredis": "^5.4.1",
"nextjs-toploader": "^1.6.11",
"react": "^18.2.0",
Expand Down