Skip to content

Commit

Permalink
Merge pull request #88 from code4policy/add-member-taesoon
Browse files Browse the repository at this point in the history
make a go to home button in the us-trade website
  • Loading branch information
Taesoonkim777 authored Jan 19, 2025
2 parents f253ae0 + 81483c8 commit 9e9f0ff
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
17 changes: 17 additions & 0 deletions us-trade/us-trade-styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -154,3 +154,20 @@ p {
left: 10px; /* Adjust position for smaller screens */
}
}

header {
position: relative;
}

header .home-link {
position: absolute;
top: 10px;
right: 20px;
font-size: 16px;
color: #ffffff;
text-decoration: none;
}

header .home-link:hover {
text-decoration: underline;
}
2 changes: 1 addition & 1 deletion us-trade/us-trade.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ <h1>
</a></a>
<span style="line-height: 1.5;">Energy and Trade: Shaping the Future</span>
</h1>
<a href="../index.html" class="home-link">Go to Home</a>
</header>
<nav>
<div class="navbar">
Expand All @@ -27,7 +28,6 @@ <h1>
<a href="#hydropower">Hydropower</a> |
<a href="#solar">Solar</a> |
<a href="#biomass">Biomass</a> |
<a href="../index.html" class="home-link">Go to Home</a>
</div>
</div>
</nav>
Expand Down

0 comments on commit 9e9f0ff

Please sign in to comment.