+
+
Hulpverlening
@@ -16,5 +17,25 @@
+
+
+ Cursussen
+
+ Voor mensen die een cursus willen volgen
+
+
+
+ Lid worden
+
+ Heb je EHBO en wil je lid worden?
+
+
+
+ Leden
+
+ Voor huidige leden
+
+
+
diff --git a/src/app/home/home.component.scss b/src/app/home/home.component.scss
index f25b346..b5c30f1 100644
--- a/src/app/home/home.component.scss
+++ b/src/app/home/home.component.scss
@@ -37,10 +37,14 @@ header {
padding: 56px;
border-radius: 24px;
+
+
background: var(--theme-color-surface-1);
- background-repeat: no-repeat;
- background-position: 0 50%;
- background-size: cover;
+ background: #95E5CA;
+ background: linear-gradient(90deg, #95E5CA 0%, #FDCDCD 100%);
+ //background-repeat: no-repeat;
+ //background-position: 0 50%;
+ //background-size: cover;
.wrapper {
max-width: 1200px;
@@ -100,8 +104,33 @@ h1 {
font-size: var(--theme-headline-s-font-size);
font-weight: var(--theme-headline-s-font-weight);
letter-spacing: var(--theme-headline-s-letter-spacing);
-
-
-
}
}
+
+
+.content-container {
+ margin-top: 96px;
+ max-width: 1200px;
+ width: 100%;
+
+ display: grid;
+ gap: 8px;
+ grid-template-columns: repeat(6, 1fr);
+ grid-auto-flow: row;
+ grid-auto-rows: minmax(var(--min-row-height),auto);
+}
+
+.section {
+ margin: 96px 0;
+}
+
+.card-set {
+ --min-row-height: 320px;
+ --stacked-col-max-height: 198px;
+
+ display: grid;
+ gap: 8px;
+ grid-template-columns: repeat(6, 1fr);
+ grid-auto-flow: row;
+ grid-auto-rows: minmax(var(--min-row-height), auto);
+}
diff --git a/src/app/home/home.component.ts b/src/app/home/home.component.ts
index 820d900..505b53f 100644
--- a/src/app/home/home.component.ts
+++ b/src/app/home/home.component.ts
@@ -7,4 +7,11 @@ import { Component } from '@angular/core';
})
export class HomeComponent {
+ background1 = 'linear-gradient(90deg, #F8C5CC 0%, #B0A4DF 100%)'
+ background2 = 'linear-gradient(90deg, #BDED9E 0%, #BCFEE2 100%)'
+ background3 = 'linear-gradient(90deg, #CDC0B2 0%, #F4F576 33.33%, #EEEFE0 50%, #F4F576 66.666%, #CDC0B2 100%)'
+
+ navigateToCursussen() {
+ console.log('hello world')
+ }
}
diff --git a/src/styles.scss b/src/styles.scss
index 1253493..7db9fe5 100644
--- a/src/styles.scss
+++ b/src/styles.scss
@@ -1,5 +1,8 @@
/* You can add global styles to this file, and also import other style files */
+@import "normalize.css";
+@import "styles/_custom-reset.scss";
+
html, body { height: 100%; }
body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
@@ -7,11 +10,19 @@ body { margin: 0; font-family: Roboto, "Helvetica Neue", sans-serif; }
body {
box-sizing: border-box;
- --theme-color-background: #1f1f1f;
- --theme-color-on-background: #e3e3e3;
- --theme-color-surface-1: #282928;
- --theme-color-primary: #a8c7fa;
- --theme-color-on-primary: #062e6f;
+ //--theme-color-background: #1f1f1f;
+ --theme-color-background: #fff;
+ //--theme-color-on-background: #e3e3e3;
+ --theme-color-on-background: #1f1f1f;
+ //--theme-color-surface-1: #282928;
+ --theme-color-surface-1: #faf8fd;
+ //--theme-color-primary: #a8c7fa;
+ --theme-color-primary: #0b57d0;
+ //--theme-color-on-primary: #062e6f;
+ --theme-color-on-primary: #fff;
+
+ --theme-color-secondary-container: #c2e7ff;
+ --theme-color-on-surface: #1f1f1f;
--theme-title-l-font-family: "Google Sans Text", sans-serif;
@@ -33,14 +44,25 @@ body {
--theme-hero-font-weight: 475;
--theme-hero-letter-spacing: normal;
+ --min-row-height: 320px;
+
.mat-mdc-unelevated-button.mat-primary {
--mdc-filled-button-container-color: var(--theme-color-primary);
--mdc-filled-button-label-text-color: var(--theme-color-on-primary);
}
-
-
background: var(--theme-color-background);
}
+
+// Main styling
+.content-container {
+ max-width: 1200px;
+ width: 100%;
+}
+
+.section {
+ margin: 96px 0;
+}
+
diff --git a/src/styles/_custom-reset.scss b/src/styles/_custom-reset.scss
new file mode 100644
index 0000000..d9ba7f0
--- /dev/null
+++ b/src/styles/_custom-reset.scss
@@ -0,0 +1,42 @@
+// https://www.joshwcomeau.com/css/custom-css-reset/
+
+/*
+ 1. Use a more-intuitive box-sizing model.
+*/
+*, *::before, *::after {
+ box-sizing: border-box;
+}
+/*
+ 2. Remove default margin
+*/
+* {
+ margin: 0;
+}
+/*
+ Typographic tweaks!
+ 3. Add accessible line-height
+ 4. Improve text rendering
+*/
+body {
+ line-height: 1.5;
+ -webkit-font-smoothing: antialiased;
+}
+/*
+ 5. Improve media defaults
+*/
+img, picture, video, canvas, svg {
+ display: block;
+ max-width: 100%;
+}
+/*
+ 6. Remove built-in form typography styles
+*/
+input, button, textarea, select {
+ font: inherit;
+}
+/*
+ 7. Avoid text overflows
+*/
+p, h1, h2, h3, h4, h5, h6 {
+ overflow-wrap: break-word;
+}