add brand as link; adjust typography

master
Ayush Mukherjee 4 years ago
parent cf653aad2b
commit 3c39eea48c

@ -1,6 +1,6 @@
<template> <template>
<header> <header>
<div class="brand"> <a href="https://ayushm.com" class="brand">
<div class="logo"> <div class="logo">
<img src="@/assets/logo.png" alt="Ayush M. Logo" width="60px" height="60px"> <img src="@/assets/logo.png" alt="Ayush M. Logo" width="60px" height="60px">
</div> </div>
@ -8,9 +8,9 @@
<span>Ayush</span> <span>Ayush</span>
<span>Mukherjee.</span> <span>Mukherjee.</span>
</div> </div>
</div> </a>
<nav> <nav>
<router-link class="active" to="#work">work</router-link> <router-link to="#work">work</router-link>
<router-link to="#about">about</router-link> <router-link to="#about">about</router-link>
<router-link to="#skills">skills</router-link> <router-link to="#skills">skills</router-link>
<router-link to="#contact">contact</router-link> <router-link to="#contact">contact</router-link>

@ -21,7 +21,7 @@ body {
} }
p { p {
letter-spacing: 0.005em; letter-spacing: 0.01em;
line-height: 1.6em; line-height: 1.6em;
} }

@ -1,19 +1,22 @@
header { header {
padding: 60px 120px; padding: 40px 90px 40px 120px;
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
.brand { .brand {
display: flex; display: flex;
justify-content: space-between;
align-items: center; align-items: center;
width: 210px; padding: 20px 30px 20px 30px;
font-size: $font-brand; font-size: $font-brand;
color: $fg;
text-decoration: none;
transition: 0.2s ease-in-out;
.logo { .logo {
width: 60px; width: 60px;
height: 60px; height: 60px;
margin-right: 10px;
} }
.name { .name {
@ -21,6 +24,10 @@ header {
flex-direction: column; flex-direction: column;
font-weight: $font-bold; font-weight: $font-bold;
} }
&:hover {
background: darken($bg, 4%);
}
} }
nav { nav {

Loading…
Cancel
Save