-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout.html
More file actions
210 lines (192 loc) · 7.15 KB
/
layout.html
File metadata and controls
210 lines (192 loc) · 7.15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Home | Sahrish Freelancer</title>
<style>
body { margin:0; font-family: 'Segoe UI', sans-serif; background:#f4f6f9; color:#333; }
nav {
display: flex;
justify-content: space-between;
align-items: center;
padding: 15px 30px;
background: #fff;
position: sticky;
top: 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
z-index: 1000;
}
nav h1 {
color: #e84393;
font-size: 24px;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
margin: 0;
padding: 0;
transition: all 0.4s ease;
}
nav ul li a {
text-decoration: none;
color: #333;
font-weight: bold;
transition: 0.3s;
display: block;
}
nav ul li a:hover {
color: #e84393;
}
/* ✅ Menu icon */
.menu-icon {
display: none;
font-size: 28px;
cursor: pointer;
color: #e84393;
}
.hero { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; padding:60px 20px; background:linear-gradient(120deg,#e84393,#ff7675); color:white; }
.hero-text { max-width:500px; margin:20px; }
.hero-text h2 { font-size:48px; margin-bottom:20px; }
.hero-text p { font-size:18px; margin-bottom:25px; }
.hero-text a { background:white; color:#e84393; padding:12px 25px; border-radius:6px; text-decoration:none; font-weight:bold; }
.circle-img {
width: 250px;
height: 250px;
border-radius: 50%;
object-fit: cover;
border: 4px solid #fff;
box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* Middle Section */
.skills { padding:60px 20px; text-align:center; background:#fff; }
.skills h2 { font-size:32px; margin-bottom:40px; color:#e84393; }
.skills-container { display:flex; flex-wrap:wrap; justify-content:center; gap:30px; }
.skill-box { background:#f4f6f9; padding:30px; border-radius:12px; max-width:280px; text-align:center; box-shadow:0 4px 10px rgba(0,0,0,0.1); transition:0.3s; }
.skill-box:hover { transform:translateY(-8px); }
.skill-box i { font-size:40px; color:#e84393; margin-bottom:15px; }
.skill-box h3 { margin-bottom:10px; font-size:20px; }
.skill-box p { font-size:15px; line-height:1.5; }
/* About Section */
.about { padding:60px 20px; display:flex; flex-wrap:wrap; gap:40px; align-items:center; justify-content:center; }
.about img { width:350px; border-radius:10px; }
.about div { max-width:500px; }
/* Footer */
footer { text-align:center; padding:20px; background:#fff; margin-top:40px; }
footer a { margin:0 10px; color:#e84393; font-size:20px; text-decoration:none; }
/* ✅ Responsive Styles */
@media (max-width: 700px) {
nav {
position: relative;
}
.menu-icon {
display: block;
}
.nav-links {
display: none;
flex-direction: column;
width: 100%;
text-align: center;
background-color: #fff;
position: absolute;
top: 60px;
left: 0;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
opacity: 0;
transform: translateY(-10px);
transition: all 0.4s ease;
}
.nav-links li {
margin: 15px 0;
}
.nav-links a {
color: #333;
}
nav ul.show{
display:flex;
animation:fadeSlide .3s ease;
}
@keyframes fadeSlide{
from{opacity:0;transform:translateY(-10px);}
to{opacity:1;transform:translateY(0);}
}
}
</style>
<!-- Font Awesome for Icons -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
</head>
<body>
<nav>
<h1>Sahrish Freelancer</h1>
<ul class="nav-links" id="navLinks">
<li><a href="layout.html">Home</a></li>
<li><a href="portfolio.html">Portfolio</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="contact.html">Contact</a></li>
<li><a href="registration.html">Register</a></li>
<li><a href="login.html">Login</a></li>
</ul>
<div class="menu-icon" id="menuBtn">☰</div>
</nav>
<section class="hero">
<div class="hero-text">
<h2>Hello, I'm Sahrish 👩💻</h2>
<p>A passionate freelancer specializing in <b>Frontend Web Design</b>, <b>E-Commerce Development</b>, and <b>Digital Marketing</b>. I help businesses create beautiful websites and grow online.</p>
<a href="portfolio.html">See My Work</a>
</div>
<img src="girl img.webp" alt="Freelancer Working" class="circle-img">
</section>
<!-- 🌟 New Middle Section -->
<section class="skills">
<h2>My Core Skills</h2>
<div class="skills-container">
<div class="skill-box">
<i class="fa-solid fa-laptop-code"></i>
<h3>Frontend Web Design</h3>
<p>Crafting modern, responsive websites using HTML, CSS, and JavaScript that deliver seamless user experiences.</p>
</div>
<div class="skill-box">
<i class="fa-solid fa-cart-shopping"></i>
<h3>E-Commerce Development</h3>
<p>Building professional online stores with smooth checkout, product management, and secure payment systems.</p>
</div>
<div class="skill-box">
<i class="fa-solid fa-bullhorn"></i>
<h3>Digital Marketing</h3>
<p>Helping businesses grow with targeted campaigns on social media, SEO, and Google Ads for maximum ROI.</p>
</div>
</div>
</section>
<section class="about">
<img src="https://images.unsplash.com/photo-1521737604893-d14cc237f11d?w=800" alt="Teamwork">
<div>
<h2>About Me</h2>
<p>I’m <b>Sahrish</b>, a creative freelancer who loves building digital experiences. Over the years, I’ve worked on:</p>
<ul>
<li>✔️ Modern & Responsive Frontend Designs</li>
<li>✔️ Professional E-Commerce Stores</li>
<li>✔️ Social Media Marketing Campaigns</li>
<li>✔️ SEO & Google Ads for Growth</li>
</ul>
<p>My goal is to help clients <b>stand out online</b> and <b>achieve real results</b>.</p>
</div>
</section>
<div style="font-size: 17px; font-weight: 700; text-align: right;width: 99%; text-align: right;">
<a href="#" style="color:#e84393;text-decoration: none;">Top of Page</a>
</div>
<footer>
<a href="mailto:sahrish@example.com"><i class="fa-solid fa-envelope"></i></a>
<a href="https://facebook.com" target="_blank"><i class="fa-brands fa-facebook"></i></a>
<a href="https://instagram.com" target="_blank"><i class="fa-brands fa-instagram"></i></a>
<a href="https://linkedin.com" target="_blank"><i class="fa-brands fa-linkedin"></i></a>
<p>© 2025 Sahrish Freelancer. All Rights Reserved.</p>
</footer>
<script>
const menuBtn = document.getElementById("menuBtn");
const navLinks = document.getElementById("navLinks");
menuBtn.addEventListener("click", () => {
navLinks.classList.toggle("show");
});
</script>
</body>
</html>