Skip to content

Commit

Permalink
Merge pull request #10 from AYANscyy2/minor-changes
Browse files Browse the repository at this point in the history
chore:fix minor changes
  • Loading branch information
Srish-ty authored Jan 15, 2025
2 parents ccab776 + 93b7231 commit 55950cf
Show file tree
Hide file tree
Showing 11 changed files with 17 additions and 16 deletions.
2 changes: 1 addition & 1 deletion src/components/campusAmbasador/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const OuterCover = styled.div`
`;

const InnerCover = styled.div`
${tw`ssm:ml-10 flex flex-col items-center ssm:items-start justify-start`}
${tw`ssm:ml-10 flex flex-col items-center sm:items-start justify-start`}
`;

export {
Expand Down
5 changes: 3 additions & 2 deletions src/components/hero/hero.jsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
'use client';

import { BROCHURE_LINK, DISCORD_LINK, HNTYPO } from '@/config/content/hero';
import { BROCHURE_LINK, DEVFOLIO_LINK, DISCORD_LINK, HNTYPO } from '@/config/content/hero';
import { handleRedirect } from '@/utils/handleRedirect';
import RegisterButton from '@/components/shared/devfolio/button';
import { DiscordButton, PrimaryButton } from '@/components/shared/typography/Button';
Expand All @@ -21,7 +21,8 @@ export default function Hero() {
<HeroImage src={HNTYPO} alt='HackNITR 6.0' width={800} height={200} priority />
<TextStyle>March 1st-2nd, 2025 | NIT Rourkela</TextStyle>
<ButtonContainer>
<RegisterButton />
{/* <RegisterButton /> */}
<PrimaryButton text='Apply on Devfolio' onClick={() => handleRedirect(DEVFOLIO_LINK)} />
{/* <PrimaryButton text='View Brochure' onClick={() => handleRedirect(BROCHURE_LINK)} /> */}
<DiscordButton onClick={() => handleRedirect(DISCORD_LINK)} text='Join Discord' />
</ButtonContainer>
Expand Down
2 changes: 1 addition & 1 deletion src/components/hero/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export const TextStyle = styled.div`
`;

export const ButtonContainer = styled.div`
${tw`flex flex-col items-center justify-center gap-4 sm:gap-6`}
${tw`flex flex-col sm:flex-row items-center justify-center gap-5 sm:gap-6`}
`;

export const SectionContainer = styled.div`
Expand Down
5 changes: 1 addition & 4 deletions src/components/marginals/footer/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,9 @@ export const FooterContainer = styled(Body1)`
z-50
border-t-[1px]
border-[#F6DFC2]
bg-[#1E0918]
`}
background-image: url('https://res.cloudinary.com/dqqyuvg1v/image/upload/v1736697114/grain_img_deenla.png');
background-size: 700px 700px;
@media (max-width: 800px) {
${tw`
flex-col-reverse
Expand Down
2 changes: 1 addition & 1 deletion src/components/shared/typography/Headings.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const H1 = styled.h1`
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-align: center !important;
text-align: center;
`;

export const H2 = styled.h2`
Expand Down
2 changes: 1 addition & 1 deletion src/components/stats/stats-main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const StatsMain = () => {
return (
<SectionContainer className='mt-20' id='Stats'>
<StatsHeadingContainer>
<StatsHeading>Stats HackNITR 5.0</StatsHeading>
<StatsHeading>Stats till now</StatsHeading>
</StatsHeadingContainer>
<CardContainer>
{STATSCONTENT.map((items, index) => (
Expand Down
7 changes: 5 additions & 2 deletions src/components/timeline/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,8 @@ export const Box = styled.div`
}
`;
export const BoxHeading = styled(H1)`
${tw`text-2xl md:text-3xl font-poppins`}
${tw`text-2xl md:text-3xl font-poppins`}
text-align: left;
`;
export const Duration = styled(H3)`
color: var(--Neutral-2, #454545);
Expand All @@ -81,4 +82,6 @@ export const Container = styled.section`
export const TimelineHeadingContainer = styled(PrizesHeadingContainer)`
${tw`my-5 md:my-20`}
`;
export const TimeLineHeading = styled(PrizesHeading)``;
export const TimeLineHeading = styled(PrizesHeading)`
${tw`text-left`}
`;
2 changes: 1 addition & 1 deletion src/components/timeline/timeline.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ export default function Timeline() {
</ProgressBar>
<div className='flex flex-col md:gap-[36px]'>
{TIMELINE.nodes.map((node, index) => (
<div key={node.serialid} className='flex items-center md:flex-row flex-col'>
<div key={node.serialid} className='flex items-center md:flex-row flex-col'>
<Branch />
<Box color={node.color}>
<BoxHeading color={node.color}>{node.title}</BoxHeading>
Expand Down
2 changes: 1 addition & 1 deletion src/config/content/CampusAmbasador/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export const CAMPUS_AMBASADOR =
'https://res.cloudinary.com/dqqyuvg1v/image/upload/v1736605065/Seminar-pana_1_kwv98g.png';

export const DETAILS = {
title: 'Become a Campus Ambassador',
title: 'Become a Campus Leader',
des: 'Ambassadorial Privileges',
end: 'Join us as a Campus Ambassador and leave your mark!',
button: 'Apply Now',
Expand Down
2 changes: 1 addition & 1 deletion src/config/content/questions/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const QUESTIONS_DATA = [
},

{
id: 10,
id: 9,
question: 'What all things do you need to with while attending the hackathon?',
answer:
'Although we will provide you with a lot of things, you should bring your laptop, chargers, extension cords, and any other hardware you might need. Furthermore it is mandatory to bring a physical copy of your undertaking form signed by your college authority and the hacker ID assigned to you within 24 hrs before the event along with a valid govt. ID. For further information please look at Things to carry for HackNITR 6.0 notion link. Students faling to submit the MoU within the stipulated time will be disqualified from the event.',
Expand Down
2 changes: 1 addition & 1 deletion src/config/content/timeline/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export const TIMELINE = {
},
{
serialid: 2,
title: 'Acceptance Letter rollout',
title: 'Acceptance Letter Rollout',
duration: 'Duration: 16 Feb to 28 Feb',
color: '#35E1FF',
description: 'Mails sent to accepted hackers',
Expand Down

0 comments on commit 55950cf

Please sign in to comment.