-
-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
✨ Added trending toggle in settings (#2735)
- Loading branch information
Showing
9 changed files
with
108 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
<template> | ||
<nuxt-link class="logo-link" to="/"> | ||
<h1 class="logo"> | ||
<span>View</span> | ||
<span class="logo-colored">Tube</span> | ||
</h1> | ||
<img class="logo-small" src="@/assets/icon.svg" alt="ViewTube" /> | ||
</nuxt-link> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.logo-link { | ||
text-decoration: none; | ||
margin: auto 10px auto 10px; | ||
box-sizing: border-box; | ||
display: flex; | ||
flex-direction: row-reverse; | ||
align-items: center; | ||
position: relative; | ||
z-index: +1; | ||
.logo { | ||
font-family: $header-font; | ||
font-size: 1.5rem; | ||
color: var(--title-color); | ||
width: auto; | ||
overflow: hidden; | ||
white-space: nowrap; | ||
transition: width 300ms linear; | ||
display: flex; | ||
margin: 4px 0 0 0; | ||
span { | ||
display: block; | ||
} | ||
.logo-colored { | ||
color: transparent; | ||
background-image: var(--theme-color-gradient); | ||
background-clip: text; | ||
-webkit-background-clip: text; | ||
} | ||
} | ||
.logo-small { | ||
margin: auto; | ||
height: calc(#{$header-height} - 20px); | ||
transform: scale(0.8) translateY(-2px); | ||
transition: clip-path 300ms $intro-easing, transform 300ms linear; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters