From 58a2da19969a13960036a8a89ffaa8db79a65dc4 Mon Sep 17 00:00:00 2001
From: James Collins
Date: Thu, 4 May 2023 18:58:53 +1000
Subject: [PATCH] updated homepage
---
resources/js/views/Home.vue | 61 +++++++++++++++++++++----------------
1 file changed, 34 insertions(+), 27 deletions(-)
diff --git a/resources/js/views/Home.vue b/resources/js/views/Home.vue
index 5e850b7..cab183f 100644
--- a/resources/js/views/Home.vue
+++ b/resources/js/views/Home.vue
@@ -7,10 +7,9 @@
:image-title="heroImageTitle"
:to="heroTo" />
-
-
+
+
Join the Fun!
-
To meet the demands of a constantly evolving world, it is
essential to nurture a new generation of scientists, engineers,
@@ -27,7 +26,7 @@
themed workshops across Queensland, both to the general public
and to private groups.
-
+
Upcoming Workshops
@@ -38,8 +37,8 @@
:key="event.id" />
-
-
+
+
Build skills while having a great time
-
+
Latest Posts
@@ -106,8 +105,8 @@
-
-
+
+
And the support doesn't stop!
-
+
@@ -242,29 +241,35 @@ handleLoad();
margin-top: -80px;
}
- .about .container-inner {
- margin: 64px 32px 32px;
- padding: 0 90px 64px 90px;
+ .about {
background-color: var(--accent-1-color);
color: var(--accent-1-color-text);
- border-radius: 24px;
- max-width: 960px;
+ padding-top: 96px;
+ padding-bottom: 96px;
h2 {
font-size: 400%;
text-align: center;
color: var(--accent-1-color-text);
+ margin-top: 0;
}
p {
font-size: 125%;
+ max-width: 960px;
+ margin-left: auto;
+ margin-right: auto;
}
}
.upcoming,
.latest-articles {
+ padding-top: 96px;
+ padding-bottom: 96px;
+
h2 {
- font-size: 250%;
+ font-size: 300%;
+ margin-top: 0;
margin-bottom: #{calc(var(--header-font-size-2))};
}
@@ -285,18 +290,17 @@ handleLoad();
}
}
- .workshops .container-inner {
- margin: 64px 32px 32px;
- padding: 0 90px 64px 90px;
+ .workshops {
background-color: var(--accent-3-color);
color: var(--accent-3-color-text);
- border-radius: 24px;
- max-width: 960px;
+ padding-top: 96px;
+ padding-bottom: 96px;
h2 {
font-size: 300%;
text-align: center;
color: var(--accent-3-color-text);
+ margin-top: 0;
}
p {
@@ -311,6 +315,10 @@ handleLoad();
width: #{calc(map-get($spacing, 5) * 15)};
}
+ .row {
+ max-width: 960px;
+ }
+
.button {
background-color: var(--accent-1-color);
color: var(--accent-1-color-text);
@@ -318,7 +326,6 @@ handleLoad();
}
.minecraft {
- margin-top: 64px;
background-image: url("/assets/home-minecraft.webp");
background-repeat: no-repeat;
background-position: center;
@@ -354,16 +361,15 @@ handleLoad();
}
}
- .support .container-inner {
- margin: 64px 32px 32px;
- padding: 0 90px 64px 90px;
+ .support {
color: var(--accent-2-color-text);
background-color: var(--accent-2-color);
- border-radius: 24px;
- max-width: 960px;
+ padding-top: 96px;
+ padding-bottom: 96px;
.row {
gap: 30px;
+ max-width: 960px;
}
.support-image {
@@ -380,6 +386,7 @@ handleLoad();
h2 {
font-size: 300%;
text-align: center;
+ margin-top: 0;
margin-bottom: 16px;
color: var(--accent-2-color-text);
}