-
Notifications
You must be signed in to change notification settings - Fork 0
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
a2a8ce7
commit b203bc6
Showing
8 changed files
with
3,881 additions
and
5,603 deletions.
There are no files selected for viewing
Binary file not shown.
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,44 @@ | ||
--- | ||
import { t } from "i18next"; | ||
--- | ||
|
||
<nav class="nav"> | ||
<div> | ||
</div> | ||
|
||
<ul class="nav__items"> | ||
<li class="nav__items__link" id="welcome"> | ||
<a href="#welcome"> | ||
H.1 | ||
|
||
<span class="nav__items__link__desc"> | ||
- Welcome | ||
</span> | ||
</a> | ||
</li> | ||
|
||
<li class="nav__items__link" id="another"> | ||
<a href="#another"> | ||
H.2 | ||
|
||
<span class="nav__items__link__desc"> | ||
- About | ||
</span> | ||
</a> | ||
</li> | ||
|
||
<li class="nav__items__link" id="something"> | ||
<a href="#something"> | ||
H.3 | ||
|
||
<span class="nav__items__link__desc"> | ||
- Contact | ||
</span> | ||
</a> | ||
</li> | ||
|
||
<button class="nav__items__link nav__items__burger"> | ||
|
||
</button> | ||
</ul> | ||
</nav> |
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,22 @@ | ||
--- | ||
import { changeLanguage, t } from "i18next"; | ||
import Layout from "../layouts/Layout.astro"; | ||
import Header from "../components/Header.astro"; | ||
import ThemesSetup from "../components/ThemesSetup.astro"; | ||
import ThemeSelection from "../components/ThemeSelection.astro"; | ||
import { Projects } from "../lib/Projects.lib"; | ||
import HeaderSocials from "../components/HeaderSocials.astro"; | ||
import Project from "../components/Project.astro"; | ||
import Preview from "../components/Preview.astro"; | ||
import Navigation from "../components/common/Navigation.astro"; | ||
changeLanguage("en"); | ||
--- | ||
|
||
<Layout title={t('pageTitle')}> | ||
<Navigation /> | ||
|
||
<main> | ||
<!-- hello --> | ||
</main> | ||
</Layout> |
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,89 @@ | ||
.nav { | ||
display: flex; | ||
justify-content: space-between; | ||
background-color: var(--background); | ||
color: var(--contrast); | ||
border-bottom: var(--border); | ||
position: sticky; | ||
top: 0; | ||
z-index: 10; | ||
|
||
&__items { | ||
display: flex; | ||
align-items: center; | ||
list-style: none; | ||
padding: 0; | ||
margin: 0; | ||
|
||
&__link { | ||
text-decoration: none; | ||
color: var(--contrast); | ||
border-left: var(--border); | ||
min-height: 100%; | ||
box-sizing: border-box; | ||
display: flex; | ||
align-items: center; | ||
position: relative; | ||
white-space: nowrap; | ||
transition: .5s ease-out; | ||
overflow: hidden; | ||
|
||
a { | ||
color: inherit; | ||
text-decoration: none; | ||
display: block; | ||
padding: var(--padding); | ||
z-index: 1; | ||
} | ||
|
||
&::before { | ||
content: ''; | ||
position: absolute; | ||
bottom: 0; | ||
left: 0; | ||
right: 0; | ||
height: 0%; | ||
background-color: var(--contrast); | ||
transition: var(--transition); | ||
} | ||
|
||
&::after { | ||
content: ''; | ||
position: absolute; | ||
top: 0; | ||
bottom: 0; | ||
left: 0; | ||
width: 0; | ||
background-color: var(--contrast); | ||
transition: var(--transition); | ||
} | ||
|
||
&:hover { | ||
&::before { | ||
height: 10%; | ||
} | ||
} | ||
|
||
&--active, &:target { | ||
color: var(--background); | ||
font-weight: 400; | ||
|
||
&::after { | ||
width: 100%; | ||
} | ||
} | ||
} | ||
|
||
&__burger { | ||
aspect-ratio: 1/1; | ||
display: flex; | ||
margin: 0; | ||
padding: 0; | ||
width: 3rem; | ||
border: none; | ||
background-color: var(--contrast); | ||
// border-left: var(--border); | ||
// border-left-color: var(--background); | ||
} | ||
} | ||
} |
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,8 +1,4 @@ | ||
// Core | ||
@import './lib/normalize'; | ||
@import './lib/base'; | ||
@import './lib/utils'; | ||
@import './lib/selectors'; | ||
|
||
// Themes | ||
@import './themes/!themes.scss'; | ||
@import './nav'; |
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
Oops, something went wrong.