diff --git a/src/components/BlockWork/BlockWork.stories.js b/src/components/BlockWork/BlockWork.stories.js new file mode 100644 index 0000000..9d77284 --- /dev/null +++ b/src/components/BlockWork/BlockWork.stories.js @@ -0,0 +1,20 @@ +import BlockWork from "./BlockWork" +import API from "@/static/db.json" + +export default { + title: "@austinblanchard / BlockWork" +} + +export const BlockWorkDefault = () => ({ + components: { BlockWork }, + data() { + return { + api: API + } + }, + template: `` +}) diff --git a/src/components/BlockWork/BlockWork.vue b/src/components/BlockWork/BlockWork.vue new file mode 100644 index 0000000..fd0b84d --- /dev/null +++ b/src/components/BlockWork/BlockWork.vue @@ -0,0 +1,125 @@ + + + + + diff --git a/src/components/GridWork/GridWork.stories.js b/src/components/GridWork/GridWork.stories.js new file mode 100644 index 0000000..cddfb97 --- /dev/null +++ b/src/components/GridWork/GridWork.stories.js @@ -0,0 +1,57 @@ +import GridWork from "./GridWork" +import API from "@/static/db.json" + +let pageItem = { + ...API.pages[0] +} + +const pageItems = [ + { + ...pageItem, + title: "Philip J. - Fry", + credit: "Yoni Lappin", + id: "cG9zDoxMTY=" + }, + { + ...pageItem, + title: "Headless Body - of Agnew", + credit: "Yoni Lappin", + id: "cG9zdDoxMY=" + }, + { + ...pageItem, + title: "Bender Bending - Rodriguez", + id: "G9zdDoxMTY=" + }, + { + ...pageItem, + title: "Amy - Wong", + credit: "Yoni Lappin", + id: "cG9zdDoxMTdY=" + }, + { + ...pageItem, + title: "Hermes - Conrad", + id: "cG9zsdDoxMTY=" + }, + { + ...pageItem, + title: "Bender Bending - Rodriguez", + id: "cG9zsdDeeoxMTY=" + } +] + +export default { + title: "@austinblanchard / GridWork" +} + +export const GridWorkDefault = () => ({ + components: { GridWork }, + data() { + return { + api: API, + pageItems: pageItems + } + }, + template: `` +}) diff --git a/src/components/GridWork/GridWork.vue b/src/components/GridWork/GridWork.vue new file mode 100644 index 0000000..5d220eb --- /dev/null +++ b/src/components/GridWork/GridWork.vue @@ -0,0 +1,125 @@ + + + + + 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..3a8b32e 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);