diff --git a/front/public/BannerExampleImage.jpg b/front/public/BannerExampleImage.jpg new file mode 100644 index 0000000..280abb7 Binary files /dev/null and b/front/public/BannerExampleImage.jpg differ diff --git a/front/src/lib/utils.js b/front/src/lib/utils.js new file mode 100644 index 0000000..05bb3a5 --- /dev/null +++ b/front/src/lib/utils.js @@ -0,0 +1,6 @@ +export function expandOnTyping(element) { + element.oninput = (event) => { + event.target.style.height = ""; + event.target.style.height = (event.target.scrollHeight + 2) + "px"; + } +} diff --git a/front/src/pages/PageContact.svelte b/front/src/pages/PageContact.svelte index 9d6686e..f2f5df3 100644 --- a/front/src/pages/PageContact.svelte +++ b/front/src/pages/PageContact.svelte @@ -1,5 +1,7 @@ @@ -38,7 +36,51 @@

Some Title

-

Lorem ipsum dolor, sit amet consectetur adipisicing elit. Perspiciatis dolore maiores, dolorem unde, illo vero dolores magnam omnis, explicabo vel eos voluptatem libero ullam ipsa molestias laboriosam voluptas nisi sunt.

+

Example text

+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
DayOpeningClosing
Monday9am12pm
Tuesday9am12pm
Wednesday9am12pm
Thursday9am12pm
Friday9am12pm
Saturday11am2am
Sunday11am2am
+
@@ -58,7 +100,6 @@ a { margin-top: 8px; - padding: 0 $spacing-small; height: 30px; @@ -83,8 +124,6 @@ #map { min-width: 550px; - height: 350px; - border-radius: $border-radius-normal; } @@ -95,13 +134,54 @@ .container { margin-left: $spacing-small; padding: $spacing-normal; + + width: 100%; + + h2, p { + padding-bottom: $spacing-xsmall; + } + } + } + + #timetable { + border-radius: $border-radius-normal; + border: 1px solid rgba(#000, 0.1); + + overflow: hidden; + + table { + width: 100%; + border-collapse: collapse; + + tr { + border-bottom: 1px solid rgba(#000, 0.1); + + &:last-of-type { + border: 0 solid transparent; + } + + th, td { + padding: $spacing-xsmall $spacing-small; + border-right: 1px solid rgba(#000, 0.1); + + &:last-of-type { + border: 0 solid transparent; + } + } + + th { + font-weight: $font-weight-bolder; + } + td { + font-weight: $font-weight-normal; + } + } } } @media only screen and (max-width: 900px) { #map { min-width: 400px; - height: 300px; border-radius: $border-radius-normal 0 0 $border-radius-normal; } #contact { diff --git a/front/src/pages/elements/AnnouncementBanner.svelte b/front/src/pages/elements/AnnouncementBanner.svelte index 1f58efa..3642796 100644 --- a/front/src/pages/elements/AnnouncementBanner.svelte +++ b/front/src/pages/elements/AnnouncementBanner.svelte @@ -1,9 +1,10 @@
- +
diff --git a/front/src/pages/elements/MenuItem.svelte b/front/src/pages/elements/MenuItem.svelte index 4ae9148..2d9b142 100644 --- a/front/src/pages/elements/MenuItem.svelte +++ b/front/src/pages/elements/MenuItem.svelte @@ -37,7 +37,7 @@ {/if} {/each} - View + View