diff --git a/netlify.toml b/netlify.toml new file mode 100644 index 0000000..4353d7c --- /dev/null +++ b/netlify.toml @@ -0,0 +1,14 @@ +[build] + publish = "dist" + # Allows overriding metadata.json via env var + command = "[ \"$METADATA_JSON\" ] && echo $METADATA_JSON > _data/metadata.json; npm run build" + functions = "functions/" + +[[plugins]] + package = "@netlify/plugin-functions-install-core" + +[[headers]] + for = "*.avif" + [headers.values] + Content-Type = "image/avif" + Content-Disposition = "inline" diff --git a/package.json b/package.json index 0dcaec5..3819300 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "description": "A starter template for the TEA stack.", "main": "index.js", "scripts": { + "start": "npm-run-all dev:*", "build": "cross-env NODE_ENV=production npm-run-all clean -p build:*", "build:eleventy": "eleventy", "build:webpack": "webpack", diff --git a/src/_bundle/styles/base.pcss b/src/_bundle/styles/base.pcss index fc32b50..d76f7d5 100644 --- a/src/_bundle/styles/base.pcss +++ b/src/_bundle/styles/base.pcss @@ -1 +1,13 @@ /* Custom Base Styles Go Here. */ +li { + position: relative; + left: 26px; +} +li::before { + content: url(/images/icons/bx-arrow.svg); + margin-left: -26px; + @apply absolute left-0 top-0; +} +li + li { + @apply mt-4; +} diff --git a/src/_bundle/styles/components.pcss b/src/_bundle/styles/components.pcss index ed86a87..f7994b6 100644 --- a/src/_bundle/styles/components.pcss +++ b/src/_bundle/styles/components.pcss @@ -1 +1,4 @@ /* Custom Components Go Here. */ +.button { + @apply inline-block bg-myred-500 rounded-lg text-white hover:bg-white hover:text-mydark-500 px-4 py-2 my-5; +} diff --git a/src/_data/notes.js b/src/_data/notes.js new file mode 100644 index 0000000..98df3e2 --- /dev/null +++ b/src/_data/notes.js @@ -0,0 +1,16 @@ +module.exports = [ + { + url: 'matthiasott.com', + title: 'Saving Your Web Workflows with Prototyping', + tags: ['UI', 'UX', 'Code'], + description: + 'A brilliant post by Matthias Ott on common UI and design / engineering problems and how trying to solve them is often a greater lesson than only learning about a new technology. “Learning comes from exploring the problem space and trying different possible tradeoffs.”', + }, + { + url: 'matthiasott.com', + title: 'Saving Your Web Workflows with Prototyping', + tags: ['UI', 'UX', 'Code'], + description: + 'A brilliant post by Matthias Ott on common UI and design / engineering problems and how trying to solve them is often a greater lesson than only learning about a new technology. “Learning comes from exploring the problem space and trying different possible tradeoffs.”', + }, +]; diff --git a/src/_data/products.js b/src/_data/products.js new file mode 100644 index 0000000..46d099c --- /dev/null +++ b/src/_data/products.js @@ -0,0 +1,30 @@ +module.exports = [ + { + title: 'Frankly Books', + subtitle: 'Book Marketplace', + details: '2021 - Product Creation', + description: + 'DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.', + features: [ + 'DIY tote bag drinking ', + 'DIY tote bag drinking ', + 'DIY tote bag drinking ', + ], + url: 'https://url.com', + image: 'https://source.unsplash.com/random/200', + }, + { + title: 'Project 2', + subtitle: 'Subtitle', + details: '2021 - Product Creation', + description: + 'DIY tote bag drinking vinegar cronut adaptogen squid fanny pack vaporware.', + features: [ + 'DIY tote bag drinking ', + 'DIY tote bag drinking ', + 'DIY tote bag drinking ', + ], + url: 'https://url.com', + image: 'https://source.unsplash.com/random/300', + }, +]; diff --git a/src/_includes/header.njk b/src/_includes/header.njk index 524b342..0a39d7f 100644 --- a/src/_includes/header.njk +++ b/src/_includes/header.njk @@ -6,16 +6,20 @@