diff --git a/src/components/BlockFeatured/BlockFeatured.stories.js b/src/components/BlockFeatured/BlockFeatured.stories.js
new file mode 100644
index 0000000..87a59bd
--- /dev/null
+++ b/src/components/BlockFeatured/BlockFeatured.stories.js
@@ -0,0 +1,21 @@
+import BlockFeatured from "./BlockFeatured"
+import API from "@/static/db.json"
+
+export default {
+ title: "@austinblanchard / BlockFeatured"
+}
+
+export const BlockFeaturedDefault = () => ({
+ components: { BlockFeatured },
+ data() {
+ return {
+ api: API
+ }
+ },
+ template: ``
+})
diff --git a/src/components/BlockFeatured/BlockFeatured.vue b/src/components/BlockFeatured/BlockFeatured.vue
new file mode 100644
index 0000000..2588364
--- /dev/null
+++ b/src/components/BlockFeatured/BlockFeatured.vue
@@ -0,0 +1,155 @@
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/GridFeatured/GridFeatured.stories.js b/src/components/GridFeatured/GridFeatured.stories.js
new file mode 100644
index 0000000..bf2edb1
--- /dev/null
+++ b/src/components/GridFeatured/GridFeatured.stories.js
@@ -0,0 +1,49 @@
+import GridFeatured from "./GridFeatured"
+import API from "@/static/db.json"
+
+let pageItem = {
+ ...API.pages[0]
+}
+
+const pageItems = [
+ {
+ ...pageItem,
+ title: "Philip J. - Fry",
+ credit: "Yoni Lappin"
+ },
+ {
+ ...pageItem,
+ title: "Headless Body - of Agnew",
+ credit: "Yoni Lappin"
+ },
+ {
+ ...pageItem,
+ title: "Bender Bending - Rodriguez",
+ credit: "Yoni Lappin"
+ },
+ {
+ ...pageItem,
+ title: "Amy - Wong",
+ credit: "Yoni Lappin"
+ },
+ {
+ ...pageItem,
+ title: "Hermes - Conrad",
+ credit: "Yoni Lappin"
+ }
+]
+
+export default {
+ title: "@austinblanchard / GridFeatured"
+}
+
+export const GridFeaturedDefault = () => ({
+ components: { GridFeatured },
+ data() {
+ return {
+ api: API,
+ pageItems: pageItems
+ }
+ },
+ template: ``
+})
diff --git a/src/components/GridFeatured/GridFeatured.vue b/src/components/GridFeatured/GridFeatured.vue
new file mode 100644
index 0000000..a7d672a
--- /dev/null
+++ b/src/components/GridFeatured/GridFeatured.vue
@@ -0,0 +1,80 @@
+
+
+
+
+
+
+
+
+
diff --git a/src/components/global/SplitText.vue b/src/components/global/SplitText.vue
new file mode 100644
index 0000000..57aba89
--- /dev/null
+++ b/src/components/global/SplitText.vue
@@ -0,0 +1,51 @@
+
+
+
+
+
+
+
diff --git a/src/styles/global.scss b/src/styles/global.scss
index b783495..54067c5 100644
--- a/src/styles/global.scss
+++ b/src/styles/global.scss
@@ -9,7 +9,7 @@
--font-secondary: "Druk Wide", sans-serif;
--color-black: #000000;
- --color-white: #000000;
+ --color-white: #ffffff;
--color-orange: #ffb762;
--color-pink: #f7aea8;
--color-red: #f96447;
@@ -18,10 +18,15 @@
--unit-100vh: 100vh;
--unit-gutter: 50px;
--unit-max-width: 1800px;
+
+ @media #{$lt-phone} {
+ --unit-gutter: 20px;
+ }
}
// Base styles
body {
+ margin: 0;
font-family: var(--font-primary);
color: var(--color-orange);
background-color: var(--color-black);
@@ -31,6 +36,7 @@ a {
color: inherit;
transition: color 0.4s $authenticMotion;
}
+// TODO probably shouldn't have this in the boiler plate as it affects NuxtLink, etc
a:hover {
color: var(--color-white);
}