Skip to content

Commit

Permalink
fix: replace roadmap emoji with svg
Browse files Browse the repository at this point in the history
  • Loading branch information
tomoayan committed Mar 21, 2024
1 parent 78fd97a commit 6bae9db
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 2 deletions.
1 change: 1 addition & 0 deletions assets/motorway.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ <h3>Tomo</h3>
</div>
<div class="roadMap">
<div class="roadmap-wrapper">
<h1>🛣️ Roadmap</h1>
<h1><span class="img"><img onload="this.style.opacity=1" src="./assets/motorway.svg" alt="roadmap icon"></span> Roadmap</h1>
<div class="active">
<h4>Active</h4>
<div class="task">
Expand Down
18 changes: 17 additions & 1 deletion main.css
Original file line number Diff line number Diff line change
Expand Up @@ -227,11 +227,27 @@ h6 {
width: 100%;
}

.roadMap .img {
border-radius: 6px;
overflow: hidden;
width: 2rem;
height: 2rem;
background-color: hsla(0, 0%, 100%, 0.07);
}
.roadMap .img img {
transition: opacity 0.1s ease-in;
opacity: 0;
width: 100%;
height: 100%;
}

.roadMap h1 {
display: flex;
align-items: center;
gap: 7px;
width: 100%;
margin-bottom: 16px;
padding-bottom: 6px;

}

.roadmap-wrapper .active, .roadmap-wrapper .planned {
Expand Down

0 comments on commit 6bae9db

Please sign in to comment.