This repository has been archived by the owner on Dec 21, 2024. It is now read-only.
-
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.
holadok: lint and add transition on artwork and hero tagline
- Loading branch information
1 parent
ee30101
commit b4bfd0f
Showing
10 changed files
with
158 additions
and
138 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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
export default { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
}, | ||
} | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {} | ||
} | ||
}; |
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,3 +1,3 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
@tailwind utilities; |
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,79 +1,77 @@ | ||
<script> | ||
import Logo from "$lib/assets/brand/logo.svg"; | ||
import Logo from '$lib/assets/brand/logo.svg'; | ||
</script> | ||
|
||
|
||
<div class="navigation"> | ||
<div class="navigation-left"> | ||
<img src="{Logo}" alt="Holadok Brand Logo" > | ||
</div> | ||
<nav class="navigation-center"> | ||
<ul> | ||
<li class="active"> | ||
<a href="#">Home</a> | ||
</li> | ||
<li> | ||
<a href="#">Features</a> | ||
</li> | ||
<li> | ||
<a href="#">Blog</a> | ||
</li> | ||
<li> | ||
<a href="#">About Us</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
<div class="navigation-left"> | ||
<img src={Logo} alt="Holadok Brand Logo" /> | ||
</div> | ||
<nav class="navigation-center"> | ||
<ul> | ||
<li class="active"> | ||
<a href="#">Home</a> | ||
</li> | ||
<li> | ||
<a href="#">Features</a> | ||
</li> | ||
<li> | ||
<a href="#">Blog</a> | ||
</li> | ||
<li> | ||
<a href="#">About Us</a> | ||
</li> | ||
</ul> | ||
</nav> | ||
|
||
<div class="navigation-right"> | ||
<span> | ||
<a href="#">Login</a> | ||
</span> | ||
<span class="bordered"> | ||
<a href="#">Book Now</a> | ||
</span> | ||
</div> | ||
<div class="navigation-right"> | ||
<span> | ||
<a href="#">Login</a> | ||
</span> | ||
<span class="bordered"> | ||
<a href="#">Book Now</a> | ||
</span> | ||
</div> | ||
</div> | ||
|
||
<style lang='postcss'> | ||
* { | ||
@apply text-sm | ||
} | ||
.navigation { | ||
@apply | ||
md:flex md:w-full md:justify-between md:items-center h-screen md:h-0 absolute | ||
py-2 px-2 z-10 | ||
} | ||
<style lang="postcss"> | ||
* { | ||
@apply text-sm; | ||
} | ||
.navigation-left img { | ||
@apply w-full h-7 | ||
} | ||
.navigation { | ||
@apply md:flex md:w-full md:justify-between md:items-center h-screen md:h-0 absolute | ||
py-2 md:py-5 px-2 z-10; | ||
} | ||
.navigation-center > ul , .navigation-right > span { | ||
@apply px-1 py-1 | ||
} | ||
.navigation-left img { | ||
@apply w-full h-7; | ||
} | ||
.navigation-center ul { | ||
@apply hidden md:flex flex-row gap-4 | ||
} | ||
.navigation-center > ul, | ||
.navigation-right > span { | ||
@apply px-1 py-1; | ||
} | ||
.navigation-center ul li:hover { | ||
@apply underline | ||
} | ||
.navigation-center ul { | ||
@apply hidden md:flex flex-row gap-4; | ||
} | ||
.navigation-center ul li:hover { | ||
@apply underline; | ||
} | ||
.navigation-center ul li.active{ | ||
@apply font-semibold | ||
} | ||
.navigation-center ul li.active { | ||
@apply font-semibold; | ||
} | ||
.navigation-center ul li:not(.active){ | ||
@apply font-thin | ||
} | ||
.navigation-right { | ||
@apply hidden md:flex flex-row gap-4 font-semibold | ||
} | ||
.navigation-center ul li:not(.active) { | ||
@apply font-thin; | ||
} | ||
.navigation-right { | ||
@apply hidden md:flex flex-row gap-4 font-semibold; | ||
} | ||
.navigation-right span.bordered { | ||
@apply border border-black rounded-sm px-3 | ||
} | ||
</style> | ||
.navigation-right span.bordered { | ||
@apply border border-black rounded-sm px-3; | ||
} | ||
</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 |
---|---|---|
@@ -1,4 +1,3 @@ | ||
<svg width="590" height="847" viewBox="0 0 590 847" fill="none" xmlns="http://www.w3.org/2000/svg"> | ||
<path d="M80 0H590L510 847H0L80 0Z" fill="#9BEAE0"/> | ||
</svg> | ||
|
||
<path d="M80 0H590L510 847H0L80 0Z" fill="#9BEAE0" /> | ||
</svg> |
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,5 +1,5 @@ | ||
<script> | ||
import "../app.css" | ||
import '../app.css'; | ||
</script> | ||
|
||
<slot/> | ||
<slot /> |
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 +1 @@ | ||
export const prerender: boolean = true; | ||
export const prerender: boolean = true; |
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,14 +1,13 @@ | ||
/** @type {import('tailwindcss').Config} */ | ||
export default { | ||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: { | ||
backgroundColor:{ | ||
primary: "#203271", | ||
secondary: "#101C45", | ||
} | ||
}, | ||
}, | ||
plugins: [], | ||
} | ||
|
||
content: ['./src/**/*.{html,js,svelte,ts}'], | ||
theme: { | ||
extend: { | ||
backgroundColor: { | ||
primary: '#203271', | ||
secondary: '#101C45' | ||
} | ||
} | ||
}, | ||
plugins: [] | ||
}; |