-
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
bff02ac
commit 88df455
Showing
15 changed files
with
73 additions
and
15 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,8 +1,12 @@ | ||
<template> | ||
<div class="banner"> | ||
<span class="banner__title"> Hello world </span> | ||
<span class="banner__title"> {{ title }} </span> | ||
<span class="banner__content"> {{ content }} </span> | ||
</div> | ||
</template> | ||
|
||
<script setup lang="ts" name="banner"></script> | ||
<script setup lang="ts" name="banner"> | ||
import type { Banner } from '~/types/banner' | ||
defineProps<Banner>() | ||
</script> | ||
<style scoped lang="scss" src="./style.scss" /> |
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,17 +1,31 @@ | ||
.banner { | ||
@extend %page-container; | ||
position: relative; | ||
grid-template-areas: '. . articles articles articles articles articles articles articles articles . .'; | ||
|
||
grid-template-areas: | ||
". title title title title title title title title title title ." | ||
". content content content content content content content content content content ."; | ||
width: 100%; | ||
height: 100%; | ||
min-height: 20rem; | ||
min-height: 30rem; | ||
grid-gap: calc($spacing-base * 2) 0; | ||
|
||
@media (min-width: $break-md) { | ||
grid-template-areas: | ||
". . title title title title title title title title . ." | ||
". . content content content content content content content content . ."; | ||
} | ||
|
||
background-color: $color-red; | ||
background-color: $color-yellow; | ||
|
||
&__title { | ||
grid-area: articles; | ||
color: $color-white; | ||
@extend %h3; | ||
grid-area: title; | ||
font-size: $font-size-title-md; | ||
} | ||
|
||
&__content { | ||
@extend %body-copy-2; | ||
grid-area: content; | ||
overflow: scroll | ||
} | ||
} |
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 |
---|---|---|
|
@@ -14,5 +14,9 @@ | |
{ | ||
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Meer te weten komen over de Geudenstraat?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -58,5 +58,9 @@ | |
"title": "Eigen douche", | ||
"value": "Ja" | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Interesse in deze kamer?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508. Vergeet zeker niet de kamer te vermelden waarin je interesse hebt." | ||
} | ||
} |
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 |
---|---|---|
|
@@ -58,5 +58,9 @@ | |
"title": "Eigen douche", | ||
"value": "Ja" | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Interesse in deze kamer?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508. Vergeet zeker niet de kamer te vermelden waarin je interesse hebt." | ||
} | ||
} |
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 |
---|---|---|
|
@@ -14,5 +14,9 @@ | |
{ | ||
"description": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum." | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Meer te weten komen over het Sloefke?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508" | ||
} | ||
} |
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 |
---|---|---|
|
@@ -58,5 +58,9 @@ | |
"title": "Eigen douche", | ||
"value": "Ja" | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Interesse in deze kamer?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508. Vergeet zeker niet de kamer te vermelden waarin je interesse hebt." | ||
} | ||
} |
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 |
---|---|---|
|
@@ -58,5 +58,9 @@ | |
"title": "Eigen douche", | ||
"value": "Ja" | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Interesse in deze kamer?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508. Vergeet zeker niet de kamer te vermelden waarin je interesse hebt." | ||
} | ||
} |
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 |
---|---|---|
|
@@ -58,5 +58,9 @@ | |
"title": "Eigen douche", | ||
"value": "Ja" | ||
} | ||
] | ||
], | ||
"banner": { | ||
"title": "Interesse in deze kamer?", | ||
"content": "Neem contact met ons op via email op het adres [email protected] of telefonisch op +32476271508. Vergeet zeker niet de kamer te vermelden waarin je interesse hebt." | ||
} | ||
} |
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,5 @@ | ||
|
||
export type Banner = { | ||
title?: string, | ||
content?: string | ||
} |
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,9 +1,11 @@ | ||
import type { Header } from "~/types/header"; | ||
import type { Room } from "~/types/room"; | ||
import type { Paragraph } from "~/types/paragraph"; | ||
import type { Banner } from "~/types/banner"; | ||
|
||
export interface StudentHouse { | ||
header: Header; | ||
rooms: Room[]; | ||
paragraphs: Paragraph[]; | ||
banner?: Banner; | ||
} |