Commit ae78f01e authored by Björn Bartels's avatar Björn Bartels

rename partial path, fix path issues

parent 75f1d6a3
......@@ -15,13 +15,14 @@
"tests"
],
"dependencies": {
"bootstrap": "^4",
"angular" : "^1",
"foundation-sites": "^6",
"motion-ui": "^1",
"jquery": "^3",
"jquery-migrate": "^1",
"jquery-ui": "^1"
"bootstrap": "*",
"react": "*",
"angular" : "*",
"foundation-sites": "*",
"motion-ui": "*",
"jquery": "*",
"jquery-migrate": "*",
"jquery-ui": "*"
},
"private": true
}
......@@ -81,7 +81,7 @@
"gulp-ruby-sass": "^2.0.6",
"sass-true": "^2.0.3",
"sinon": "^1.17.3",
"node-patternlibrary": "^0.0.1"
"node-patternlibrary": "*"
},
"repository": {
"type": "git",
......
......@@ -55,4 +55,4 @@
@import '_mixins';
@import '_global';
@import '../../partials/_components';
\ No newline at end of file
@import '../../patterns/_components';
\ No newline at end of file
---
title: atom/modal-close-button
description: '"X" button to close a modal window'
sass: src/partials/atoms/modal-close-button/styles.scss
js: src/partials/atoms/modal-close-button/module.js
sass: styles.scss
js: module.js
---
Here you can either give a rather brief description of your pattern or provide extended usage information.
......
---
title: atom/text-headline
description: an inline headline
sass: src/partials/atoms/text-headline/styles.scss
sass: styles.scss
js:
---
......
---
title: atom/text-paragraph
description: an inline text paragraph
sass: src/partials/atoms/text-paragraph/styles.scss
sass: styles.scss
js:
---
......
<!-- Footer -->
<footer id="footer" class="row column small-12">
<span class="copyright" >&copy; <a href="https://p-ad.de" target="_blank">P.AD Werbeagentur GmbH</a>.
<span class="copyright" >&copy; <a href="{{project.author.url}}" target="_blank">{{project.author.name}}</a>.
<span class="patterns" >| <a href="/pl/patterns">Patterns</a>.
<span class="htmlelements">| <a href="/htmlelements.html">HTML Elements</a>.
<span class="foundation">| <a href="/foundation.html">Foundation Demo</a>.
......
---
title: molecule/article-teaser
description: 'an article teaser module with "more" link'
sass: src/partials/molecules/article-teaser/styles.scss
js: src/partials/molecules/article-teaser/module.js
sass: styles.scss
js: module.js
---
Here you can either give a rather brief description of your pattern or provide extended usage information.
......
......@@ -33,11 +33,11 @@ function loadConfig() {
gulp.task('pages:main', function () {
return gulp.src('src/pages/**/*.{html,hbs,handlebars}')
.pipe(panini({
root : 'src/pages/',
layouts : 'src/layouts/',
partials: 'src/partials/',
data : 'src/data/',
helpers : 'src/helpers/'
root : 'src/pages/',
layouts : 'src/layouts/',
partials : 'src/patterns/',
data : 'src/data/',
helpers : 'src/helpers/'
}))
.pipe(gulp.dest(PATHS.dist));
});
......
......@@ -50,7 +50,7 @@ gulp.task('patternlibrary:init', function (done) {
verbose : true,
dest : patternlibraryDestination,
basepath : '/pl',
partials : 'src/partials/'
partials : 'src/patterns/'
});
}
......
......@@ -35,7 +35,7 @@ function watch(done) {
gulp.watch('src/assets/img/**/*').on('change', gulp.series('images', browser.reload));
// watch partials and pages
gulp.watch('src/{layouts,partials}/**/*.html').on('change', gulp.series(
gulp.watch('src/{layouts,partials,patterns}/**/*.html').on('change', gulp.series(
'pages:refresh', 'pages',
browser.reload
));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment