Skip to content

Commit 0da64c4

Browse files
committed
Adding Images, js, and change text
1 parent d31a492 commit 0da64c4

File tree

3 files changed

+69
-10
lines changed

3 files changed

+69
-10
lines changed

assets/index.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,17 @@ <h1>Joseph JP Lavoie</h1>
2525
<section id="projects">
2626
<h2>Projects</h2>
2727
<ul>
28-
<li>Bioinformatics Tool: A Python-based tool for genetic data analysis.</li>
28+
<li>Kicker Tool: A Python-based tool for looking at currently rostered kickers.</li>
2929
<li>Portfolio Website: A showcase of my skills built using HTML, CSS, and JavaScript.</li>
3030
</ul>
3131
</section>
32+
<section id="project gallery">
33+
<h2>Gallery</h2>
34+
<div class="gallery">
35+
<img src="images/project1-placeholder.jpg" alt="Kicker Tool Screenshot" title="Kicker Tool">
36+
<img src="images/project2-placeholder.jpg" alt="Portfolio Screenshot" title="Portfolio Website">
37+
</div>
38+
</section>
3239
<section id="skills">
3340
<h2>Skills</h2>
3441
<ul>

assets/script.js

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
document.querySelectorAll('nav a').forEach(link => {
2+
link.addEventListener('click', function (e) {
3+
e.preventDefault();
4+
const targetId = this.getAttribute('href').substring(1);
5+
document.getElementById(targetId).scrollIntoView({
6+
behavior: 'smooth'
7+
});
8+
});
9+
});
10+
11+
const footer = document.querySelector('footer p');
12+
footer.innerHTML = ${new Date().getFullYear()} Joseph Lavoie`;

assets/styles.css

Lines changed: 49 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,77 @@
1+
12
body {
2-
font-family: Arial, sans-serif;
3+
font-family: 'Arial', sans-serif;
34
margin: 0;
45
padding: 0;
56
line-height: 1.6;
67
color: #333;
8+
background: linear-gradient(to bottom, #f0f0f0, #d9d9d9);
79
}
810
header {
9-
background: #333;
11+
background: linear-gradient(90deg, #333, #555);
1012
color: #fff;
11-
padding: 10px 20px;
13+
padding: 15px 20px;
14+
position: sticky;
15+
top: 0;
16+
z-index: 1000;
17+
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
1218
}
1319
nav ul {
1420
list-style: none;
1521
padding: 0;
22+
margin: 0;
23+
display: flex;
24+
justify-content: center;
1625
}
1726
nav ul li {
18-
display: inline;
19-
margin-right: 10px;
27+
margin-right: 15px;
2028
}
2129
nav ul li a {
2230
color: #fff;
2331
text-decoration: none;
32+
font-weight: bold;
33+
transition: color 0.3s ease;
34+
}
35+
nav ul li a:hover {
36+
color: #ffa500;
2437
}
2538
section {
26-
padding: 20px;
27-
margin: 20px 0;
39+
padding: 40px 20px;
40+
margin: 20px auto;
41+
max-width: 900px;
42+
background: #fff;
43+
border-radius: 10px;
44+
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
2845
}
2946
h1, h2 {
3047
color: #333;
48+
text-align: center;
3149
}
3250
footer {
3351
text-align: center;
34-
padding: 10px 0;
52+
padding: 15px 0;
3553
background: #333;
3654
color: #fff;
37-
}
55+
}
56+
img {
57+
max-width: 100%;
58+
height: auto;
59+
border-radius: 10px;
60+
margin: 10px 0;
61+
}
62+
63+
.gallery {
64+
display: grid;
65+
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
66+
gap: 20px;
67+
}
68+
.gallery img {
69+
width: 100%;
70+
border-radius: 5px;
71+
transition: transform 0.3s ease, box-shadow 0.3s ease;
72+
cursor: pointer;
73+
}
74+
.gallery img:hover {
75+
transform: scale(1.1);
76+
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
77+
}

0 commit comments

Comments
 (0)