Skip to content

Commit

Permalink
Merge pull request #43 from A1Kumari/master
Browse files Browse the repository at this point in the history
theme
  • Loading branch information
A1Kumari committed Jul 30, 2023
2 parents 2aa1956 + 70f4d76 commit 921d2e2
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 27 deletions.
40 changes: 21 additions & 19 deletions src/components/themes/Themes.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
.themes {
padding: 80px 0;
background-color: #6C63FF;
background-color: #000;
}

.themes-container {
Expand All @@ -14,7 +14,7 @@

.theme-box {
flex: 0 0 calc(33.33% - 20px); /* Each box takes one-third of the container width with 20px gap */
background-color: #fff;
background-color: #222222;
border-radius: 8px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
Expand All @@ -29,33 +29,35 @@

.theme-box h3 {
font-size: 1.5rem;
color: #000; /* Use black (#000) for the heading text color */
color: #fff; /* Use black (#000) for the heading text color */
margin-bottom: 10px;
}

.theme-box img {
width: 80px; /* Adjust the size of the icon */
}

.theme-box p {
font-size: 1rem;
color: #222; /* Use dark gray (#222) for the description text color */
}

.circleShape {
.theme-box .circleShape {
width: 80px;
height: 80px;
border-radius: 50%; /* Create a circular shape */
background-color: #553c94; /* Use the light blue color for the circle */
background-color: #6B5B95; /* Use dark gray (#222) for the circle background */
display: flex;
justify-content: center;
align-items: center;
margin: 0 auto 15px;
color: #fff; /* Use white (#fff) for the icon color */
}

.theme-box .circleShape svg {
font-size: 36px;
}

/* Media queries for responsiveness */
@media (max-width: 768px) {
.theme-box {
flex: 0 0 calc(50% - 20px); /* Change the box width to half on smaller screens */
}
}

.circleShape img {
max-width: 60%; /* Adjust the size of the icon to fit inside the circle */
max-height: 60%;
font-size: 26px;
color: yellow;
@media (max-width: 576px) {
.theme-box {
flex: 0 0 calc(100% - 20px); /* Change the box width to full on even smaller screens */
}
}
19 changes: 11 additions & 8 deletions src/components/themes/Themes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,21 @@ import Fintech from "./cmp/Fintech.jsx";
import Carousel from "react-bootstrap/Carousel";
import "./Themes.css";
import AOS from 'aos';
import {FaLightbulb, FaLinkedin, FaTwitter} from "react-icons/fa";;
import {FaLightbulb, FaMoneyCheck, FaTwitter} from "react-icons/fa";;
import {BsBook} from "react-icons/bs";


import {GiHealthNormal} from "react-icons/gi";
import {SiHiveBlockchain} from "react-icons/si";
import {BiNetworkChart} from "react-icons/bi";
import {PiVirtualRealityLight} from "react-icons/pi";

const themesData = [
{ title: 'Open Innovation', icon: <FaLightbulb/> },
{ title: 'EdTech', icon: <BsBook/> },
{ title: 'AR/VR', icon: ""},
{ title: 'FinTech', icon: 'Description of Theme 4' },
{ title: 'Productivity & Networking', icon: 'Description of Theme 1' },
{ title: 'Healthcare', icon: 'Description of Theme 2' },
{ title: 'Web3', icon: 'Description of Theme 3' },
{ title: 'AR/VR', icon: <PiVirtualRealityLight/>},
{ title: 'FinTech', icon: <FaMoneyCheck/> },
{ title: 'Productivity & Networking', icon: <BiNetworkChart/> },
{ title: 'Healthcare', icon: <GiHealthNormal/> },
{ title: 'Web3', icon: <SiHiveBlockchain/> },

];

Expand All @@ -40,6 +42,7 @@ export default function Themes() {
return (
<>
<section className="themes">
<div className="heading"><h2>Themes</h2></div>
<div data-aos="fade-up">
<div className="themes-container">
{themesData.map((theme, index) => (
Expand Down

0 comments on commit 921d2e2

Please sign in to comment.