diff --git a/.github/ISSUE_TEMPLATE/bug.yml b/.github/ISSUE_TEMPLATE/bug.yml
new file mode 100644
index 0000000..bb83635
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/bug.yml
@@ -0,0 +1,63 @@
+name: 🐞 Bug
+description: Report an issue to help improve the project.
+title: "Bug: Write a small description here"
+labels:
+ [
+ "status: todo ⏳",
+ "🐞 bug"
+ ]
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: Description
+ description: Write a detailed description of the issue that you faced.
+ validations:
+ required: true
+ - type: textarea
+ id: solution
+ attributes:
+ label: Proposed Solution
+ description: Write a solution which you think can fix this issue.
+ validations:
+ required: true
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: Screenshots
+ description: Please add screenshots/videos if applicable
+ validations:
+ required: false
+
+ - type: dropdown
+ id: browser
+ attributes:
+ label: "Browser 🥦"
+ description: "What browser are you using ?"
+ options:
+ - Google Chrome
+ - Brave
+ - Microsoft Edge
+ - Mozilla Firefox
+ - Safari
+ - Opera
+ - Other
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: no-duplicate-issues
+ attributes:
+ label: "Checklist ✅"
+ options:
+ - label: "I checked and didn't find similar [issue](https://github.com/hack4bengal/s3/issues)"
+ required: true
+
+ - label: "I am willing to work on this issue (blank for no)."
+ required: false
+
+ - type: markdown
+ attributes:
+ value: |
+ In case of emergencies contact me on [Twitter](https://twitter.com/tamalCodes)
+
diff --git a/.github/ISSUE_TEMPLATE/config.yml b/.github/ISSUE_TEMPLATE/config.yml
new file mode 100644
index 0000000..3a75dfe
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/config.yml
@@ -0,0 +1,4 @@
+blank_issues_enabled: false
+ contact_links:
+ - name: 🙋🏾🙋🏼 Need help/emergencies ?
+ url: https://twitter.com/tamalCodes
diff --git a/.github/ISSUE_TEMPLATE/docs.yml b/.github/ISSUE_TEMPLATE/docs.yml
new file mode 100644
index 0000000..d3d3ede
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/docs.yml
@@ -0,0 +1,56 @@
+name: 📄 Documentation issue
+description: Found an issue in the documentation? You can use this one!
+title: "Docs: Write a small description here"
+labels:
+ [
+ "status: todo ⏳",
+ "📚 docs"
+ ]
+body:
+ - type: textarea
+ id: description
+ attributes:
+ label: Description
+ description: Write a detailed description of the changes you are proposing.
+ validations:
+ required: true
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: Screenshots
+ description: Please add screenshots/videos if applicable
+ validations:
+ required: false
+ - type: dropdown
+ id: browser
+ attributes:
+ label: "🥦 Browser"
+ description: "What browser are you using ?"
+ options:
+ - Google Chrome
+ - Brave
+ - Microsoft Edge
+ - Mozilla Firefox
+ - Safari
+ - Opera
+ - Other
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: no-duplicate-issues
+ attributes:
+ label: "Checklist ✅"
+ options:
+ - label: "I checked and didn't find similar [issue](https://github.com/hack4bengal/s3/issues)"
+ required: true
+
+ - label: "I am willing to work on this issue (blank for no)"
+ required: false
+
+ - type: markdown
+ attributes:
+ value: |
+ In case of emergencies contact me on [Twitter](https://twitter.com/tamalCodes)
+
+
diff --git a/.github/ISSUE_TEMPLATE/feature_request.yml b/.github/ISSUE_TEMPLATE/feature_request.yml
new file mode 100644
index 0000000..b2546d5
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/feature_request.yml
@@ -0,0 +1,63 @@
+ name: 💡 Feature Request
+ description: Have a new idea/feature ? Please suggest!
+ title: "Feature: Write a small description here"
+ labels:
+ [
+ "status: todo ⏳",
+ "💡 feature"
+ ]
+ body:
+ - type: textarea
+ id: description
+ attributes:
+ label: Description
+ description: Write a detailed description of the feature you propose.
+ validations:
+ required: true
+ - type: textarea
+ id: solution
+ attributes:
+ label: Proposed Solution
+ description: What needs to be done to implement this feature?
+ validations:
+ required: true
+ - type: textarea
+ id: screenshots
+ attributes:
+ label: Screenshots
+ description: Please add screenshots/videos if applicable
+ validations:
+ required: false
+
+ - type: dropdown
+ id: browser
+ attributes:
+ label: "🥦 Browser"
+ description: "What browser are you using ?"
+ options:
+ - Google Chrome
+ - Brave
+ - Microsoft Edge
+ - Mozilla Firefox
+ - Safari
+ - Opera
+ - Other
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: no-duplicate-issues
+ attributes:
+ label: "Checklist ✅"
+ options:
+ - label: "I checked and didn't find similar [issue](https://github.com/hack4bengal/s3/issues)"
+ required: true
+
+ - label: "I am willing to work on this issue (blank for no)"
+ required: false
+
+ - type: markdown
+ attributes:
+ value: |
+ In case of emergencies contact me on [Twitter](https://twitter.com/tamalCodes)
+
diff --git a/.github/ISSUE_TEMPLATE/other.yml b/.github/ISSUE_TEMPLATE/other.yml
new file mode 100644
index 0000000..ab1c1c5
--- /dev/null
+++ b/.github/ISSUE_TEMPLATE/other.yml
@@ -0,0 +1,47 @@
+name: Other
+description: Use this for any other issues. Please do NOT create blank issues
+title: "📂Other: Write a small description here"
+labels:
+ [
+ "status: todo ⏳"
+ ]
+body:
+ - type: textarea
+ id: issuedescription
+ attributes:
+ label: What would you like to share?
+ description: Provide a clear and concise explanation of your issue.
+ validations:
+ required: true
+ - type: dropdown
+ id: browser
+ attributes:
+ label: "🥦 Browser"
+ description: "What browser are you using ?"
+ options:
+ - Google Chrome
+ - Brave
+ - Microsoft Edge
+ - Mozilla Firefox
+ - Safari
+ - Opera
+ - Other
+ validations:
+ required: true
+
+ - type: checkboxes
+ id: no-duplicate-issues
+ attributes:
+ label: "Checklist ✅"
+ options:
+ - label: "I checked and didn't find similar [issue](https://github.com/hack4bengal/s3/issues)"
+ required: true
+
+ - label: "I am willing to work on this issue (blank for no)"
+ required: false
+
+ - type: markdown
+ attributes:
+ value: |
+ In case of emergencies contact Tamal on [Twitter](https://twitter.com/tamalCodes)
+
diff --git a/src/App.jsx b/src/App.jsx
index 8fbbd8c..8c15885 100644
--- a/src/App.jsx
+++ b/src/App.jsx
@@ -1,12 +1,12 @@
import React from "react";
import { Route, BrowserRouter as Router, Routes } from "react-router-dom";
-import Footer from "./components/footer/Footer";
+
import Brand from "./pages/brand/Brand";
import CodeofConduct from "./pages/coc/CodeofConduct";
import Discord from "./pages/discord/Discord";
import Home from "./pages/home/Home";
-import Navbar from "./components/navbar/Navbar";
+import { Footer, Navbar } from "./components/shared";
import "./styles/Globals.scss";
const App = () => {
diff --git a/src/components/about/About.jsx b/src/components/about/About.jsx
deleted file mode 100644
index d4ac87b..0000000
--- a/src/components/about/About.jsx
+++ /dev/null
@@ -1,36 +0,0 @@
-import React from "react";
-import Tiger from "../../assets/images/LandingImages/Tiger.png";
-import "./About.scss";
-
-const About = () => {
- const aboutRef = React.useRef(null);
- return (
-
-
-
![]({Tiger})
-
- Hack4Bengal
-
-
About Us
-
-
-
![]({Tiger})
-
- Hack4Bengal believes in building for the future, empowering people
- irrespective of their fields, to showcase their skills and creativity
- for solving real-life problems.
-
-
- What started with three enthusiastic people in the year 2021, is now a
- community of over 2000 developers. Hack4Bengal has been growing from
- strength to strength and our aim is to go beyond the horizons and
- impact millions of tech talents by providing them with a platform to
- enhance their skills, collaborate and create. This time Hack4Bengal is
- back to leverage your expertise in the offline mode. See you there!
-
-
-
- );
-};
-
-export default About;
diff --git a/src/components/about/AboutTamal.jsx b/src/components/private/about/About.jsx
similarity index 68%
rename from src/components/about/AboutTamal.jsx
rename to src/components/private/about/About.jsx
index 5d01b2a..d2b0f5a 100644
--- a/src/components/about/AboutTamal.jsx
+++ b/src/components/private/about/About.jsx
@@ -1,16 +1,16 @@
import React from "react";
import Marquee from "react-fast-marquee";
-import six from "../../assets/images/AboutImages/35.jpg";
-import eight from "../../assets/images/AboutImages/43.jpg";
-import five from "../../assets/images/AboutImages/5.jpg";
-import four from "../../assets/images/AboutImages/7.jpg";
-import three from "../../assets/images/AboutImages/five.jpg";
-import two from "../../assets/images/AboutImages/four.jpg";
-import seven from "../../assets/images/AboutImages/six.jpg";
+import six from "../../../assets/images/AboutImages/35.jpg";
+import eight from "../../../assets/images/AboutImages/43.jpg";
+import five from "../../../assets/images/AboutImages/5.jpg";
+import four from "../../../assets/images/AboutImages/7.jpg";
+import three from "../../../assets/images/AboutImages/five.jpg";
+import two from "../../../assets/images/AboutImages/four.jpg";
+import seven from "../../../assets/images/AboutImages/six.jpg";
import "./About.scss";
-const AboutTamal = ({ refs }) => {
+const About = ({ refs }) => {
return (
<>
@@ -130,59 +130,9 @@ const AboutTamal = ({ refs }) => {
-
- {/*
-
-
Our Journey so far
-
-
-
-
-
-
*/}
>
);
};
-export default AboutTamal;
+export default About;
diff --git a/src/components/about/About.scss b/src/components/private/about/About.scss
similarity index 100%
rename from src/components/about/About.scss
rename to src/components/private/about/About.scss
diff --git a/src/components/collaborators/Collaborators.jsx b/src/components/private/collaborators/Collaborators.jsx
similarity index 63%
rename from src/components/collaborators/Collaborators.jsx
rename to src/components/private/collaborators/Collaborators.jsx
index 257056e..2f55bcb 100644
--- a/src/components/collaborators/Collaborators.jsx
+++ b/src/components/private/collaborators/Collaborators.jsx
@@ -1,6 +1,6 @@
-import React, { useState, useEffect } from "react";
+import React, { useEffect, useState } from "react";
+import collaboratorsContent from "../../../assets/data/CollaboratorsContent";
import "./Collaborators.scss";
-import collaboratorsContent from "../../assets/data/CollaboratorsContent";
// import ComingSoon from "../comingsoon/ComingSoon";
const Collaborators = ({ refs }) => {
@@ -21,21 +21,19 @@ const Collaborators = ({ refs }) => {
return (
-
{windowWidth > 1280 ? collaboratorsContent.title.back.main : collaboratorsContent.title.back.alt}
+
+ {windowWidth > 1280
+ ? collaboratorsContent.title.back.main
+ : collaboratorsContent.title.back.alt}
+
{collaboratorsContent.title.main}
{/*
*/}
- {
- collaboratorsContent.collaborators.map(
- (collaborator, index) => {
- return (
-
![]({collaborator})
- )
- }
- )
- }
+ {collaboratorsContent.collaborators.map((collaborator, index) => {
+ return
![]({collaborator})
;
+ })}
diff --git a/src/components/collaborators/Collaborators.scss b/src/components/private/collaborators/Collaborators.scss
similarity index 100%
rename from src/components/collaborators/Collaborators.scss
rename to src/components/private/collaborators/Collaborators.scss
diff --git a/src/components/faq/FAQ.jsx b/src/components/private/faq/FAQ.jsx
similarity index 100%
rename from src/components/faq/FAQ.jsx
rename to src/components/private/faq/FAQ.jsx
diff --git a/src/components/faq/FAQ.scss b/src/components/private/faq/FAQ.scss
similarity index 100%
rename from src/components/faq/FAQ.scss
rename to src/components/private/faq/FAQ.scss
diff --git a/src/components/private/index.js b/src/components/private/index.js
new file mode 100644
index 0000000..2f1457b
--- /dev/null
+++ b/src/components/private/index.js
@@ -0,0 +1,11 @@
+export { default as About } from "./about/About";
+export { default as Collaborators } from "./collaborators/Collaborators";
+export { default as Faq } from "./faq/Faq";
+export { default as Landing } from "./landing/Landing";
+export { default as Mentors } from "./mentors/Mentors";
+export { default as Prizes } from "./prizes/Prizes";
+export { default as Sponsors } from "./sponsors/Sponsors";
+export { default as SingleSponsors } from "./sponsors/singlesponsors/SingleSponsors";
+export { default as Testimonials } from "./testimonials/Testimonials";
+export { default as Theme } from "./themes/Theme";
+export { default as Timeline } from "./timeline/Timeline";
diff --git a/src/components/landing/Landing.jsx b/src/components/private/landing/Landing.jsx
similarity index 81%
rename from src/components/landing/Landing.jsx
rename to src/components/private/landing/Landing.jsx
index 6ba0aab..82f4fb6 100644
--- a/src/components/landing/Landing.jsx
+++ b/src/components/private/landing/Landing.jsx
@@ -1,9 +1,8 @@
import React from "react";
-import blob_left from "../../assets/images/LandingImages/blob_left.png";
-import blob_right from "../../assets/images/LandingImages/blob_right.png";
-import victoria from "../../assets/images/LandingImages/victoria.png";
-import Button from "../button/Button";
-import Marquee from "../marquee/Marquee";
+import blob_left from "../../../assets/images/LandingImages/blob_left.png";
+import blob_right from "../../../assets/images/LandingImages/blob_right.png";
+import victoria from "../../../assets/images/LandingImages/victoria.png";
+import { Button } from "../../shared";
import "./Landing.scss";
const Landing = ({ refs }) => {
@@ -50,7 +49,7 @@ const Landing = ({ refs }) => {
- {window.innerWidth > 600 && }
+ {/* {window.innerWidth > 600 && } */}
>
);
diff --git a/src/components/landing/Landing.scss b/src/components/private/landing/Landing.scss
similarity index 100%
rename from src/components/landing/Landing.scss
rename to src/components/private/landing/Landing.scss
diff --git a/src/components/mentors/Mentors.jsx b/src/components/private/mentors/Mentors.jsx
similarity index 96%
rename from src/components/mentors/Mentors.jsx
rename to src/components/private/mentors/Mentors.jsx
index cfb0518..4099fe7 100644
--- a/src/components/mentors/Mentors.jsx
+++ b/src/components/private/mentors/Mentors.jsx
@@ -1,7 +1,7 @@
-import React, { useState, useEffect } from "react";
+import React, { useEffect, useState } from "react";
import Marquee from "react-fast-marquee";
import { FaLinkedinIn, FaXTwitter } from "react-icons/fa6";
-import { mentorContent } from "../../assets/data/MentorsContent";
+import { mentorContent } from "../../../assets/data/MentorsContent";
import "./Mentors.scss";
function Mentors({ refs }) {
diff --git a/src/components/mentors/Mentors.scss b/src/components/private/mentors/Mentors.scss
similarity index 100%
rename from src/components/mentors/Mentors.scss
rename to src/components/private/mentors/Mentors.scss
diff --git a/src/components/private/prizes/Prizes.jsx b/src/components/private/prizes/Prizes.jsx
new file mode 100644
index 0000000..50fa81a
--- /dev/null
+++ b/src/components/private/prizes/Prizes.jsx
@@ -0,0 +1,34 @@
+import React, { useEffect, useState } from "react";
+import { ComingSoon } from "../../shared";
+import "./Prizes.scss";
+
+const Prizes = ({ refs }) => {
+ const [windowWidth, setWindowWidth] = useState(window.innerWidth);
+
+ useEffect(() => {
+ const handleResize = () => {
+ setWindowWidth(window.innerWidth);
+ };
+
+ window.addEventListener("resize", handleResize);
+
+ return () => {
+ window.removeEventListener("resize", handleResize);
+ };
+ }, []);
+
+ return (
+ <>
+
+
+
Awards
+ {windowWidth > 700 && "Hackathon"} Prizes
+
+
+
+
+ >
+ );
+};
+
+export default Prizes;
diff --git a/src/components/prizes/Prizes.scss b/src/components/private/prizes/Prizes.scss
similarity index 100%
rename from src/components/prizes/Prizes.scss
rename to src/components/private/prizes/Prizes.scss
diff --git a/src/components/sponsors/Sponsors.jsx b/src/components/private/sponsors/Sponsors.jsx
similarity index 83%
rename from src/components/sponsors/Sponsors.jsx
rename to src/components/private/sponsors/Sponsors.jsx
index ba79f7e..586e64f 100644
--- a/src/components/sponsors/Sponsors.jsx
+++ b/src/components/private/sponsors/Sponsors.jsx
@@ -1,7 +1,7 @@
-import React, { useState, useEffect } from "react";
-import sponsors from "../../assets/data/SponsorsContent";
-import SingleSponsors from "../singlesponsors/SingleSponsors";
+import React, { useEffect, useState } from "react";
+import sponsors from "../../../assets/data/SponsorsContent";
import "./Sponsors.scss";
+import SingleSponsors from "./singlesponsors/SingleSponsors";
const Sponsors = ({ refs }) => {
const [windowWidth, setWindowWidth] = useState(window.innerWidth);
diff --git a/src/components/sponsors/Sponsors.scss b/src/components/private/sponsors/Sponsors.scss
similarity index 100%
rename from src/components/sponsors/Sponsors.scss
rename to src/components/private/sponsors/Sponsors.scss
diff --git a/src/components/singlesponsors/SingleSponsors.jsx b/src/components/private/sponsors/singlesponsors/SingleSponsors.jsx
similarity index 100%
rename from src/components/singlesponsors/SingleSponsors.jsx
rename to src/components/private/sponsors/singlesponsors/SingleSponsors.jsx
diff --git a/src/components/singlesponsors/SingleSponsors.scss b/src/components/private/sponsors/singlesponsors/SingleSponsors.scss
similarity index 100%
rename from src/components/singlesponsors/SingleSponsors.scss
rename to src/components/private/sponsors/singlesponsors/SingleSponsors.scss
diff --git a/src/components/testimonials/Testimonials.jsx b/src/components/private/testimonials/Testimonials.jsx
similarity index 96%
rename from src/components/testimonials/Testimonials.jsx
rename to src/components/private/testimonials/Testimonials.jsx
index 324ada1..6230c20 100644
--- a/src/components/testimonials/Testimonials.jsx
+++ b/src/components/private/testimonials/Testimonials.jsx
@@ -1,6 +1,6 @@
import React from "react";
import Marquee from "react-fast-marquee";
-import testimonials from "../../assets/data/TestimonialContent";
+import testimonials from "../../../assets/data/TestimonialContent";
import "./Testimonials.scss";
const Testimonials = ({ refs }) => {
diff --git a/src/components/testimonials/Testimonials.scss b/src/components/private/testimonials/Testimonials.scss
similarity index 100%
rename from src/components/testimonials/Testimonials.scss
rename to src/components/private/testimonials/Testimonials.scss
diff --git a/src/components/themes/Theme.jsx b/src/components/private/themes/Theme.jsx
similarity index 86%
rename from src/components/themes/Theme.jsx
rename to src/components/private/themes/Theme.jsx
index eede4c6..5b63c8b 100644
--- a/src/components/themes/Theme.jsx
+++ b/src/components/private/themes/Theme.jsx
@@ -1,5 +1,5 @@
-import React, { useState, useEffect } from "react";
-import ComingSoon from "../comingsoon/ComingSoon";
+import React, { useEffect, useState } from "react";
+import { ComingSoon } from "../../shared";
import "./Theme.scss";
const Theme = ({ refs }) => {
diff --git a/src/components/themes/Theme.scss b/src/components/private/themes/Theme.scss
similarity index 100%
rename from src/components/themes/Theme.scss
rename to src/components/private/themes/Theme.scss
diff --git a/src/components/timeline/Timeline.jsx b/src/components/private/timeline/Timeline.jsx
similarity index 87%
rename from src/components/timeline/Timeline.jsx
rename to src/components/private/timeline/Timeline.jsx
index 5bce118..a68c5a7 100644
--- a/src/components/timeline/Timeline.jsx
+++ b/src/components/private/timeline/Timeline.jsx
@@ -1,5 +1,5 @@
-import React, { useState, useEffect } from "react";
-import ComingSoon from "../comingsoon/ComingSoon";
+import React, { useEffect, useState } from "react";
+import { ComingSoon } from "../../shared";
import "./Timeline.scss";
const Timeline = ({ refs }) => {
diff --git a/src/components/timeline/Timeline.scss b/src/components/private/timeline/Timeline.scss
similarity index 100%
rename from src/components/timeline/Timeline.scss
rename to src/components/private/timeline/Timeline.scss
diff --git a/src/components/prizes/Prizes.jsx b/src/components/prizes/Prizes.jsx
deleted file mode 100644
index fae9be6..0000000
--- a/src/components/prizes/Prizes.jsx
+++ /dev/null
@@ -1,351 +0,0 @@
-import React, { useState, useEffect } from "react";
-// import white from "../../assets/images/LandingImages/blob_right.png";
-
-// import FirstPrize from "../../assets/images/PrizesImages/FirstPrize.png";
-// import SecondPrize from "../../assets/images/PrizesImages/SecondPrize.png";
-// import ThirdPrize from "../../assets/images/PrizesImages/ThirdPrize.png";
-
-// import flow from "../../assets/images/PrizesImages/flow.png";
-
-import ComingSoon from "../comingsoon/ComingSoon";
-import "./Prizes.scss";
-
-const Prizes = ({ refs }) => {
- const [windowWidth, setWindowWidth] = useState(window.innerWidth);
-
- useEffect(() => {
- const handleResize = () => {
- setWindowWidth(window.innerWidth);
- };
-
- window.addEventListener("resize", handleResize);
-
- return () => {
- window.removeEventListener("resize", handleResize);
- };
- }, []);
-
- return (
- <>
-
-
-
Awards
- {windowWidth > 700 && "Hackathon"} Prizes
-
- {/*
![]({red})
*/}
- {/*
![]({white})
*/}
- {/*
-
-
![]({SecondPrize})
-
₹ 25,000
-
1st Runner Up
-
-
-
![]({FirstPrize})
-
₹ 50,000
-
Grand Winner
-
-
-
![]({ThirdPrize})
-
₹ 10,000
-
2nd Runner Up
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
-
-
-
-
- Best Apps built
on Flow
-
-
-
-
-
![]({flow})
-
-
-
-
-
-
*/}
-
-
-
- >
- );
-};
-
-export default Prizes;
diff --git a/src/components/button/Button.jsx b/src/components/shared/button/Button.jsx
similarity index 100%
rename from src/components/button/Button.jsx
rename to src/components/shared/button/Button.jsx
diff --git a/src/components/button/Button.scss b/src/components/shared/button/Button.scss
similarity index 100%
rename from src/components/button/Button.scss
rename to src/components/shared/button/Button.scss
diff --git a/src/components/comingsoon/ComingSoon.jsx b/src/components/shared/comingsoon/ComingSoon.jsx
similarity index 100%
rename from src/components/comingsoon/ComingSoon.jsx
rename to src/components/shared/comingsoon/ComingSoon.jsx
diff --git a/src/components/comingsoon/ComingSoon.scss b/src/components/shared/comingsoon/ComingSoon.scss
similarity index 100%
rename from src/components/comingsoon/ComingSoon.scss
rename to src/components/shared/comingsoon/ComingSoon.scss
diff --git a/src/components/footer/Footer.jsx b/src/components/shared/footer/Footer.jsx
similarity index 97%
rename from src/components/footer/Footer.jsx
rename to src/components/shared/footer/Footer.jsx
index 83c4951..2e24841 100644
--- a/src/components/footer/Footer.jsx
+++ b/src/components/shared/footer/Footer.jsx
@@ -1,6 +1,6 @@
import React from "react";
import { Link } from "react-router-dom";
-import footerContent from "../../assets/data/FooterContent";
+import footerContent from "../../../assets/data/FooterContent";
import "./Footer.scss";
const Footer = () => {
@@ -52,7 +52,7 @@ const Footer = () => {
onClick={() => {
window.scrollTo({
top: 0,
- behavior: 'smooth'
+ behavior: "smooth",
});
}}
>
diff --git a/src/components/footer/Footer.scss b/src/components/shared/footer/Footer.scss
similarity index 100%
rename from src/components/footer/Footer.scss
rename to src/components/shared/footer/Footer.scss
diff --git a/src/components/shared/index.js b/src/components/shared/index.js
new file mode 100644
index 0000000..ab8ab8c
--- /dev/null
+++ b/src/components/shared/index.js
@@ -0,0 +1,5 @@
+export { default as Button } from "./button/Button";
+export { default as ComingSoon } from "./comingsoon/ComingSoon";
+export { default as Footer } from "./footer/Footer";
+export { default as Marquee } from "./marquee/Marquee";
+export { default as Navbar } from "./navbar/Navbar";
diff --git a/src/components/marquee/Marquee.jsx b/src/components/shared/marquee/Marquee.jsx
similarity index 100%
rename from src/components/marquee/Marquee.jsx
rename to src/components/shared/marquee/Marquee.jsx
diff --git a/src/components/marquee/Marquee.scss b/src/components/shared/marquee/Marquee.scss
similarity index 100%
rename from src/components/marquee/Marquee.scss
rename to src/components/shared/marquee/Marquee.scss
diff --git a/src/components/navbar/Navbar.jsx b/src/components/shared/navbar/Navbar.jsx
similarity index 98%
rename from src/components/navbar/Navbar.jsx
rename to src/components/shared/navbar/Navbar.jsx
index fd024d2..a34346d 100644
--- a/src/components/navbar/Navbar.jsx
+++ b/src/components/shared/navbar/Navbar.jsx
@@ -1,7 +1,7 @@
/* eslint-disable react/no-unknown-property */
import React, { useEffect, useRef } from "react";
import { Link, useNavigate } from "react-router-dom";
-import navbarContent from "../../assets/data/NavbarContent";
+import navbarContent from "../../../assets/data/NavbarContent";
import "./Navbar.scss";
const Navbar = ({ refs }) => {
diff --git a/src/components/navbar/Navbar.scss b/src/components/shared/navbar/Navbar.scss
similarity index 100%
rename from src/components/navbar/Navbar.scss
rename to src/components/shared/navbar/Navbar.scss
diff --git a/src/pages/home/Home.jsx b/src/pages/home/Home.jsx
index 040d2e8..24d1d6d 100644
--- a/src/pages/home/Home.jsx
+++ b/src/pages/home/Home.jsx
@@ -1,17 +1,18 @@
import Lenis from "@studio-freight/lenis";
import React, { useEffect } from "react";
-import AboutTamal from "../../components/about/AboutTamal";
-import Faq from "../../components/faq/FAQ";
-import Landing from "../../components/landing/Landing";
-import Marquee from "../../components/marquee/Marquee";
-import Mentors from "../../components/mentors/Mentors";
-import Prizes from "../../components/prizes/Prizes";
-import Sponsors from "../../components/sponsors/Sponsors";
-import Testimonials from "../../components/testimonials/Testimonials";
-import Theme from "../../components/themes/Theme";
-import Timeline from "../../components/timeline/Timeline";
+import {
+ About,
+ Collaborators,
+ Faq,
+ Landing,
+ Mentors,
+ Prizes,
+ Sponsors,
+ Testimonials,
+ Theme,
+ Timeline,
+} from "../../components/private";
import "./Home.scss";
-import Collaborators from "../../components/collaborators/Collaborators";
const Home = ({ refs }) => {
useEffect(() => {
@@ -30,8 +31,8 @@ const Home = ({ refs }) => {
return (
<>
- {window.innerWidth < 600 && }
-
+ {/* {window.innerWidth < 600 && } */}
+