From e07821f860fcdf3f19dc31f10f227d38f04508df Mon Sep 17 00:00:00 2001 From: Mixel2004 <84668201+Mixel2004@users.noreply.github.com> Date: Wed, 13 Mar 2024 01:32:40 +0530 Subject: [PATCH] feat: Add About Us (#14) --- src/components/AboutUs.jsx | 53 ++++++++++++++++++++++++++++++++++++++ src/data/aboutUsData.js | 28 ++++++++++++++++++++ src/pages/playground.jsx | 5 +++- 3 files changed, 85 insertions(+), 1 deletion(-) create mode 100644 src/components/AboutUs.jsx create mode 100644 src/data/aboutUsData.js diff --git a/src/components/AboutUs.jsx b/src/components/AboutUs.jsx new file mode 100644 index 0000000..26cf216 --- /dev/null +++ b/src/components/AboutUs.jsx @@ -0,0 +1,53 @@ +import { PersonalizedText, Paragraph } from './shared/typography/index.jsx'; +import aboutUsData from '../data/aboutUsData.js'; + +export default function AboutUs() { + return ( +
+
+ + {aboutUsData.tag1} +
+ {aboutUsData.tag2} + + {aboutUsData.tag3_char1} + + {aboutUsData.tag3_wavy} + + {aboutUsData.tag3} + +
+
+ +
+ {aboutUsData.lists.map((list, index) => ( +
+ {list.title} + + {list.title} + +
+ ))} +
+ + + You all are coming right ??... + + + + {aboutUsData.content1}{' '} + {aboutUsData.content2} + star + +
+ ); +} diff --git a/src/data/aboutUsData.js b/src/data/aboutUsData.js new file mode 100644 index 0000000..8cec5bf --- /dev/null +++ b/src/data/aboutUsData.js @@ -0,0 +1,28 @@ +const aboutUsData = { + tag1: "Let's relive & celebrate ", + tag2: 'our ', + tag3_char1: 'g', + tag3_wavy: 'ood day', + tag3: 's Together', + lists: [ + { + title: 'Rewind', + img_url: 'https://res.cloudinary.com/dkivz06xv/image/upload/v1710089259/xqpydhigob3opgpzyv1a.png', + }, + { + title: 'Reunite', + img_url: 'https://res.cloudinary.com/dkivz06xv/image/upload/v1710089483/kkubnibzjiyaevv6m2gr.png', + }, + { + title: 'Rejoice', + img_url: 'https://res.cloudinary.com/dkivz06xv/image/upload/v1710089259/j9zi48resont3yqnudmm.png', + }, + ], + content1: + 'Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur', + content2: + 'aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt. Neque porro quisquam est, qui dolorem', + star_img_url: 'https://res.cloudinary.com/dkivz06xv/image/upload/v1710089645/rvqsfd4sqaclbthidnxl.png', +}; + +export default aboutUsData; diff --git a/src/pages/playground.jsx b/src/pages/playground.jsx index 09791e3..25e0ced 100644 --- a/src/pages/playground.jsx +++ b/src/pages/playground.jsx @@ -1,5 +1,6 @@ import { Heading, HeroText, Paragraph, PersonalizedText, Text } from '../components/shared'; - +import Footer from '../components/shared/marginals/footer.jsx'; +import AboutUs from '../components/AboutUs.jsx'; import NavBar from '../components/shared/NavBar'; export default function Playground() { @@ -31,6 +32,8 @@ export default function Playground() {
  • Black Foreground
  • + +