-
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.
refactor: Hero mit Titel und Slogan als eigenes Component
- Loading branch information
1 parent
79e0953
commit fcfa2fa
Showing
5 changed files
with
43 additions
and
32 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,17 @@ | ||
<script lang="ts"> | ||
import Hero from "../Hero/Hero.svelte"; | ||
export let img: string; | ||
</script> | ||
|
||
<Hero {img}}> | ||
<div class="dshadow text-center leading-[2rem] md:leading-[3rem] lg:leading-[4rem]"> | ||
<h1 class="uppercase tracking-[.3em]"> | ||
<slot /> | ||
</h1> | ||
<h3> | ||
Quadratisch<span class="text-accent">.</span> Praktisch<span class="text-accent">.</span> | ||
Gut<span class="text-accent">.</span> | ||
</h3> | ||
</div> | ||
</Hero> |
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,10 @@ | ||
<script> | ||
import { generateTitle } from "$lib/titleGenerator"; | ||
import HeroWithTitleAndSlogan from "../../components/Common/HeroWithTitleAndSlogan.svelte"; | ||
</script> | ||
|
||
<svelte:head> | ||
<title>{generateTitle("Das Team")}</title> | ||
</svelte:head> | ||
|
||
<HeroWithTitleAndSlogan img="/img/team/hero.jpg">Das Cubyx Team</HeroWithTitleAndSlogan> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.