Skip to content
Open
Show file tree
Hide file tree
Changes from all 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
4 changes: 2 additions & 2 deletions frontend/src/app/assets/icons/BlockChainNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const BlockchainNew = ({
}) => {
return (
<svg
width="84"
height="84"
width={width}
height={height}
viewBox="0 0 84 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/assets/icons/DataScienceNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const DataScienceNew = ({
}) => {
return (
<svg
width="84"
height="84"
width={width}
height={height}
viewBox="0 0 84 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
4 changes: 2 additions & 2 deletions frontend/src/app/assets/icons/EdTechNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default function EdTechNew({
}) {
return (
<svg
width="84"
height="84"
width={width}
height={height}
viewBox="0 0 84 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
6 changes: 3 additions & 3 deletions frontend/src/app/assets/icons/InteractiveTechnologyNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ export default function InteractiveTechnology({
}) {
return (
<svg
width="85"
height="84"
width={width}
height={height}
viewBox="0 0 85 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand All @@ -20,4 +20,4 @@ export default function InteractiveTechnology({
/>
</svg>
);
}
}
4 changes: 2 additions & 2 deletions frontend/src/app/assets/icons/OpenInnovationNew.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ const OpenInnovationNew = ({
}) => {
return (
<svg
width="84"
height="84"
width={width}
height={height}
viewBox="0 0 84 84"
fill="none"
xmlns="http://www.w3.org/2000/svg"
Expand Down
56 changes: 29 additions & 27 deletions frontend/src/app/components/Tracks/TracksBodyCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,35 +21,37 @@ const TracksBodyCard: React.FC<TracksBodyCardProps> = ({
}: TracksBodyCardProps) => {
return (
<div
className={`max-w-[1250px] min-h-[526px] sm:max-h-[423px] flex xl:items-center justify-start align-start flex-col xl:flex-row cursor-pointer px-8 lg:pb-44 pb-24 pt-10 text-lg lg:mx-0 ${cabinetBold.className} rounded-2xl bg-grape ${bodyStyling} gap-8 lg:gap-0`}
className={`relative md:p-10 max-w-[1250px] min-h-[400px] sm:min-h-[526px] sm:max-h-[423px] flex xl:items-center justify-start align-start flex-col xl:flex-row cursor-pointer px-8 lg:pb-44 pb-24 pt-10 text-lg lg:mx-0 ${cabinetBold.className} rounded-2xl bg-grape ${bodyStyling} gap-8 lg:gap-0 `}
>
<div className="xl:w-3/5 self-start sm:xl lg:px-5 lg:mt-[100px] lg:ml-[20px] pb-20 sm:pb-0 md:mt-[60px] sm:mt-[60px] ">
<div className="rounded-full w-16 h-16 flex items-center justify-start">
{svg}
</div>
<div className={`flex flex-col`}>
<p
className={`lg:text-4xl text-2xl xl:mt-4 mt-2 ${cabinetExtraBold.className} lg:w-[400px]`}
>
<div className="xl:w-3/5 self-start sm:xl lg:px-5 lg:mt-10 ">
<div className="rounded-full w-16 h-16 flex items-center justify-start">
{svg}
</div>
<div className={`flex flex-col `}>
<p
className={`lg:text-4xl text-2xl xl:mt-4 mt-2 ${cabinetExtraBold.className} lg:w-[400px]`}
>
{title}
</p>
<span
className={`lg:text-xl text-lg w-[100%] xl:mt-10 lg:w-[70%] mt-4 ${cabinetMedium.className}`}
>
{description}
</span>
</div>
</div>

<div className="flex flex-col lg:-ml-20 lg:mt-6 lg:w-[500px]">
<p className={`text-bold pt-4 lg:pt-6 ${cabinetExtraBold.className}`}>
WINNER GETS
{title}
</p>
<span className={`${cabinetExtraBold.className} lg:text-8xl text-5xl mt-3`}>
Rs. 15,000
</span>
</div>
</div>
<span
className={`lg:text-xl text-lg w-[100%] xl:mt-10 lg:w-[70%] mt-4 ${cabinetMedium.className}`}
>
{description}
</span>
</div>
</div>
<div
className={`
flex flex-col p-6 sm:p-0 text-left sm:text-left sm:static absolute bottom-0 left-2 md:relative md:left-auto md:right-auto md:w-auto lg:-ml-20 lg:mt-[94px] lg:w-[500px] ml-[0px]`}
>
<p className={`pt-4 lg:pt-6 ${cabinetExtraBold.className}`}>
WINNER GETS
</p>
<span className={`${cabinetExtraBold.className} lg:text-[90px] text-5xl mt-3`}>
Rs. 15,000
</span>
</div>
</div>
);
};
export default TracksBodyCard;
12 changes: 6 additions & 6 deletions frontend/src/app/sections/Tracks/TracksCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ const TracksCard = () => {
{
title: "Interactive Technology",
svg: <InteractiveTechnologySVG height={24} width={24} />,
svgBody: <InteractiveTechnologyNewSVG height={50} width={50} />,
svgBody: <InteractiveTechnologyNewSVG height={85} width={84} />,
headStyling:
selectedTrack === "Interactive Technology"
? "bg-grape text-magnolia active"
Expand All @@ -35,7 +35,7 @@ const TracksCard = () => {
{
title: "Data Science / Machine Learning",
svg: <DataScienceSVG height={25} width={25} />,
svgBody: <DataScienceNew height={50} width={50} />,
svgBody: <DataScienceNew height={85} width={84} />,
headStyling:
selectedTrack === "Data Science / Machine Learning"
? "bg-purpures text-magnolia active"
Expand All @@ -47,7 +47,7 @@ const TracksCard = () => {
{
title: "Blockchain",
svg: <BlockchainSVG height={25} width={25} />,
svgBody: <BlockchainNew height={50} width={50} />,
svgBody: <BlockchainNew height={85} width={84}/>,
headStyling:
selectedTrack === "Blockchain"
? "bg-magnolia text-dark-purple active"
Expand All @@ -59,7 +59,7 @@ const TracksCard = () => {
{
title: "Open Innovation",
svg: <OpenInnovationSVG height={25} width={25} />,
svgBody: <OpenInnovationNew height={50} width={50} />,
svgBody: <OpenInnovationNew height={85} width={84} />,
headStyling:
selectedTrack === "Open Innovation"
? "bg-secondary text-dark-purple active"
Expand All @@ -69,9 +69,9 @@ const TracksCard = () => {
"Transforming Challenges into Opportunities at DeerHack. Be part of the solution, forging a brighter future for all.",
},
{
title: "Ed-Tech",
title: "Ed - Tech",
svg: <EdTechSVG height={25} width={25} />,
svgBody: <EdTechNew height={50} width={50} />,
svgBody: <EdTechNew height={85} width={84}/>,
headStyling:
selectedTrack === "Ed-Tech"
? "gradient-bg text-magnolia active"
Expand Down