-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
240 lines (209 loc) · 6.6 KB
/
index.html
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
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>PyCalc - Simplifying Calculations</title>
<style>
body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
background-color: #f0f0f0;
color: #333;
}
/* Intro Section */
header {
background-image: url('https://images.unsplash.com/photo-1545402138-0c105c73cb4d?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D'); /* ضع هنا صورة الغلاف */
background-size: cover;
background-position: center;
height: 100vh;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
color: white;
text-align: center;
}
header h1 {
font-size: 60px;
margin: 0;
}
header p {
font-size: 24px;
margin: 10px 0;
}
header button {
background-color: #4CAF50;
border: none;
padding: 15px 30px;
color: white;
font-size: 18px;
cursor: pointer;
transition: background-color 0.3s ease;
}
header button:hover {
background-color: #45a049;
}
nav {
position: absolute;
top: 20px;
right: 20px;
}
nav a {
color: white;
text-decoration: none;
margin-left: 20px;
font-size: 18px;
transition: color 0.3s ease;
}
nav a:hover {
color: #ddd;
}
/* Feature Section */
.features {
background-color: white;
padding: 80px 20px;
text-align: center;
}
.features h2 {
font-size: 40px;
margin-bottom: 50px;
color: #4CAF50;
}
.feature-list {
display: flex;
justify-content: space-around;
flex-wrap: wrap;
}
.feature {
background-color: #f9f9f9;
width: 30%;
margin: 20px;
border-radius: 10px;
padding: 20px;
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
}
.feature img {
width: 100%;
border-radius: 10px;
}
.feature h3 {
margin: 20px 0;
}
/* About Section */
.about {
padding: 80px 20px;
background-color: #f4f4f4;
text-align: center;
}
.about h2 {
font-size: 40px;
margin-bottom: 30px;
}
.about p {
font-size: 18px;
max-width: 800px;
margin: 0 auto;
margin-bottom: 30px;
line-height: 1.6;
}
.social-links a {
margin: 0 10px;
font-size: 20px;
text-decoration: none;
color: #4CAF50;
transition: color 0.3s ease;
}
.social-links a:hover {
color: #333;
}
footer {
background-color: #333;
color: white;
padding: 30px;
text-align: center;
}
footer p {
margin: 0;
}
/* Media Queries */
@media (max-width: 768px) {
.feature {
width: 80%;
}
header h1 {
font-size: 40px;
}
header p {
font-size: 18px;
}
}
</style>
</head>
<body>
<header>
<h1>PyCalc</h1>
<p>Simplifying Calculations for Everyone</p>
<button onclick="location.href='https://github.com/Ahmedadel200066/PYcalc';">Try PyCalc Now</button>
<nav>
<a href="#features">Features</a>
<a href="#about">About</a>
</nav>
</header>
<section class="features" id="features">
<h2>Key Features</h2>
<div class="feature-list">
<div class="feature">
<img src="https://www.kdnuggets.com/wp-content/uploads/math-chalkboard-header-scaled.jpg">
<h3>Feature 1: Complex Calculations</h3>
<p>This feature allows you to perform complex calculations easily and quickly.</p>
</div>
<div class="feature">
<img src="https://static.vecteezy.com/system/resources/previews/000/143/266/non_2x/free-math-symbol-vector.jpg">
<h3>Feature 2: Multiple Operations</h3>
<p>Supports a variety of mathematical operations and formulas for flexible use.</p>
</div>
<div class="feature">
<img src="https://images.unsplash.com/photo-1648201188793-418f2b9b4b32?q=80&w=2070&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D">
<h3>Feature 3: Educational Mode</h3>
<p>Provides step-by-step explanations for learners and educators.</p>
</div>
</div>
</section>
<section class="about" id="about">
<h2>About PyCalc</h2>
<p>PyCalc was inspired by the need for an easy-to-use tool that simplifies complex mathematical calculations for professionals and students alike. Development began in [Month, Year] as part of our Holberton School Portfolio Project.</p>
<p>Connect with the team:</p>
<div class="social-links">
<a href="https://www.holbertonschool.com/">Holberton School</a>
<a href="https://www.linkedin.com/in/ahmed-adel-513207253/">LinkedIn</a>
<a href="https://github.com/Ahmedadel200066">GitHub</a>
<a href="https://x.com/narutoadel2011">Twitter</a>
</div>
<p>Project Repository: <a href="https://github.com/Ahmedadel200066/PYcalc">GitHub</a></p>
</section>
<footer>
<p>© 2024 PyCalc. All rights reserved.</p>
</footer>
<script>
// Add scroll effect to navigation
document.querySelectorAll('nav a').forEach(anchor => {
anchor.addEventListener('click', function(e) {
e.preventDefault();
document.querySelector(this.getAttribute('href')).scrollIntoView({
behavior: 'smooth'
});
});
});
// Add fade-in effect on page load
window.addEventListener('load', function() {
document.body.style.opacity = 0;
setTimeout(() => {
document.body.style.transition = 'opacity 1.5s';
document.body.style.opacity = 1;
}, 100);
});
</script>
</body>
</html>