Skip to content

Commit

Permalink
fix: styling issues and updated content in footer and about section (#98
Browse files Browse the repository at this point in the history
)

* fix: styling issues and updated content in footer and about section

* fix: update content of sponsor section and add policies

* chore: add links to payment

* fix: updated compressed images

---------

Co-authored-by: Ashish Padhy <100484401+Shurtu-gal@users.noreply.github.com>
  • Loading branch information
jayeshxn and Shurtu-gal committed Oct 15, 2023
1 parent 9c559d7 commit 1271105
Show file tree
Hide file tree
Showing 14 changed files with 130 additions and 79 deletions.
3 changes: 2 additions & 1 deletion .env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ GATSBY_FIREBASE_STORAGE_BUCKET=SOME_STORAGE_BUCKET
GATSBY_FIREBASE_MESSAGING_SENDER_ID=SOME_MESSAGING_SENDER_ID
GATSBY_FIREBASE_APP_ID=SOME_APP_ID
GATSBY_FIREBASE_MEASUREMENT_ID=SOME_MEASUREMENT_ID
GATSBY_API_URL=https://avenue-api.nitrkl.in/
GATSBY_API_URL=https://avenue-api.nitrkl.in/
GATSBY_AVENUE_API_URL=https://avenue-api.nitrkl.in
28 changes: 21 additions & 7 deletions config/content/EventPage.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,36 +2,50 @@ export default [
{
title: 'Technical',
type: 'Technical',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/' +
'v1697370432/Inno%202k23/david-leveque-GpNOhig3LSU-unsplash_11zon_y5ajhn.jpg',
},
{
title: 'Pro Shows',
type: 'Pro',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/' +
'v1697370431/Inno%202k23/Pro_Sho_11zon_bowwb3.jpg',
},
{
title: 'Workshops',
type: 'Workshop',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/v1697370432/' +
'Inno%202k23/lexscope-0k2mMcdTOYU-unsplash_11zon_zemsvp.jpg',
},
{
title: 'Guest Lectures',
type: 'Guest-Lectures',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/v1697370431/' +
'Inno%202k23/miguel-henriques-RfiBK6Y_upQ-unsplash_11zon_a1nvuc.jpg',
},
{
title: 'Exhibitions',
type: 'Exhibitions',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/' +
'v1697370431/Inno%202k23/sergio-rota-lq-3u9EqNb4-unsplash_11zon_mpy2wj.jpg',
},
{
title: 'Fun Events',
type: 'Fun',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/v1697370432/' +
'Inno%202k23/jonny-gios-8wKTIZ1KEzY-unsplash_11zon_frv6up.jpg',
},
{
title: 'Others',
type: 'Other',
image: 'https://placehold.co/80',
image:
'https://res.cloudinary.com/dme9vltjf/image/upload/v1697370957/' +
'Inno%202k23/samantha-gades-fIHozNWfcvs-unsplash_bi17wn_3_evkqzx.jpg',
},
];
52 changes: 29 additions & 23 deletions config/content/FAQ.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,50 +3,56 @@ export const FAQS = [
id: 1,
question: 'What is INNOVISION? ',
answer:
'Innovision is one of the biggest ' +
'techno management fest organised by students of NITR,' +
' with participation from all over India ',
'Innovision is one of the biggest techno ' +
'management fest organised by students of NITR, ' +
'with participation from all over India. ',
},
{
id: 2,
question: 'Who are we?',
question: 'Who can participate? ',
answer:
'Organised by students of NIT Rourkela, INNOVISION is the annual techno management.' +
'With our unrivalled ability to host such technical fests ' +
"we were recognised as Odisha's top student chapter",
'All science and technology enthusiasts currently ' +
'studying in college are invited to participate. ',
},
{
id: 3,
question: 'Who can participate?',
answer:
'All science and technology enthusiasts currently ' +
'studying in college are invited to participate.',
question: 'How to participate?',
answer: 'You can acquire all the information you need by registering on the website for this.',
},
{
id: 4,
question: 'Will it be conducted online?',
answer: 'No the event will be conducted in offline mode.',
question: 'Cost of registration? ',
answer: 'The cost of registration, including accommodation is Rs. 1000. ',
},
{
id: 5,
question: 'What is the goal of the fest? ',
question: 'Will there be any proshows?',
answer:
'The major purpose of the fest is to bring together people ' +
'who share a passion for technology in order ' +
'to showcase their skills and give attendees' +
' a fantastic chance to broaden their technical understandings.',
'All the attendees will ' +
'have the opportunity to enjoy a lifetime of experiences, including DJ Night, stand-up ' +
'comedy shows, and more, creating lasting memories.',
},
{
id: 6,
question: 'How could I know if I got selected for any event? ',
answer: "If you're chosen, we'll send you an email.",
question: 'Will I have to pay anything extra for the events?',
answer: 'Most of the events are free of cost apart from few fun events and workshops.',
},
{
id: 7,
question: 'Cost of registration? ',
question: 'Starting from which date will accommodation be provided?',
answer:
'Accommodation will strictly be provided ' +
'from 3rd November 2023 to 5th November 2023. Please note that accommodation will ' +
'not be provided on 2nd November 2023 or 6th November 2023.',
},
{
id: 8,
question: 'Will I have to pay anything extra for accommodation?',
answer:
'The cost of registration, including accommodation is Rs. 950,' +
' and without accommodation, it is Rs. 750.',
"No, you don't have to pay anything " +
'extra for accommodation. The registration fees ' +
'includes 3-day accommodation. Please note that meals will not be provided by us. ' +
'However, you can buy your meals at eateries and restaurants.',
},
];

Expand Down
30 changes: 20 additions & 10 deletions config/content/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,22 @@ export default {
{
id: 1,
name: 'Privacy Policy',
link: '/privacy',
link: 'https://drive.google.com/file/d/1mQqqUzHdR-56cmrKLMCANlrrT22FVkgk/view',
},
{
id: 2,
name: 'Team',
link: '/',
name: 'Code of Conduct',
link: 'https://drive.google.com/file/d/1Nr38t6s37FQQ5edU8biloQdl3EsdGns-/view',
},
{
id: 3,
name: 'Terms and Conditions',
link: 'https://drive.google.com/file/d/1bg9NMoJV80vdaoNRTpQIKVt-QGQtkpy5/view',
},
{
id: 4,
name: 'Refund Policy',
link: 'https://drive.google.com/file/d/1cLnuEBtt7yFfC1dQeFVOP0Oxf_hsCTzb/view',
},
],
},
Expand All @@ -29,28 +39,28 @@ export default {
{
idx: 1,
infoName: 'Weekdays',
info: 'Timings',
info: '9:00AM - 10:00PM',
},
{
idx: 2,
infoName: 'Saturday, Sunday',
info: 'Timings',
info: '9:00AM - 10:00PM',
},
],
},
{
id: 2,
infoTitle: 'Opening Hours',
infoTitle: 'Contact Us',
list: [
{
idx: 1,
infoName: 'Weekdays',
info: 'Timings',
infoName: 'Snehasish',
info: '+91 98277 02030',
},
{
idx: 2,
infoName: 'Saturday, Sunday',
info: 'Timings',
infoName: 'Medha',
info: '+91 97051 66433',
},
],
},
Expand Down
8 changes: 4 additions & 4 deletions config/content/payment.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,25 +25,25 @@ export const PaymentContent = {
id: 'privacy',
term: 'I have read and agree to the ',
linkText: 'Privacy Policy',
link: 'https://www.google.com',
link: 'https://drive.google.com/file/d/1mQqqUzHdR-56cmrKLMCANlrrT22FVkgk/view',
},
{
id: 'code',
term: 'I have read and agree to the ',
linkText: 'Code of Conduct',
link: 'https://www.google.com',
link: 'https://drive.google.com/file/d/1Nr38t6s37FQQ5edU8biloQdl3EsdGns-/view',
},
{
id: 'refund',
term: 'I have read and agree to the ',
linkText: 'Refund Policy',
link: 'https://www.google.com',
link: 'https://drive.google.com/file/d/1bg9NMoJV80vdaoNRTpQIKVt-QGQtkpy5/view',
},
{
id: 'terms',
term: 'I have read and agree to the ',
linkText: 'Terms and Conditions',
link: 'https://www.google.com',
link: 'https://drive.google.com/file/d/1cLnuEBtt7yFfC1dQeFVOP0Oxf_hsCTzb/view',
},
],
};
55 changes: 35 additions & 20 deletions config/content/sponsors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
export default {
title: 'Past Sponsors',

footer: 'Want to sponsor us? ',
link:
'https://docs.google.com/forms/d/e/1FAIpQLSfV6ZclXiO7K5vVWFjR6_' +
Expand All @@ -9,8 +10,10 @@ export default {
titleSponsor: [
{
id: 1,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'INNO TTILE',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/' +
'upload/v1697350325/Innovision%202023/Sponsors/Adobe.png',
alt: 'INNO TITLE',
link: 'inno.nitrkl.in',
color: '#FFB8FF',
},
Expand All @@ -19,49 +22,61 @@ export default {
sponsors: [
{
id: 1,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Associate Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/upload' +
'/v1697350330/Innovision%202023/Sponsors/Huddang.jpg',
alt: 'Huddang',
type: 'Fooding Partner',
link: 'inno.nitrkl.in',
color: '#5CFFA7',
},
{
id: 2,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Media Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/upload/' +
'v1697350340/Innovision%202023/Sponsors/Sambad.jpg',
alt: 'Sambad',
type: 'Media Partner',
link: 'inno.nitrkl.in',
color: '#E85CFF',
},
{
id: 3,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Refreshments Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/' +
'upload/v1697350334/Innovision%202023/Sponsors/RKL%20SHINES.jpg',
alt: 'Rourkela Shines',
type: 'Media Partner',
link: 'inno.nitrkl.in',
color: '#5C9DFF',
},
{
id: 4,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Associate Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/' +
'upload/v1697350322/Innovision%202023/Sponsors/Flavour%20Box.png',
alt: 'Flavour Box',
type: 'Sponsor',
link: 'inno.nitrkl.in',
color: '#5CFFA7',
},
{
id: 5,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Media Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/upload/' +
'v1697350329/Innovision%202023/Sponsors/Clavimate.jpg',
alt: 'Clavimate',
type: 'Sponsor',
link: 'inno.nitrkl.in',
color: '#E85CFF',
},
{
id: 6,
logo: 'https://res.cloudinary.com/dme9vltjf/image/upload/v1695818710/inno_logo_gjqvic.svg',
alt: 'TBA',
type: 'Refreshments Sponsor',
logo:
'https://res.cloudinary.com/dsg5j3qx6/image/' +
'upload/v1697350328/Innovision%202023/Sponsors/Unacademy.jpg',
alt: 'Unacademy',
type: 'Sponsor',
link: 'inno.nitrkl.in',
color: '#5C9DFF',
},
Expand Down
2 changes: 1 addition & 1 deletion src/components/Payment/PaymentCard.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ const PaymentCard = () => {
WebkitTextFillColor: 'transparent',
}}
>
750
899
</b>
</Body2>

Expand Down
2 changes: 1 addition & 1 deletion src/components/SponsorSection/SponsorSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ const SponsorSection = () => (
<SponsorWrapper>
{sponsors.map(({ id, logo, alt, link, type, color }) => (
<SponsorContainer key={id}>
<a href={link} target='_blank noopener noreferer'>
<a href={link} target='_blank noopener noreferer' style={{ height: '90%' }}>
<SponsorLogo src={logo} alt={alt} />
</a>
<SponsorText color={color}>{type}</SponsorText>
Expand Down
7 changes: 2 additions & 5 deletions src/components/SponsorSection/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,13 +21,11 @@ export const TitleSponsorContainer = styled.div`
${tw`
flex
flex-col
gap-[32px]
text-center
w-[320px]
`}
@media (max-width: 1100px) {
width: 240px;
gap: 16px;
}
`;

Expand Down Expand Up @@ -77,7 +75,7 @@ export const SponsorContainer = styled.div`
${tw`
flex
flex-col
gap-[32px]
gap-[20px]
text-center
w-[320px]
col-span-1
Expand All @@ -99,7 +97,6 @@ export const SponsorContainer = styled.div`

export const SponsorLogo = styled.img`
${tw`
w-full
my-auto
h-full
`}
`;
4 changes: 2 additions & 2 deletions src/components/Ticker/styles.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,9 @@ export const TickerMover = styled.div`
inline-block
whitespace-nowrap
`}
animation: ${({ reverse }) => (reverse ? reverseTicker : ticker)} 160s linear infinite;
animation: ${({ reverse }) => (reverse ? reverseTicker : ticker)} 260s linear infinite;
@media (max-width: 720px) {
animation: ${({ reverse }) => (reverse ? reverseTicker : ticker)} 110s linear infinite;
animation: ${({ reverse }) => (reverse ? reverseTicker : ticker)} 200s linear infinite;
}
`;
Loading

0 comments on commit 1271105

Please sign in to comment.