-
Notifications
You must be signed in to change notification settings - Fork 52
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
feat: contact us block
- Loading branch information
Showing
11 changed files
with
192 additions
and
45 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<script lang="ts"> | ||
import ContactForm from '$components/contact-form.svelte'; | ||
import Segg1 from '$components/pages/contact/illustrations/segg1.svelte'; | ||
import Segg2 from '$components/pages/contact/illustrations/segg2.svelte'; | ||
import PanWithEggs from '$components/pages/contact/pan-with-eggs.svelte'; | ||
import { storyblokEditable } from '$lib/actions/storyblok-editable'; | ||
import type { ContactUsFormStoryblok } from '$types/bloks'; | ||
export let block: ContactUsFormStoryblok; | ||
</script> | ||
|
||
<div use:storyblokEditable={block} class="overflow-hidden"> | ||
<div class="container relative mx-auto px-container"> | ||
<section class="pb-5 pt-10 lg:pb-12 lg:pt-20 lg:text-center"> | ||
<h1 class="mx-auto text-7xl text-foreground-secondary lg:max-w-xl"> | ||
{block.title1} | ||
</h1> | ||
<span class="mx-auto text-7xl lg:max-w-xl">{block.title2}</span> | ||
</section> | ||
|
||
<section class="mx-auto lg:max-w-xl lg:pt-5"> | ||
<ContactForm variant="contact" disclaimer={block.form_support_text} /> | ||
</section> | ||
|
||
<PanWithEggs class="absolute -left-16 top-4 hidden -rotate-[14deg] drop-shadow-md lg:block" /> | ||
<Segg1 class="absolute -right-16 top-[170px] hidden -rotate-[16deg] drop-shadow-md lg:block" /> | ||
<Segg2 class="absolute -right-20 top-[400px] hidden -rotate-[16deg] drop-shadow-md lg:block" /> | ||
</div> | ||
</div> |
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
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,8 @@ | ||
export const budgetRange = [ | ||
'15.000€ to 50.000€', | ||
'50.000€ to 100.000€', | ||
'100.000€ to 200.000€', | ||
'200.000€ to 300.000€', | ||
'300.000€ to 400.000€', | ||
'400.000€ and above' | ||
]; |
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