Skip to content

Commit

Permalink
Add navlinks
Browse files Browse the repository at this point in the history
  • Loading branch information
claudiaaziz committed Oct 24, 2023
1 parent 049facb commit e030b14
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 7 deletions.
Binary file added assets/nav-icons/github-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/nav-icons/linkedin-icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 1 addition & 2 deletions dist/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/main.css.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,19 @@

<header>
<h1>Canvas</h1>

<!-- floating brushes -->
<!-- <img src="assets/tab-icon.png" alt="" class="floating-image">
<img src="assets/tab-icon.png" alt="" class="floating-image">
<img src="assets/tab-icon.png" alt="" class="floating-image"> -->

<!-- navlinks -->
<nav class="links">
<a target="_blank" href="https://github.com/claudiaaziz"><img class="link-icon"
src="./assets/nav-icons/github-icon.png" alt="" /></a>
<a target="_blank" href="https://www.linkedin.com/in/claudia-aziz-b940b0274"><img class="link-icon"
src="./assets/nav-icons/linkedin-icon.png" alt="image of linkedin logo" /></a>
</nav>
</header>

<canvas id="canvas"></canvas>
Expand Down
19 changes: 15 additions & 4 deletions src/styles/header.scss
Original file line number Diff line number Diff line change
@@ -1,11 +1,22 @@
@import url('https://fonts.googleapis.com/css2?family=Allura&display=swap');

header {
padding: 20px;
position: relative;
display: flex;
justify-content: space-between;
align-items: center;
}

header h1 {
font-family: 'Allura', cursive;
font-size: 4em;
color: pink
}
color: pink;
}

.links a {
margin-left: 20px;
}

.links img {
height: 45px;
}

0 comments on commit e030b14

Please sign in to comment.