From 8ea7ef76d6430b5debd273a31fa0af1ed1c9d470 Mon Sep 17 00:00:00 2001 From: Dhrutinandan Swain Date: Fri, 25 Oct 2024 11:59:08 +0530 Subject: [PATCH 1/3] feat: add T&C, Code of Conduct page and update refund policy data --- src/app/codeofconduct/page.jsx | 27 ++++++++++++++++++ src/app/codeofconduct/page.styles.jsx | 16 +++++++++++ src/app/refundPolicy/page.jsx | 5 ++-- src/app/refundPolicy/page.styles.jsx | 4 +++ src/app/termsandconditions/page.jsx | 27 ++++++++++++++++++ src/app/termsandconditions/page.styles.jsx | 16 +++++++++++ src/components/Marginals/Footer/Footer.jsx | 16 ++--------- src/config/content/Footer.js | 32 ++++++++++++++-------- 8 files changed, 117 insertions(+), 26 deletions(-) create mode 100644 src/app/codeofconduct/page.jsx create mode 100644 src/app/codeofconduct/page.styles.jsx create mode 100644 src/app/termsandconditions/page.jsx create mode 100644 src/app/termsandconditions/page.styles.jsx diff --git a/src/app/codeofconduct/page.jsx b/src/app/codeofconduct/page.jsx new file mode 100644 index 00000000..9f8259f8 --- /dev/null +++ b/src/app/codeofconduct/page.jsx @@ -0,0 +1,27 @@ +'use client'; +import { PaymentContainer, Heading3, Heading4 } from './page.styles'; +import { CodeOfConductModalData } from '@/config/content/Footer'; + +export default function Page() { + return ( + + {CodeOfConductModalData.map((item) => ( +
+ {item.title} + + {item.description + .split('•') + .filter((part) => part.trim() !== '') + .map((part, index) => ( + + {item.description.includes('•') && `• ${part.trim()}`} + {!item.description.includes('•') && part.trim()} +
+
+ ))} +
+
+ ))} +
+ ); +} diff --git a/src/app/codeofconduct/page.styles.jsx b/src/app/codeofconduct/page.styles.jsx new file mode 100644 index 00000000..2356baf2 --- /dev/null +++ b/src/app/codeofconduct/page.styles.jsx @@ -0,0 +1,16 @@ +import tw from 'twin.macro'; +import styled from 'styled-components'; +import { Heading2 } from '@/components/shared/Typography/Headings'; + +export const PaymentContainer = styled.div` + background-image: url('https://res.cloudinary.com/dhv234qct/image/upload/v1728888341/Inno2k24/yupqoznoucyhxwchhbv7.png'); + ${tw`w-full flex flex-col bg-cover pt-24 pl-4 xxxs:pl-8 pr-8 xsm:pt-48 md:pt-52`} +`; + +export const Heading3 = styled(Heading2)` + ${tw`text-[#00FFD1] text-2xl mb-12 xsm:mb-28 xsm:text-4xl md:text-5xl font-bold font-orbitron text-left`} +`; + +export const Heading4 = styled(Heading2)` + ${tw`text-white text-xl mb-12 xsm:mb-28 xsm:text-2xl md:text-3xl font-normal font-montserrat text-left`} +`; diff --git a/src/app/refundPolicy/page.jsx b/src/app/refundPolicy/page.jsx index 1ac9c44a..60d4acd1 100644 --- a/src/app/refundPolicy/page.jsx +++ b/src/app/refundPolicy/page.jsx @@ -1,6 +1,6 @@ 'use client'; -import { PaymentContainer, Heading3, Heading4 } from './page.styles'; -import { PaymentPolicyPageData } from '@/config/content/Footer'; +import { PaymentContainer, Heading3, Heading4, Heading5 } from './page.styles'; +import { PaymentPolicyPageData, abideByRefundPolicy } from '@/config/content/Footer'; export default function Page() { return ( @@ -11,6 +11,7 @@ export default function Page() { {item.description} ))} + {abideByRefundPolicy} ); } diff --git a/src/app/refundPolicy/page.styles.jsx b/src/app/refundPolicy/page.styles.jsx index 2356baf2..62d706e5 100644 --- a/src/app/refundPolicy/page.styles.jsx +++ b/src/app/refundPolicy/page.styles.jsx @@ -14,3 +14,7 @@ export const Heading3 = styled(Heading2)` export const Heading4 = styled(Heading2)` ${tw`text-white text-xl mb-12 xsm:mb-28 xsm:text-2xl md:text-3xl font-normal font-montserrat text-left`} `; + +export const Heading5 = styled(Heading2)` + ${tw`text-[#00FFD1] text-xl mb-12 xsm:mb-28 xsm:text-2xl md:text-3xl font-normal font-orbitron text-center`} +`; diff --git a/src/app/termsandconditions/page.jsx b/src/app/termsandconditions/page.jsx new file mode 100644 index 00000000..5692ef96 --- /dev/null +++ b/src/app/termsandconditions/page.jsx @@ -0,0 +1,27 @@ +'use client'; +import { PaymentContainer, Heading3, Heading4 } from './page.styles'; +import { TermsAndConditionsModalData } from '@/config/content/Footer'; + +export default function Page() { + return ( + + {TermsAndConditionsModalData.map((item) => ( +
+ {item.title} + + {item.description + .split('•') + .filter((part) => part.trim() !== '') + .map((part, index) => ( + + {item.description.includes('•') && `• ${part.trim()}`} + {!item.description.includes('•') && part.trim()} +
+
+ ))} +
+
+ ))} +
+ ); +} diff --git a/src/app/termsandconditions/page.styles.jsx b/src/app/termsandconditions/page.styles.jsx new file mode 100644 index 00000000..2356baf2 --- /dev/null +++ b/src/app/termsandconditions/page.styles.jsx @@ -0,0 +1,16 @@ +import tw from 'twin.macro'; +import styled from 'styled-components'; +import { Heading2 } from '@/components/shared/Typography/Headings'; + +export const PaymentContainer = styled.div` + background-image: url('https://res.cloudinary.com/dhv234qct/image/upload/v1728888341/Inno2k24/yupqoznoucyhxwchhbv7.png'); + ${tw`w-full flex flex-col bg-cover pt-24 pl-4 xxxs:pl-8 pr-8 xsm:pt-48 md:pt-52`} +`; + +export const Heading3 = styled(Heading2)` + ${tw`text-[#00FFD1] text-2xl mb-12 xsm:mb-28 xsm:text-4xl md:text-5xl font-bold font-orbitron text-left`} +`; + +export const Heading4 = styled(Heading2)` + ${tw`text-white text-xl mb-12 xsm:mb-28 xsm:text-2xl md:text-3xl font-normal font-montserrat text-left`} +`; diff --git a/src/components/Marginals/Footer/Footer.jsx b/src/components/Marginals/Footer/Footer.jsx index 4dbc37c8..f73f0931 100644 --- a/src/components/Marginals/Footer/Footer.jsx +++ b/src/components/Marginals/Footer/Footer.jsx @@ -108,19 +108,9 @@ export const Footer = () => { {footerBottom.map((item) => ( - {item.id === 2 ? ( - - ) : item.id === 3 ? ( - - ) : item.id === 4 ? ( - - {item.title} - - ) : ( - - {item.title} - - )} + + {item.title} + ))} diff --git a/src/config/content/Footer.js b/src/config/content/Footer.js index 9ebb53c2..218b60b1 100644 --- a/src/config/content/Footer.js +++ b/src/config/content/Footer.js @@ -1,3 +1,5 @@ +import { description } from '../SEO/config'; + export const socials = [ { id: 'instagram', @@ -67,12 +69,12 @@ export const footerBottom = [ { id: 2, title: 'Terms & Conditions', - url: 'https://drive.google.com/file/d/15K3TloImWe4F7dTWdyGhLPnt1iz0xFfW/view?usp=sharing', + url: '/termsandconditions', }, { id: 3, title: 'Code of Conduct', - url: 'https://drive.google.com/file/d/1z0teaCdXmarrQ-VwB2a1gKQw32m0bJLD/view?usp=sharing', + url: '/codeofconduct', }, { id: 4, @@ -139,7 +141,7 @@ export const TermsAndConditionsModalData = [ { title: 'Licence', description: - 'Unless otherwise stated, Innovision and/or its licensors own the intellectual property rights for all material on Innovision 2024. All intellectual property rights are reserved. You may access this from Innovision 2024 for your personal use subject to restrictions set in these terms and conditions.You must not: ● Copy or republish material from Innovision 2024 ● Sell, rent, or sub-license material from Innovision 2024 ● Reproduce, duplicate or copy material from Innovision 2024 ● Redistribute content from Innovision 2024.This Agreement shall begin on the date hereof.', + 'Unless otherwise stated, Innovision and/or its licensors own the intellectual property rights for all material on Innovision 2024. All intellectual property rights are reserved. You may access this from Innovision 2024 for your personal use subject to restrictions set in these terms and conditions.You must not: • Copy or republish material from Innovision 2024 • Sell, rent, or sub-license material from Innovision 2024 • Reproduce, duplicate or copy material from Innovision 2024 • Redistribute content from Innovision 2024.This Agreement shall begin on the date hereof.', }, { title: 'Disclaimer', @@ -150,23 +152,31 @@ export const TermsAndConditionsModalData = [ export const PaymentPolicyPageData = [ { - title: 'Pricing', + title: 'INNOVISION 2024 Refund Policy', description: - 'The registration fees for Innovision 2024 apply to all students from outside NIT Rourkela. This fee grants access to all events, workshops, and exhibitions during the fest. For students of NIT Rourkela, registration is completely free. Registration covers participation in most events, though some workshops may require additional fees for materials. We encourage all students to register early to secure their spot, as registrations may close once we reach capacity.', + 'At INNOVISION 2024, we are committed to providing an enriching experience for all participants. Please review our refund policy carefully:', }, { - title: 'Refund Policy', + title: 'No Refunds on Registrations and Payments', description: - 'Thank you for registering at Innovision 2024. If, for any reason, you are not entirely satisfied with your registration or encounter any issues, we encourage you to review our refund and return policy.We strive to ensure all participants have a seamless experience, and any issues with registration should be addressed with the event support team as early as possible.', + 'Once registration or payment is completed, refunds will not be issued under any circumstances. This applies to all ticket types, event passes, and additional purchases made through our website.', }, { - title: 'Your Registration Cancellation Rights', + title: 'Event Cancellation by Organizers', description: - 'There will be no refund of the registration fees under any circumstances unless the fest is cancelled by Team Innovision. This policy is in place to ensure the smooth planning and execution of the event. In case of fest cancellation by the organizing team, all registered participants will be eligible for a full refund. However, in any other case, the registration fees are non-refundable. We highly recommend double-checking your availability before confirming your registration.', + 'Refunds will only be issued if INNOVISION 2024 is cancelled by the organizers. In such a case, all registered participants will receive a full refund through the original payment method, processed within 14 days of the cancellation announcement.', }, { - title: 'Contact for Help', + title: 'Force Majeure', description: - 'If you have any questions or need assistance with your registration, please feel free to reach out to our support team at innovision2024.nitr@gmail.com. We are here to help with any queries related to registration, event details, or technical issues. Our team will respond within 24-48 hours to ensure you have all the information you need to enjoy Innovision 2024 to the fullest.', + 'In the event of unforeseen circumstances such as natural disasters, government restrictions, or other events beyond our control, INNOVISION 2024 organizers will make every effort to reschedule. However, refunds will not be issued under these conditions. Refunds will only be processed if INNOVISION 2024 is officially cancelled by the organizers.', + }, + { + title: 'Contact Us', + description: + 'For any questions regarding our refund policy, please reach out to our support team through the contact information provided on our website.', }, ]; + +export const abideByRefundPolicy = + 'By registering for INNOVISION 2024, you agree to abide by our refund policy.'; From c5d45b0c991213fb580f952a33dc2b161538ac74 Mon Sep 17 00:00:00 2001 From: Dhrutinandan Swain Date: Fri, 25 Oct 2024 12:21:10 +0530 Subject: [PATCH 2/3] feat: update payment policy page data --- src/app/refundPolicy/page.jsx | 14 +++++++++++++- src/config/content/Footer.js | 9 +++++++-- 2 files changed, 20 insertions(+), 3 deletions(-) diff --git a/src/app/refundPolicy/page.jsx b/src/app/refundPolicy/page.jsx index 60d4acd1..725ea1e0 100644 --- a/src/app/refundPolicy/page.jsx +++ b/src/app/refundPolicy/page.jsx @@ -8,7 +8,19 @@ export default function Page() { {PaymentPolicyPageData.map((item) => (
{item.title} - {item.description} + + {item.description.split('•').map((part, index) => { + const email = 'innovision2024.nitr@gmail.com'; + const emailLink = `${email}`; + const modifiedPart = part.replace(email, emailLink); + return ( + + +
+
+ ); + })} +
))} {abideByRefundPolicy} diff --git a/src/config/content/Footer.js b/src/config/content/Footer.js index 218b60b1..4ff92367 100644 --- a/src/config/content/Footer.js +++ b/src/config/content/Footer.js @@ -156,6 +156,11 @@ export const PaymentPolicyPageData = [ description: 'At INNOVISION 2024, we are committed to providing an enriching experience for all participants. Please review our refund policy carefully:', }, + { + title: 'Pricing', + description: + 'The registration fees for Innovision 2024 applies to all students from outside NIT Rourkela. This fee grants access to all events, workshops, and exhibitions during the fest. For students of NIT Rourkela, registration is completely free. Registration covers participation in most events, though some workshops may require additional fees for materials. We encourage all students to register early to secure their spot, as registrations may close once we reach capacity.', + }, { title: 'No Refunds on Registrations and Payments', description: @@ -172,9 +177,9 @@ export const PaymentPolicyPageData = [ 'In the event of unforeseen circumstances such as natural disasters, government restrictions, or other events beyond our control, INNOVISION 2024 organizers will make every effort to reschedule. However, refunds will not be issued under these conditions. Refunds will only be processed if INNOVISION 2024 is officially cancelled by the organizers.', }, { - title: 'Contact Us', + title: 'Contact for Help', description: - 'For any questions regarding our refund policy, please reach out to our support team through the contact information provided on our website.', + 'If you have any questions or need assistance with your registration, please feel free to reach out to our support team at innovision2024.nitr@gmail.com. We are here to help with any queries related to registration, event details, or technical issues. Our team will respond within 24-48 hours to ensure you have all the information you need to enjoy Innovision 2024 to the fullest.', }, ]; From 425f8e86897ef3608606f0d69935403036bab3db Mon Sep 17 00:00:00 2001 From: Dhrutinandan Swain Date: Fri, 25 Oct 2024 12:30:42 +0530 Subject: [PATCH 3/3] feat: update payment policy page data --- src/config/content/Footer.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/content/Footer.js b/src/config/content/Footer.js index 4ff92367..414a9232 100644 --- a/src/config/content/Footer.js +++ b/src/config/content/Footer.js @@ -164,12 +164,12 @@ export const PaymentPolicyPageData = [ { title: 'No Refunds on Registrations and Payments', description: - 'Once registration or payment is completed, refunds will not be issued under any circumstances. This applies to all ticket types, event passes, and additional purchases made through our website.', + 'Once registration or payment is completed, refunds will not be issued under any circumstances. This applies to all ticket types, event passes, and additional purchases made through our website. This policy is in place to ensure the smooth planning and execution of the event.', }, { title: 'Event Cancellation by Organizers', description: - 'Refunds will only be issued if INNOVISION 2024 is cancelled by the organizers. In such a case, all registered participants will receive a full refund through the original payment method, processed within 14 days of the cancellation announcement.', + 'Refunds will only be issued if INNOVISION 2024 is cancelled by the organizers. In such a case, all registered participants will receive a full refund through the original payment method, processed within 14 days of the cancellation announcement. However, in any other case, the registration fees are non-refundable. We highly recommend double-checking your availability before confirming your registration.', }, { title: 'Force Majeure',