Skip to content

Commit

Permalink
Merge branch 'main' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
Prabhatyadav60 authored Jun 16, 2024
2 parents 1e34c01 + 0b06df6 commit a87bce5
Show file tree
Hide file tree
Showing 38 changed files with 732 additions and 397 deletions.
518 changes: 518 additions & 0 deletions package-lock.json

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@
"dependencies": {
"@fortawesome/fontawesome-free": "^6.5.2",
"@react-oauth/google": "^0.12.1",


"@reduxjs/toolkit": "^2.2.5",
"antd": "^5.17.4",
"aos": "^2.3.4",
"bootstrap": "^5.3.3",
Expand All @@ -26,6 +25,7 @@
"react-chatbot-kit": "^2.2.2",
"react-dom": "^18.2.0",
"react-icons": "^5.2.1",
"react-redux": "^9.1.2",
"react-router-dom": "^6.23.1",
"react-scripts": "^5.0.1",
"react-scroll": "^1.9.0",
Expand Down
50 changes: 39 additions & 11 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#header {
text-align: center;
color: #212EA0;
/* color: #212EA0; */
font-size: 23px;
font-weight: 600;
padding-top: 60px;
Expand All @@ -15,22 +15,50 @@
overflow-x: hidden;
}

#light {
background-color: white;
.header-light{
/* background-color: #FFFFFF; */
background-color: rgba(0, 0, 128,.6) !important;
border-color: #D8DADF !important;
color: #11131f !important;
}
.header-dark{
background-color:#11131f !important;
border-color: #2D3135 !important;
color: #FFFFFF !important;
}
.footer-light{
/* background-color: #FFFFFF; */
background-color: rgb(33,46,160) !important;
color: white !important;
}
.footer-dark{
background-color:#11131f !important;

#dark {
background-color: black;
color: white;
}
.cardTheme-dark{
background-color: rgb(24,25,27) !important;
border-color: #2D3135 !important;
color: white !important;
}
.light {
background-color: #FFFFFF !important;
border-color: #D8DADF !important;
color: #141726 !important;
}

.dark {
background-color:#141726 !important;
border-color: #2D3135 !important;
color: white !important;
}

nav1{
padding: 10px 15px;
border-radius: 15px;
transition: background-color 0.3s ease, color 0.3s ease;
padding: 10px 15px;
border-radius: 15px;
transition: background-color 0.3s ease, color 0.3s ease;
}

nav1:hover{
background-color: transparent; /* Background color on hover */
color: black; /* Text color on hover */
background-color: transparent; /* Background color on hover */
color: black; /* Text color on hover */
}
25 changes: 6 additions & 19 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,11 @@ import InvestorManagementPage from "./Pages/InvestorManagementPage";
import FinancialServices from './Pages/FinancialServices'
import FullServiceFund from './Pages/FullServiceFund';
import { PiSelectionInverseThin } from "react-icons/pi";
import FeedbackPage from './Pages/FeedbackForm';
import Notfound from './Components/Notfound/Notfound';

export const ThemeContext = createContext();
import { useSelector } from 'react-redux';

const App = () => {
const storedTheme = localStorage.getItem('theme') || 'light';
const [theme, setTheme] = useState(storedTheme);
const theme = useSelector((state) => state.theme.value) ? "dark" : "light";

const toggleTheme = () => {
const newTheme = theme === 'light' ? 'dark' : 'light';
Expand All @@ -57,14 +54,9 @@ const App = () => {
}, []);

return (
<ThemeContext.Provider value={{theme, toggleTheme}}>
<div className="main-div" id={theme}>

<div className={`main-div ${theme}`}>
<Router>

<div className="main-div">

<Navbar/>
<Navbar />
<Routes>
<Route path="/" element={<Home />} />
<Route path="/login" element={<Login />} />
Expand All @@ -80,18 +72,13 @@ const App = () => {
<Route path='/investormanagementpage' element={<InvestorManagementPage/>}/>
<Route path='/financialservicesPage' element = {<FinancialServices/>}/>
<Route path="/fullservicefund" element={<FullServiceFund/>}/>
<Route path="/feedback" element={<FeedbackPage />} />
<Route path="*" element={<Notfound />} />

<Route path="*" element={<Notfound/>}/>
</Routes>
<ChatAssistant/>
<GoToTop/>
<Footer />

</div>
</Router>
</div>
</ThemeContext.Provider>
</div>
);
};

Expand Down
3 changes: 0 additions & 3 deletions src/Components/About/About.css
Original file line number Diff line number Diff line change
Expand Up @@ -30,21 +30,18 @@
.about h3{
font-weight: 600;
font-weight: 16px;
color: #212EA0;
}

.about h2{
font-weight: 600;
font-size: 35px;
margin: 10px 0;
max-width: 400px;
color: black;
text-align: center;

}

.about p{
color: #676767;
margin-bottom: 15px;
}

Expand Down
4 changes: 3 additions & 1 deletion src/Components/About/About.jsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
import React from 'react';
import "./About.css";
import about_img from "../../assets/about1.jpg";
import { useSelector } from 'react-redux';
// import play_icon from "../../assets/play-icon.png";

const About = () => {
const theme = useSelector((state) => state.theme.value) ? "dark" : "light";
return (
<div className="about" id="about">
<div className="about-left">
<img src={about_img} alt="" className="about-img" data-aos="slide-right" />
{/* <img src={play_icon} alt='' className='play-icon'></img> */}
</div>
<div className="about-right" id="heading" data-aos="slide-left" >
<h2 className='about-heading'>Bridging the gap between ideas and investments</h2>
<h2 className={`about-heading ${theme}`}>Bridging the gap between ideas and investments</h2>
<div className="about-right-div2">
<p>
At StartConnectHub, our mission is to create a thriving ecosystem
Expand Down
11 changes: 2 additions & 9 deletions src/Components/Contact/Contact.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,9 @@

.contact-col {
flex-basis: 48%;
color: #676767;
}


#dark .send {
color: blue;
}

.contact-col h3 {
color: #000f38;
font-weight: 500;
font-size: 25px;
display: flex;
Expand Down Expand Up @@ -50,7 +43,7 @@
.contact form textarea {
display: block;
width: 90%;
background: #ebebeb;
/* background: #ebebeb; */
padding: 15px;
border: 0;
outline: 0;
Expand Down Expand Up @@ -112,7 +105,7 @@
/* background-color: black; */
}
.contact-right form {
background-color: red;
/* background-color: red; */
display: flex;
flex-direction: column;
text-align: left;
Expand Down
4 changes: 3 additions & 1 deletion src/Components/Contact/Contact.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,10 @@ import mail_icon from "../../assets/mail-icon.png";
import phone_icon from "../../assets/phone-icon.png";
import location_icon from "../../assets/location-icon.png";
import white_arrow from "../../assets/white-arrow.png";
import { useSelector } from 'react-redux';

const Contact = () => {
const theme = useSelector((state) => state.theme.value) ? "dark" : "light";
const [result, setResult] = React.useState("");

const onSubmit = async (event) => {
Expand All @@ -33,7 +35,7 @@ const Contact = () => {
};

return (
<div className="contact" id="contact">
<div className={`contact ${theme}`} id="contact">
<div className="contact-col">
<h3 className="send">
Send us a message<img src={msg_icon} alt=""></img>
Expand Down
5 changes: 2 additions & 3 deletions src/Components/FAQ/accordian.css
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
h2 {
text-align: center;
color: #212EA0;
font-weight: 600;
display: flex;
justify-content: center;
Expand All @@ -12,8 +11,8 @@ h2 {
display: flex;
justify-content: space-between;
align-items: center;
background-color: #212EA0;
border: 3px solid whitesmoke;
background-color: rgb(33,46,160);
border: 2px solid whitesmoke;
color: azure;
border-radius: 10px;
padding-top: 15px;
Expand Down
7 changes: 0 additions & 7 deletions src/Components/Footer/Components/Main.css
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,6 @@
/* Accordian CSS */
.faqh2 {
text-align: center;
color: #212EA0;
font-weight: 600;
display: flex;
justify-content: center;
Expand Down Expand Up @@ -158,13 +157,7 @@
justify-content: space-between;
}

.contact-col{
flex-basis: 48%;
color: #676767;
}

.contact-col h3{
color: #000F38;
font-weight: 500;
font-size: 25px;
display: flex;
Expand Down
1 change: 1 addition & 0 deletions src/Components/Footer/Footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
background-color: #212ea0;
color: white;
padding: 2.5rem;

}

.footer-container {
Expand Down
8 changes: 5 additions & 3 deletions src/Components/Footer/Footer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import { scroller } from "react-scroll";
import { FaXTwitter } from "react-icons/fa6";

const Footer = () => {
const theme = "footer-light";
const [sticky, setSticky] = useState(false);

useEffect(() => {
Expand All @@ -28,8 +29,7 @@ const Footer = () => {
};

return (

<div className='footer'>
<div className={`footer ${theme}`}>
<div className='footer-container footer-container-md'>
<div className='footer-1'>
<div className='footer-title'>
Expand Down Expand Up @@ -70,10 +70,12 @@ const Footer = () => {
<li className='footer-link'>Testimonials</li>
</NavLink>
<li className='footer-link'>Sitemap</li>
<NavLink to="/howitworks" onClick={() => scrollToSection("howitworks")}>
<li className='footer-link'>How it Works</li>
</NavLink>
<NavLink to="/#accordian" onClick={() => scrollToSection("accordian")}>
<li className='footer-link'>FAQ</li>
</NavLink>
<NavLink to="/feedback"><li className='footer-link'>Feedback</li></NavLink>
</ul>
</div>
<div className='footer-2'>
Expand Down
3 changes: 1 addition & 2 deletions src/Components/Login/Login.css
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
align-items: center;
height: 60vh;
margin-top: 150px; /* Adjust this value to move the login box down */
background-color: #fff;
}

.login-container {
Expand Down Expand Up @@ -59,7 +58,7 @@ button:hover {
background-color: #0056b3;
}

p {
.login-container p {
margin-top: 10px;
text-align: center;
padding-bottom: 20px;
Expand Down
Loading

0 comments on commit a87bce5

Please sign in to comment.