Skip to content

Commit c542fb6

Browse files
committed
updated logo layout
1 parent b83f866 commit c542fb6

File tree

3 files changed

+38
-22
lines changed

3 files changed

+38
-22
lines changed

css/style.css

Lines changed: 27 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ nav .container {
108108

109109
.hero-content {
110110
display: grid;
111-
grid-template-columns: 1fr 300px;
112-
gap: 60px;
111+
grid-template-columns: 300px 1fr;
112+
gap: 90px;
113113
align-items: center;
114114
position: relative;
115115
z-index: 2;
@@ -149,6 +149,7 @@ nav .container {
149149
.hero-image {
150150
position: relative;
151151
text-align: center;
152+
margin: auto;
152153
}
153154

154155
.profile-pic {
@@ -323,9 +324,16 @@ nav .container {
323324
left: 0;
324325
right: 0;
325326
bottom: 0;
326-
background:
327-
radial-gradient(circle at 30% 40%, rgba(100, 255, 218, 0.1) 0%, transparent 50%),
328-
radial-gradient(circle at 70% 60%, rgba(0, 212, 170, 0.08) 0%, transparent 50%);
327+
background: radial-gradient(
328+
circle at 30% 40%,
329+
rgba(100, 255, 218, 0.1) 0%,
330+
transparent 50%
331+
),
332+
radial-gradient(
333+
circle at 70% 60%,
334+
rgba(0, 212, 170, 0.08) 0%,
335+
transparent 50%
336+
);
329337
pointer-events: none;
330338
}
331339

@@ -354,7 +362,7 @@ nav .container {
354362
left: 0;
355363
right: 0;
356364
height: 4px;
357-
background: linear-gradient(135deg, #25D366, #64ffda);
365+
background: linear-gradient(135deg, #25d366, #64ffda);
358366
}
359367

360368
.ai-bot-card:hover {
@@ -366,7 +374,7 @@ nav .container {
366374
.ai-bot-icon {
367375
width: 80px;
368376
height: 80px;
369-
background: linear-gradient(135deg, #25D366, #128C7E);
377+
background: linear-gradient(135deg, #25d366, #128c7e);
370378
border-radius: 50%;
371379
display: flex;
372380
align-items: center;
@@ -379,7 +387,8 @@ nav .container {
379387
}
380388

381389
@keyframes pulse {
382-
0%, 100% {
390+
0%,
391+
100% {
383392
transform: scale(1);
384393
box-shadow: 0 15px 30px rgba(37, 211, 102, 0.3);
385394
}
@@ -437,7 +446,7 @@ nav .container {
437446
}
438447

439448
.btn-whatsapp {
440-
background: linear-gradient(135deg, #25D366, #128C7E);
449+
background: linear-gradient(135deg, #25d366, #128c7e);
441450
color: white;
442451
padding: 18px 35px;
443452
border-radius: 50px;
@@ -456,7 +465,7 @@ nav .container {
456465
.btn-whatsapp:hover {
457466
transform: translateY(-3px);
458467
box-shadow: 0 15px 35px rgba(37, 211, 102, 0.4);
459-
background: linear-gradient(135deg, #128C7E, #25D366);
468+
background: linear-gradient(135deg, #128c7e, #25d366);
460469
}
461470

462471
.btn-whatsapp i {
@@ -465,7 +474,11 @@ nav .container {
465474
}
466475

467476
@keyframes bounce {
468-
0%, 20%, 50%, 80%, 100% {
477+
0%,
478+
20%,
479+
50%,
480+
80%,
481+
100% {
469482
transform: translateY(0);
470483
}
471484
40% {
@@ -549,7 +562,7 @@ nav .container {
549562
left: 0;
550563
right: 0;
551564
bottom: 0;
552-
background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
565+
background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
553566
border-radius: 50%;
554567
}
555568

@@ -633,7 +646,7 @@ nav .container {
633646
left: 0;
634647
right: 0;
635648
bottom: 0;
636-
background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
649+
background: linear-gradient(45deg, rgba(255, 255, 255, 0.1), transparent);
637650
opacity: 0;
638651
transition: opacity 0.3s ease;
639652
}
@@ -828,6 +841,7 @@ footer p {
828841
grid-template-columns: 1fr;
829842
text-align: center;
830843
gap: 40px;
844+
margin-top: 120px;
831845
}
832846

833847
.hero-text h1 {

index.html

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,14 @@
185185
<section id="home" class="hero">
186186
<div class="container">
187187
<div class="hero-content">
188+
<div class="hero-image floating">
189+
<div class="profile-pic">
190+
<img
191+
src="https://raw.githubusercontent.com/dconco/dconco/refs/heads/main/profile3.png"
192+
alt="Dave Conco"
193+
/>
194+
</div>
195+
</div>
188196
<div class="hero-text animate-in">
189197
<h1>Hi, I'm <span class="highlight">Dave Conco</span></h1>
190198
<p class="subtitle">
@@ -205,14 +213,6 @@ <h1>Hi, I'm <span class="highlight">Dave Conco</span></h1>
205213
>
206214
</div>
207215
</div>
208-
<div class="hero-image floating">
209-
<div class="profile-pic">
210-
<img
211-
src="https://raw.githubusercontent.com/dconco/dconco/refs/heads/main/profile3.png"
212-
alt="Dave Conco"
213-
/>
214-
</div>
215-
</div>
216216
</div>
217217
</div>
218218
</section>

js/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ document.querySelectorAll('a[href^="#"]').forEach(anchor => {
66
if (target) {
77
target.scrollIntoView({
88
behavior: 'smooth',
9-
block: 'start',
9+
block: 'start'
1010
})
1111
}
1212
})
@@ -22,6 +22,7 @@ window.addEventListener('scroll', () => {
2222
}
2323
})
2424

25+
/*
2526
// Animate elements on scroll
2627
const observerOptions = {
2728
threshold: 0.1,
@@ -39,3 +40,4 @@ const observer = new IntersectionObserver(entries => {
3940
document.querySelectorAll('.project-card, .skill-category, .ai-bot-card').forEach(el => {
4041
observer.observe(el)
4142
})
43+
*/

0 commit comments

Comments
 (0)