-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a7ec2b
commit 6a6f64c
Showing
118 changed files
with
2,743 additions
and
880 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,6 @@ | ||
// @ts-check | ||
import withNuxt from './.nuxt/eslint.config.mjs' | ||
|
||
export default withNuxt( | ||
// Your custom configs here | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,8 @@ | ||
<script setup lang="ts"></script> | ||
|
||
<template> | ||
<MainHeader /> | ||
<main> | ||
<header> | ||
<nav> | ||
<NuxtLink to="/">Главная</NuxtLink> | ||
<NuxtLink to="/about"> About </NuxtLink> | ||
</nav> | ||
</header> | ||
<nuxt-page /> | ||
</main> | ||
</template> | ||
|
||
<style scoped lang="css"> | ||
header { | ||
line-height: 1.5; | ||
max-width: 100vw; | ||
} | ||
nav > a { | ||
padding-left: 1rem; | ||
padding-right: 1rem; | ||
} | ||
@media (min-width: 768px) { | ||
header { | ||
display: flex; | ||
place-items: center; | ||
padding-right: calc(var(--section-gap) / 2); | ||
margin-left: auto; | ||
margin-right: auto; | ||
max-width: 768px; | ||
} | ||
nav { | ||
text-align: left; | ||
font-size: 1rem; | ||
padding: 1rem 0; | ||
margin-top: 1rem; | ||
} | ||
} | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
<script setup lang="ts"> | ||
const { width } = useWindowSize() | ||
</script> | ||
|
||
<template> | ||
<header> | ||
<div class='left'> | ||
<MainLogo /> | ||
|
||
<!-- <Locale /> --> | ||
</div> | ||
|
||
<MenuSmartphone v-if="width <= 1050" /> | ||
<MenuDesktop v-else /> | ||
</header> | ||
</template> | ||
|
||
<style scoped> | ||
header { | ||
padding: 0.5em 1em; | ||
display: flex; | ||
justify-content: space-between; | ||
justify-items: center; | ||
align-items: center; | ||
@media (max-width: 768px) { | ||
& { | ||
padding: 0.5em 0.5em; | ||
} | ||
} | ||
} | ||
.left { | ||
flex-grow: 1; | ||
flex-basis: 0; | ||
display: flex; | ||
align-items: center; | ||
a { | ||
font-size: 0; | ||
} | ||
} | ||
@keyframes skewRandom { | ||
0% { | ||
transform: skewX(0); | ||
} | ||
50% { | ||
transform: skewX(-3deg); | ||
} | ||
75% { | ||
transform: skewX(3deg); | ||
} | ||
100% { | ||
transform: skewX(0); | ||
} | ||
} | ||
.logo { | ||
width: 64px; | ||
height: 64px; | ||
margin-top: -14px; | ||
transition: all 0.2s; | ||
background-size: contain; | ||
scale: 1.2; | ||
&:hover.shake { | ||
animation-name: skewRandom; | ||
animation-duration: 0.5s; | ||
animation-iteration-count: infinite; | ||
animation-timing-function: ease-in-out; | ||
animation-direction: alternate-reverse; | ||
transform-origin: 50% 50%; | ||
scale: 1.1; | ||
} | ||
} | ||
</style> |
Oops, something went wrong.