Skip to content

Commit df42bbe

Browse files
Home button modified and link to home page on my team page
1 parent ccebec3 commit df42bbe

File tree

2 files changed

+56
-2
lines changed

2 files changed

+56
-2
lines changed

our-team/index.html

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,12 @@ <h2>Ivan Melchor</h2>
3030
<h2>Argenis Contreras</h2>
3131
<p>Creative thinker with a background in design and marketing. Always looking for new ideas.</p>
3232
</div>
33-
</div>
33+
</div>
34+
<div class="separator-bar"></div>
35+
3436

37+
<button onclick="window.location.href='../index.html'" class="home-button">
38+
HOME
39+
</button>
3540
</body>
3641
</html>

styles/ourteam.css

Lines changed: 50 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ body {
99

1010
h1 {
1111
text-align: center;
12-
font-size: 2.0em;
12+
font-size: 2.25em;
1313
color: #CC5500;
1414
font-family: "Lucida Handwriting", cursive;
1515
}
@@ -20,6 +20,7 @@ h1 {
2020
flex-wrap: wrap;
2121
margin-top: 30px;
2222
gap: 20px;
23+
margin-bottom: 30px;
2324
}
2425

2526
.team-member {
@@ -68,4 +69,52 @@ h1 {
6869
height: 30px;
6970
background-color: #0b2a4a; /* dark blue */
7071
width: 100%;
72+
margin-bottom: 30px;
73+
74+
}
75+
76+
.home-button {
77+
display: inline-flex;
78+
align-items: center;
79+
gap: 8px;
80+
padding: 12px 20px;
81+
margin-bottom: 50px;
82+
83+
font-family: 'Inter', Arial, sans-serif;
84+
font-size: 0.95rem;
85+
font-weight: 500;
86+
87+
color: #ffffff;
88+
background-color: #CC5500;
89+
text-decoration: none;
90+
91+
border-radius: 999px; /* pill shape */
92+
box-shadow: 0 6px 12px rgba(11, 42, 74, 0.25);
93+
94+
transition:
95+
background-color 0.2s ease,
96+
transform 0.15s ease,
97+
box-shadow 0.15s ease;
7198
}
99+
100+
/* Hover effect */
101+
.home-button:hover {
102+
background-color: #143d66;
103+
transform: translateY(-2px);
104+
box-shadow: 0 10px 18px rgba(11, 42, 74, 0.3);
105+
}
106+
107+
/* Keyboard accessibility */
108+
.home-button:focus {
109+
outline: none;
110+
box-shadow: 0 0 0 3px rgba(11, 42, 74, 0.35);
111+
}
112+
113+
/* Optional: fix it to the top-left corner */
114+
.home-button.fixed {
115+
position: fixed;
116+
top: 20px;
117+
left: 20px;
118+
z-index: 1000;
119+
}
120+

0 commit comments

Comments
 (0)