amoslain commited on
Commit
d778f83
·
verified ·
1 Parent(s): fd7fe2a

CAN YOU MAKE IT more proffesional?

Browse files
Files changed (3) hide show
  1. components/navbar.js +61 -0
  2. index.html +28 -73
  3. style.css +173 -17
components/navbar.js ADDED
@@ -0,0 +1,61 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class CustomNavbar extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ nav {
7
+ background: var(--primary-dark);
8
+ color: white;
9
+ padding: 1rem 2rem;
10
+ position: fixed;
11
+ width: 100%;
12
+ top: 0;
13
+ z-index: 1000;
14
+ box-shadow: 0 2px 10px rgba(0,0,0,0.1);
15
+ }
16
+ .nav-container {
17
+ display: flex;
18
+ justify-content: space-between;
19
+ align-items: center;
20
+ max-width: 1200px;
21
+ margin: 0 auto;
22
+ }
23
+ .logo {
24
+ font-size: 1.5rem;
25
+ font-weight: 700;
26
+ }
27
+ .nav-links {
28
+ display: flex;
29
+ gap: 2rem;
30
+ }
31
+ .nav-links a {
32
+ color: white;
33
+ text-decoration: none;
34
+ font-weight: 500;
35
+ transition: all 0.3s ease;
36
+ }
37
+ .nav-links a:hover {
38
+ color: var(--accent-light);
39
+ }
40
+ @media (max-width: 768px) {
41
+ .nav-links {
42
+ display: none;
43
+ }
44
+ }
45
+ </style>
46
+ <nav>
47
+ <div class="nav-container">
48
+ <div class="logo">שירה טרי</div>
49
+ <div class="nav-links">
50
+ <a href="/">בית</a>
51
+ <a href="#about">אודות</a>
52
+ <a href="#services">שירותים</a>
53
+ <a href="#testimonials">לקוחות</a>
54
+ <a href="#contact">צור קשר</a>
55
+ </div>
56
+ </div>
57
+ </nav>
58
+ `;
59
+ }
60
+ }
61
+ customElements.define('custom-navbar', CustomNavbar);
index.html CHANGED
@@ -6,70 +6,31 @@
6
  <title>שירה טרי - מעיינות של צמיחה</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
- <style>
10
- @import url('https://fonts.googleapis.com/css2?family=Rubik:wght@300;400;500;600;700&display=swap');
11
-
12
- body {
13
- font-family: 'Rubik', sans-serif;
14
- background-color: #fdf2f8;
15
- }
16
-
17
- .hero-section {
18
- background: linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
19
- url('https://m-il.co.il/wp-content/uploads/2024/09/logo-2.jpg');
20
- background-size: cover;
21
- background-position: center;
22
- }
23
-
24
- .testimonial-card {
25
- transition: transform 0.3s ease;
26
- }
27
-
28
- .testimonial-card:hover {
29
- transform: translateY(-5px);
30
- }
31
-
32
- .floating-btn {
33
- animation: float 3s ease-in-out infinite;
34
- }
35
-
36
- @keyframes float {
37
- 0% { transform: translateY(0px); }
38
- 50% { transform: translateY(-10px); }
39
- 100% { transform: translateY(0px); }
40
- }
41
-
42
- .hebrew-text {
43
- direction: rtl;
44
- text-align: right;
45
- }
46
- </style>
47
  </head>
48
- <body class="hebrew-text">
49
  <!-- Hero Section -->
50
- <section class="hero-section py-20 px-4 md:px-10 lg:px-20">
51
- <div class="container mx-auto flex flex-col items-center text-center">
52
- <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold text-pink-800 mb-6">שירה טרי</h1>
53
- <h2 class="text-3xl md:text-4xl lg:text-5xl font-semibold text-pink-700 mb-8">מעיינות של צמיחה</h2>
54
- <p class="text-xl md:text-2xl text-gray-700 mb-10 max-w-3xl">בואי לגלות כיצד לצמוח מבפנים דרך טיפול רגשי קצר-מועד בגישה המשלבת טיפול במודע ובתת-מודע</p>
55
-
56
- <div class="flex flex-wrap justify-center gap-6 mb-12">
57
- <span class="px-6 py-3 bg-emerald-100 text-emerald-800 rounded-full font-medium">אימון</span>
58
- <span class="px-6 py-3 bg-amber-100 text-amber-800 rounded-full font-medium">טיפול רגשי</span>
59
- <span class="px-6 py-3 bg-rose-100 text-rose-800 rounded-full font-medium">סדנאות</span>
60
  </div>
61
 
62
- <div class="text-4xl md:text-5xl font-bold text-pink-600 tracking-wider mb-10">מ ע י י נ ו ת ש ל צ מ י ח ה</div>
63
 
64
- <a href="#contact" class="floating-btn bg-pink-600 hover:bg-pink-700 text-white px-8 py-4 rounded-full text-lg font-semibold shadow-lg transition duration-300">
65
  צרי קשר עוד היום <i class="fas fa-arrow-left ml-2"></i>
66
  </a>
67
- </div>
68
  </section>
69
-
70
  <!-- Introduction Section -->
71
- <section class="py-16 px-4 md:px-10 lg:px-20 bg-white">
72
- <div class="https://m-il.co.il/wp-content/uploads/2024/09/logo-2.jpg">
73
  <div class="md:w-1/2">
74
  <h3 class="text-2xl md:text-3xl font-bold text-gray-800 mb-6">היי את,</h3>
75
  <p class="text-lg text-gray-700 mb-6">
@@ -87,10 +48,9 @@
87
  </div>
88
  </div>
89
  </section>
90
-
91
  <!-- Benefits Section -->
92
- <section class="py-16 px-4 md:px-10 lg:px-20 bg-pink-50">
93
- <div class="container mx-auto">
94
  <h2 class="text-3xl md:text-4xl font-bold text-center text-emerald-800 mb-16">איך הטיפול יכול לעזור לך?</h2>
95
 
96
  <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
@@ -140,10 +100,9 @@
140
  </div>
141
  </div>
142
  </section>
143
-
144
  <!-- About Me Section -->
145
- <section class="py-16 px-4 md:px-10 lg:px-20 bg-white">
146
- <div class="container mx-auto flex flex-col md:flex-row items-center">
147
  <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
148
  <img src="https://m-il.co.il/wp-content/uploads/2024/09/logo-2.jpg"
149
  alt="שירה טרי" class="rounded-lg shadow-xl w-full h-auto">
@@ -168,10 +127,9 @@
168
  </div>
169
  </div>
170
  </section>
171
-
172
  <!-- Testimonials Section -->
173
- <section class="py-16 px-4 md:px-10 lg:px-20 bg-purple-50">
174
- <div class="container mx-auto">
175
  <h2 class="text-3xl md:text-4xl font-bold text-center text-amber-800 mb-16">מה אומרים על הטיפול הרגשי והסדנאות</h2>
176
 
177
  <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
@@ -216,10 +174,9 @@
216
  </div>
217
  </div>
218
  </section>
219
-
220
  <!-- Services Section -->
221
- <section class="py-16 px-4 md:px-10 lg:px-20 bg-white">
222
- <div class="container mx-auto">
223
  <h2 class="text-3xl md:text-4xl font-bold text-center text-emerald-800 mb-16">השירותים שלי</h2>
224
 
225
  <div class="grid md:grid-cols-3 gap-8">
@@ -270,10 +227,9 @@
270
  </div>
271
  </div>
272
  </section>
273
-
274
  <!-- Contact Section -->
275
- <section id="contact" class="py-16 px-4 md:px-10 lg:px-20 bg-pink-800 text-white">
276
- <div class="container mx-auto">
277
  <h2 class="text-3xl md:text-4xl font-bold text-center mb-6">למידע נוסף על שיטת הטיפול קצרת המועד</h2>
278
  <p class="text-xl text-center mb-12 max-w-3xl mx-auto">המיושמת בקליניקה, אל תוותרי על עצמך - צרי קשר עוד היום</p>
279
 
@@ -298,10 +254,9 @@
298
  </div>
299
  </div>
300
  </section>
301
-
302
  <!-- Footer -->
303
- <footer class="py-8 px-4 bg-pink-800 text-white text-center">
304
- <div class="container mx-auto">
305
  <p>© 2025 שירה טרי - מעיינות של צמיחה. כל הזכויות שמורות.</p>
306
  <div class="flex justify-center mt-4 space-x-6">
307
  <a href="#" class="text-white hover:text-pink-300">
 
6
  <title>שירה טרי - מעיינות של צמיחה</title>
7
  <script src="https://cdn.tailwindcss.com"></script>
8
  <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
9
+ <link rel="stylesheet" href="style.css">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  </head>
11
+ <body>
12
  <!-- Hero Section -->
13
+ <section class="hero-section bg-gradient-to-r from-primary to-primary-dark text-white py-20">
14
+ <div class="container mx-auto flex flex-col items-center text-center">
15
+ <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold mb-6">שירה טרי</h1>
16
+ <h2 class="text-3xl md:text-4xl lg:text-5xl font-semibold mb-8">מעיינות של צמיחה</h2>
17
+ <p class="text-xl md:text-2xl mb-10 max-w-3xl">בואי לגלות כיצד לצמוח מבפנים דרך טיפול רגשי קצר-מועד בגישה המשלבת טיפול במודע ובתת-מודע</p>
18
+ <div class="flex flex-wrap justify-center gap-4 mb-12">
19
+ <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full font-medium">אימון</span>
20
+ <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full font-medium">טיפול רגשי</span>
21
+ <span class="px-4 py-2 bg-white bg-opacity-20 rounded-full font-medium">סדנאות</span>
 
22
  </div>
23
 
24
+ <div class="text-4xl md:text-5xl font-bold tracking-wider mb-10 opacity-90">מ ע י י נ ו ת ש ל צ מ י ח ה</div>
25
 
26
+ <a href="#contact" class="btn btn-secondary px-8 py-4 text-lg">
27
  צרי קשר עוד היום <i class="fas fa-arrow-left ml-2"></i>
28
  </a>
29
+ </div>
30
  </section>
 
31
  <!-- Introduction Section -->
32
+ <section class="section bg-white">
33
+ <div class="https://m-il.co.il/wp-content/uploads/2024/09/logo-2.jpg">
34
  <div class="md:w-1/2">
35
  <h3 class="text-2xl md:text-3xl font-bold text-gray-800 mb-6">היי את,</h3>
36
  <p class="text-lg text-gray-700 mb-6">
 
48
  </div>
49
  </div>
50
  </section>
 
51
  <!-- Benefits Section -->
52
+ <section class="section bg-gray-50">
53
+ <div class="container mx-auto">
54
  <h2 class="text-3xl md:text-4xl font-bold text-center text-emerald-800 mb-16">איך הטיפול יכול לעזור לך?</h2>
55
 
56
  <div class="grid md:grid-cols-2 lg:grid-cols-4 gap-8">
 
100
  </div>
101
  </div>
102
  </section>
 
103
  <!-- About Me Section -->
104
+ <section class="section bg-white">
105
+ <div class="container mx-auto flex flex-col md:flex-row items-center">
106
  <div class="md:w-1/2 mb-10 md:mb-0 md:pr-10">
107
  <img src="https://m-il.co.il/wp-content/uploads/2024/09/logo-2.jpg"
108
  alt="שירה טרי" class="rounded-lg shadow-xl w-full h-auto">
 
127
  </div>
128
  </div>
129
  </section>
 
130
  <!-- Testimonials Section -->
131
+ <section class="section bg-light">
132
+ <div class="container mx-auto">
133
  <h2 class="text-3xl md:text-4xl font-bold text-center text-amber-800 mb-16">מה אומרים על הטיפול הרגשי והסדנאות</h2>
134
 
135
  <div class="grid md:grid-cols-2 lg:grid-cols-3 gap-8">
 
174
  </div>
175
  </div>
176
  </section>
 
177
  <!-- Services Section -->
178
+ <section class="section bg-white">
179
+ <div class="container mx-auto">
180
  <h2 class="text-3xl md:text-4xl font-bold text-center text-emerald-800 mb-16">השירותים שלי</h2>
181
 
182
  <div class="grid md:grid-cols-3 gap-8">
 
227
  </div>
228
  </div>
229
  </section>
 
230
  <!-- Contact Section -->
231
+ <section id="contact" class="section bg-primary text-white">
232
+ <div class="container mx-auto">
233
  <h2 class="text-3xl md:text-4xl font-bold text-center mb-6">למידע נוסף על שיטת הטיפול קצרת המועד</h2>
234
  <p class="text-xl text-center mb-12 max-w-3xl mx-auto">המיושמת בקליניקה, אל תוותרי על עצמך - צרי קשר עוד היום</p>
235
 
 
254
  </div>
255
  </div>
256
  </section>
 
257
  <!-- Footer -->
258
+ <footer class="py-8 bg-primary-dark text-white text-center">
259
+ <div class="container mx-auto">
260
  <p>© 2025 שירה טרי - מעיינות של צמיחה. כל הזכויות שמורות.</p>
261
  <div class="flex justify-center mt-4 space-x-6">
262
  <a href="#" class="text-white hover:text-pink-300">
style.css CHANGED
@@ -1,28 +1,184 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
 
 
 
 
 
 
 
 
 
16
  }
17
 
18
  .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
 
 
 
 
 
 
28
  }
 
1
+
2
+ :root {
3
+ --primary: #6d28d9;
4
+ --primary-light: #8b5cf6;
5
+ --primary-dark: #4c1d95;
6
+ --secondary: #10b981;
7
+ --secondary-light: #34d399;
8
+ --secondary-dark: #059669;
9
+ --accent: #ec4899;
10
+ --accent-light: #f472b6;
11
+ --accent-dark: #db2777;
12
+ --light: #f8fafc;
13
+ --dark: #1e293b;
14
+ --gray: #64748b;
15
+ --gray-light: #e2e8f0;
16
+ }
17
+
18
  body {
19
+ font-family: 'Rubik', sans-serif;
20
+ line-height: 1.6;
21
+ color: var(--dark);
22
+ background-color: var(--light);
23
+ direction: rtl;
24
+ }
25
+
26
+ h1, h2, h3, h4, h5, h6 {
27
+ font-weight: 700;
28
+ line-height: 1.3;
29
+ color: var(--primary-dark);
30
+ }
31
+
32
+ a {
33
+ color: var(--primary);
34
+ text-decoration: none;
35
+ transition: all 0.3s ease;
36
+ }
37
+
38
+ a:hover {
39
+ color: var(--primary-light);
40
+ }
41
+
42
+ .container {
43
+ width: 100%;
44
+ max-width: 1200px;
45
+ margin: 0 auto;
46
+ padding: 0 1.5rem;
47
+ }
48
+
49
+ .btn {
50
+ display: inline-block;
51
+ padding: 0.75rem 1.5rem;
52
+ border-radius: 0.375rem;
53
+ font-weight: 600;
54
+ text-align: center;
55
+ transition: all 0.3s ease;
56
+ }
57
+
58
+ .btn-primary {
59
+ background-color: var(--primary);
60
+ color: white;
61
+ }
62
+
63
+ .btn-primary:hover {
64
+ background-color: var(--primary-light);
65
+ transform: translateY(-2px);
66
+ }
67
+
68
+ .btn-secondary {
69
+ background-color: var(--secondary);
70
+ color: white;
71
+ }
72
+
73
+ .btn-secondary:hover {
74
+ background-color: var(--secondary-light);
75
+ transform: translateY(-2px);
76
  }
77
 
78
+ .section {
79
+ padding: 5rem 0;
 
80
  }
81
 
82
+ .section-title {
83
+ font-size: 2.5rem;
84
+ margin-bottom: 3rem;
85
+ text-align: center;
86
+ position: relative;
87
+ }
88
+
89
+ .section-title:after {
90
+ content: '';
91
+ display: block;
92
+ width: 80px;
93
+ height: 4px;
94
+ background: var(--primary);
95
+ margin: 1rem auto 0;
96
  }
97
 
98
  .card {
99
+ background: white;
100
+ border-radius: 0.5rem;
101
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
102
+ transition: all 0.3s ease;
103
+ overflow: hidden;
104
+ }
105
+
106
+ .card:hover {
107
+ transform: translateY(-5px);
108
+ box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
109
+ }
110
+
111
+ .card-img {
112
+ width: 100%;
113
+ height: 200px;
114
+ object-fit: cover;
115
+ }
116
+
117
+ .card-body {
118
+ padding: 1.5rem;
119
+ }
120
+
121
+ .text-center {
122
+ text-align: center;
123
+ }
124
+
125
+ .mb-0 {
126
+ margin-bottom: 0;
127
+ }
128
+
129
+ .py-3 {
130
+ padding-top: 1rem;
131
+ padding-bottom: 1rem;
132
+ }
133
+
134
+ .px-4 {
135
+ padding-left: 1rem;
136
+ padding-right: 1rem;
137
+ }
138
+
139
+ .bg-light {
140
+ background-color: var(--light);
141
+ }
142
+
143
+ .bg-primary {
144
+ background-color: var(--primary);
145
+ color: white;
146
+ }
147
+
148
+ .text-primary {
149
+ color: var(--primary);
150
+ }
151
+
152
+ .text-secondary {
153
+ color: var(--secondary);
154
+ }
155
+
156
+ .text-accent {
157
+ color: var(--accent);
158
+ }
159
+
160
+ .font-bold {
161
+ font-weight: 700;
162
+ }
163
+
164
+ .rounded-lg {
165
+ border-radius: 0.5rem;
166
+ }
167
+
168
+ .shadow-md {
169
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
170
+ }
171
+
172
+ .transition {
173
+ transition: all 0.3s ease;
174
  }
175
 
176
+ @media (max-width: 768px) {
177
+ .section {
178
+ padding: 3rem 0;
179
+ }
180
+
181
+ .section-title {
182
+ font-size: 2rem;
183
+ }
184
  }