-
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
2ce53c9
commit b76fbce
Showing
11 changed files
with
121 additions
and
16 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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
--- | ||
import WavesImage from '../../img/waves.webp' | ||
--- | ||
|
||
<main> | ||
<img class="backgroundImage" src={WavesImage}> | ||
|
||
<div class="titleWrapper"> | ||
<h2 class="title">{ 'dev\ndesign' }</h2> | ||
</div> | ||
</main> | ||
|
||
<style lang="scss"> | ||
@use "easy-theme" as theme; | ||
|
||
main { | ||
position: relative; | ||
height: 100vh; | ||
transform-style: inherit; | ||
} | ||
|
||
.backgroundImage { | ||
width: 210%; | ||
object-fit: cover; | ||
object-position: center bottom; | ||
height: 200vh; | ||
position: absolute; | ||
top: 0; | ||
z-index: -1; | ||
transform: translateZ(-1px) scale(1) translate(-25%, -25%); | ||
transform-origin: bottom; | ||
|
||
@include theme.Mobile { | ||
height: 150vh; | ||
width: 210%; | ||
transform: translateZ(-1px) scale(1) translate(-25%, -30%); | ||
} | ||
} | ||
|
||
.titleWrapper { | ||
padding: 3rem; | ||
|
||
@include theme.Mobile { | ||
padding: 1.5rem; | ||
} | ||
} | ||
|
||
.title { | ||
margin: 0; | ||
color: var(--primary); | ||
white-space: pre-line; | ||
font-size: 15rem; | ||
font-weight: 900; | ||
line-height: .6em; | ||
position: relative; | ||
margin-left: 0.6em; | ||
|
||
@include theme.Tablet { | ||
font-size: 10rem; | ||
} | ||
|
||
@include theme.Mobile { | ||
font-size: 5rem; | ||
} | ||
|
||
&:before { | ||
content: '&'; | ||
position: absolute; | ||
bottom: 0; | ||
right: calc(100% - .05em); | ||
} | ||
} | ||
</style> |
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 |
---|---|---|
@@ -1,24 +1,18 @@ | ||
--- | ||
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"; | ||
import NavigationMenu from "../components/common/NavigationMenu.astro"; | ||
import LandingSection from "../components/sections/Landing.astro"; | ||
changeLanguage("en"); | ||
--- | ||
|
||
<Layout title={t('pageTitle')}> | ||
<Navigation /> | ||
<NavigationMenu /> | ||
|
||
<main> | ||
<!-- hello --> | ||
</main> | ||
<LandingSection></LandingSection> | ||
</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 |
---|---|---|
@@ -1,4 +1,5 @@ | ||
@import './lib/normalize'; | ||
@import './lib/helpers'; | ||
@import './lib/base'; | ||
|
||
@import './nav'; | ||
// @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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
@mixin DarkMode { | ||
@media (prefers-color-scheme: dark) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin MobileTiny { | ||
@media screen and (max-width: 350px) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin Mobile { | ||
@media screen and (max-width: 600px) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin Tablet { | ||
@media screen and (max-width: 1000px) { | ||
@content; | ||
} | ||
} | ||
|
||
@mixin NotMobile { | ||
@media screen and (min-width: 600px) { | ||
@content; | ||
} | ||
} |
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