diff --git a/CHANGELOG.MD b/CHANGELOG.MD index 89e6bcb..8793d63 100644 --- a/CHANGELOG.MD +++ b/CHANGELOG.MD @@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## 2.1.6 -- DEV +### Removed +- Todo list from README and moved into GitHub issues + +### Changed +- Fixed symbols extension +- Moved accessibility Scss to fix variable import oder bug + +### Added +- Link to tailwind shade generator +- Default social links component +- New FB icon +- Gulp-Data + Nunjucks module +- Njks header component +- Button component +- Theming changes to use tailwind classes instead of pre-defined classes + ## 2.1.5 ### Changed - Fixed typos in changelog diff --git a/README.md b/README.md index 17c0a12..9f723f1 100644 --- a/README.md +++ b/README.md @@ -38,16 +38,4 @@ There are three commands to run for this boilerplate as follows: * `npm run package` - Package your project. This will remove all the sourcemaps and minify everything ready for launch. ## First run -After setting up a project for the first time, you will need to run `npm build` so JayPack structures the project directories. - -## JayPack todos - - Add barba.js module - - Set up base menu and header - - Accordion component with JS - - Added form from project, need to build a dummy form to restyle for jaypack - - Add default SEO template - - Add Drawer component with JS - -## JayCraft todos - - Include a DB setup command - - Set up Craft asset rev \ No newline at end of file +After setting up a project for the first time, you will need to run `npm build` so JayPack structures the project directories. \ No newline at end of file diff --git a/_gulp/html/__data/data.json b/_gulp/html/__data/data.json new file mode 100644 index 0000000..e624f0c --- /dev/null +++ b/_gulp/html/__data/data.json @@ -0,0 +1,31 @@ +{ + "siteDetails": { + "title": "JayPack", + "description": "Lorem set amet consectutor", + "twitter": "JayBox325" + }, + "seo": { + "description": "SEO Description here.", + "socialCard": "" + }, + "socialAccounts": [ + { + "account": "Twitter", + "text": "Follow us on Twitter", + "icon": "twitter", + "accountUrl": "https://twitter.com/JayBox325" + }, + { + "account": "Facebook", + "text": "Like us on Facebook", + "icon": "facebook-f", + "accountUrl": "https://www.facebook.com" + }, + { + "account": "Email", + "text": "Email us", + "icon": "at", + "accountUrl": "mailto:hello@jaycollett.co" + } + ] +} \ No newline at end of file diff --git a/_gulp/html/_includes/seo.njk b/_gulp/html/_includes/seo.njk index e69de29..40ffd20 100644 --- a/_gulp/html/_includes/seo.njk +++ b/_gulp/html/_includes/seo.njk @@ -0,0 +1,23 @@ +{{ siteDetails.title }} - {{ siteDetails.description }} + + + + +{# Twitter #} + + + + + +{% if seo.socialCard|length %} + +{% endif %} + +{# Facebook #} + + + + +{% if seo.socialCard|length %} + +{% endif %} \ No newline at end of file diff --git a/_gulp/html/_includes/svg-symbols.njk b/_gulp/html/_includes/svg-symbols.njk index f19194b..21c1e61 100644 --- a/_gulp/html/_includes/svg-symbols.njk +++ b/_gulp/html/_includes/svg-symbols.njk @@ -17,6 +17,10 @@ + diff --git a/_gulp/html/_layout/_base.njk b/_gulp/html/_layout/_base.njk index d3f108f..1a46001 100644 --- a/_gulp/html/_layout/_base.njk +++ b/_gulp/html/_layout/_base.njk @@ -37,5 +37,4 @@ - \ No newline at end of file diff --git a/_gulp/html/_layout/footer.njk b/_gulp/html/_layout/footer.njk index cb0baa2..44eb06d 100644 --- a/_gulp/html/_layout/footer.njk +++ b/_gulp/html/_layout/footer.njk @@ -3,10 +3,10 @@ \ No newline at end of file diff --git a/_gulp/html/_layout/header.njk b/_gulp/html/_layout/header.njk index fe88f32..9661ae7 100644 --- a/_gulp/html/_layout/header.njk +++ b/_gulp/html/_layout/header.njk @@ -1,9 +1,32 @@
- - {% set icon = { - symbol: 'ncp-logo', - size: 'lg' - } %} - {% include 'elements/icon.njk' %} - -
\ No newline at end of file +
+ + + {#
+
#} + + +
+
+

+ +

+
+
+ +
+
+
+ diff --git a/_gulp/html/_macros/macros.njk b/_gulp/html/_macros/macros.njk index 3e0ee19..e330c85 100644 --- a/_gulp/html/_macros/macros.njk +++ b/_gulp/html/_macros/macros.njk @@ -11,9 +11,9 @@ {% macro social(networks) %}