Skip to content

Commit 4ebaffd

Browse files
Add files via upload
1 parent f66f02e commit 4ebaffd

39 files changed

+1541
-0
lines changed

Day5/src/App.css

Whitespace-only changes.

Day5/src/App.js

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
import { BrowserRouter, Route, Routes } from 'react-router-dom';
2+
import './App.css';
3+
import Login from './Component/Asserts/Login/Login';
4+
import SignUp from './Component/Asserts/SignUp/SignUp';
5+
import Home from './Component/Asserts/Home/Home';
6+
import Contact from './Component/Asserts/Contact/Contact';
7+
import Footer from './Component/Asserts/Footer/Footer';
8+
import Sidebar from './Component/Asserts/Sidebar/Sidebar';
9+
import About from './Component/Asserts/About/About';
10+
import Works from './Component/Asserts/Works/Works';
11+
import Testimonial from './Component/Asserts/Testimonial/Testimonial';
12+
import Description from './Component/Asserts/Description/Description';
13+
import Faqs from './Component/Asserts/Faqs/Faqs';
14+
import Search from './Component/Asserts/Search/Search';
15+
import Resume from './Component/Asserts/Resume/Resume';
16+
function App() {
17+
return (
18+
<div className="App">
19+
<BrowserRouter>
20+
<Routes>
21+
<Route exact path='/' element={<Login/>}/>
22+
<Route path='/SignUp' element={<SignUp/>}/>
23+
<Route path='/About' element={<About/>}/>
24+
<Route path='/Home' element={<Home/>}/>
25+
<Route path='/Contact' element={<Contact/>}></Route>
26+
<Route path='/Footer' element={<Footer/>}></Route>
27+
<Route path='/Sidebar' element={<Sidebar/>}></Route>
28+
<Route path='/Works' element={<Works/>}></Route>
29+
<Route path='/Testimonial' element={<Testimonial/>}></Route>
30+
<Route path='Description' element={<Description/>}></Route>
31+
<Route path='Faqs' element={<Faqs/>}></Route>
32+
<Route path='Search' element={<Search/>}></Route>
33+
<Route path='Resume' element={<Resume/>}></Route>
34+
35+
</Routes>
36+
</BrowserRouter>
37+
38+
</div>
39+
);
40+
}
41+
42+
export default App;
Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
.about-section-container {
2+
position: relative;
3+
display: flex;
4+
align-items: center;
5+
justify-content: space-between;
6+
}
7+
.about-background-image-container {
8+
position: absolute;
9+
left: -150px;
10+
z-index: -2;
11+
}
12+
.about-section-image-container {
13+
flex: 0.9;
14+
margin-right: 1rem;
15+
}
16+
.about-section-text-container {
17+
flex: 1;
18+
justify-content: center;
19+
20+
display: flex;
21+
flex-direction: column;
22+
}
23+
.primary-subheading {
24+
font-weight: 700;
25+
color: rgb(76, 38, 38);
26+
font-size: 1.15rem;
27+
}
28+
.about-buttons-container {
29+
margin-top: 2rem;
30+
display: flex;
31+
}
32+
.watch-video-button {
33+
margin-left: 2rem;
34+
background-color: transparent;
35+
outline: none;
36+
border: none;
37+
border-radius: 5rem;
38+
font-size: 1.1rem;
39+
cursor: pointer;
40+
font-weight: 600;
41+
color: #484848;
42+
transition: 0.2s;
43+
display: flex;
44+
align-items: center;
45+
justify-content: center;
46+
}
47+
.about-section-image-container{
48+
top: -100px;
49+
right: -170px;
50+
z-index: -2;
51+
max-width: 700px;
52+
}
53+
.watch-video-button svg {
54+
font-size: 3rem;
55+
margin-right: 1rem;
56+
}
57+
.home-image-section img {
58+
59+
max-width: 100%;
60+
mix-blend-mode:multiply;
61+
height: auto;
62+
}
63+
.home-image-section {
64+
max-width:600px;
65+
flex: 1;
66+
67+
}
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
import React from "react";
2+
import "./About.css";
3+
import res from "../Assets/resume.jpg";
4+
import { useNavigate } from 'react-router-dom';
5+
6+
const About = () => {
7+
const navigate = useNavigate();
8+
const handleDesignNowClick = () => {
9+
navigate('/Resume');
10+
};
11+
12+
return (
13+
<div className="about-section-container">
14+
<div className="about-section-text-container">
15+
<p className="primary-subheading"></p>
16+
<h1 className="primary-heading">Don't have a resume?</h1>
17+
<p className="primary-text">
18+
Elevate Your Career with Our Exquisite Resume Templates. Our Artistry Meets Functionality, Creating Resumes That Stand Out. Empower Yourself to Showcase Your Best.
19+
</p>
20+
<p className="primary-text">Start with the Perfect Resume Today!</p>
21+
<div className="about-buttons-container">
22+
<button className="secondary-button" onClick={handleDesignNowClick}>
23+
Design now?
24+
</button>
25+
</div>
26+
</div>
27+
<div className="home-image-section">
28+
<img src={res} alt="" />
29+
</div>
30+
</div>
31+
);
32+
};
33+
34+
export default About;
Loading
61.1 KB
Loading
1.54 MB
Loading
Loading
14.1 KB
Loading
45.9 KB
Loading
Loading
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
1+
2+
.contact {
3+
padding: 20px;
4+
text-align: center;
5+
animation: fadeInAnimation 1s ease-in-out;
6+
}
7+
8+
.contact h2 {
9+
margin-top: 15%;
10+
max-width: 600px;
11+
word-spacing: 3px;
12+
animation: fadeInAnimation 1s ease-in-out;
13+
14+
}
15+
16+
.contact form {
17+
margin-top: 2%;
18+
max-width: 600px;
19+
word-spacing: 3px;
20+
align-items: center;
21+
animation: fadeInAnimation 1s ease-in-out;
22+
}
23+
24+
.contact label {
25+
font-size: 16px;
26+
margin-bottom: 5px;
27+
}
28+
29+
.contact input,
30+
.contact textarea {
31+
width: 100%;
32+
padding: 10px;
33+
margin-bottom: 10px;
34+
}
35+
36+
.contact button {
37+
background-color: rgb(214, 119, 210);
38+
color: white;
39+
padding: 10px 20px;
40+
border: none;
41+
border-radius: 4px;
42+
font-size: 16px;
43+
cursor: pointer;
44+
transition: background-color 0.3s;
45+
}
46+
47+
.contact button:hover {
48+
background-color: rgb(161, 65, 142);
49+
}
50+
51+
@keyframes fadeInAnimation {
52+
from {
53+
opacity: 0;
54+
transform: translateY(10px);
55+
}
56+
to {
57+
opacity: 1;
58+
transform: translateY(0);
59+
}
60+
}
61+
Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import React, { useState } from 'react';
2+
import emailjs from 'emailjs-com';
3+
import './Contact.css';
4+
5+
function Contact() {
6+
const [email, setEmail] = useState('');
7+
const [message, setMessage] = useState('');
8+
9+
const handleSubmit = async (e) => {
10+
e.preventDefault();
11+
12+
try {
13+
await emailjs.send('service_h958orh', 'template_czwl0k5', {
14+
from_email: email,
15+
message: message,
16+
}, 'service_h958orh');
17+
18+
alert('Email sent successfully!');
19+
setEmail('');
20+
setMessage('');
21+
} catch (error) {
22+
console.error('Error sending email:', error);
23+
alert('An error occurred while sending email.');
24+
}
25+
};
26+
27+
return (
28+
<section className="contact">
29+
<h2>Give us a shout.</h2>
30+
<form onSubmit={handleSubmit}>
31+
<label>Email:</label>
32+
<input
33+
type="email"
34+
value={email}
35+
onChange={(e) => setEmail(e.target.value)}
36+
required
37+
/>
38+
<label>Message:</label>
39+
<textarea
40+
value={message}
41+
onChange={(e) => setMessage(e.target.value)}
42+
required
43+
></textarea>
44+
<button type="submit">Send</button>
45+
</form>
46+
</section>
47+
);
48+
}
49+
50+
export default Contact;

0 commit comments

Comments
 (0)