aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/Header.astro
blob: 171e8e1d5db39d250b4ca7bc529722c822b57d38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<header>
  <nav>
    <ul>
      <li><a href="/">Home</a></li>
      <li><a href="/projects">Projects</a></li>
      <li><a href="/about">About</a></li>
    </ul>
  </nav>
  <img
    id="profilePic"
    src="https://files.pinapelz.com/21994085.png"
    alt="Profile Picture"
  />
</header>
<style>
  header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 2rem;
  }

  nav ul {
    display: flex;
    flex-direction: row;
    list-style: none;
    padding: 0;
    margin: 0;
  }

  nav li {
    margin-right: 1.5rem;
    position: relative;
  }

  nav li:last-child {
    margin-right: 0;
  }

  nav a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    font-size: large;
    padding: 5px 10px;
    border-radius: 5px;
    transition: all 0.3s ease;
  }

  nav a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    background-size: 120% 120%;
  }

  #profilePic {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-left: 1rem;
  }
</style>
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage