diff --git a/assets/scss/custom.scss b/assets/scss/custom.scss old mode 100755 new mode 100644 index 9c3d5f7..39baf1e --- a/assets/scss/custom.scss +++ b/assets/scss/custom.scss @@ -19,12 +19,10 @@ $icon-red: #f0384d; $icon-yellow: #fcc958; // Pattern -// hugo needs to precompile images in public dir, and make it automatically with images called from content. -// here we need to use it in css, then need to generate it, calling it first from a content md file. @mixin add-bg-pattern($id) { background-repeat: repeat; background-position: top center; - background-image: url('../images/bg/pattern-#{$id}.png'); + background-image: url('/images/bg/pattern-#{$id}.png'); } // Sections bg transitions @@ -35,7 +33,7 @@ $icon-yellow: #fcc958; position: absolute; width: 100%; height: 100%; - background-image: url('../images/svg/curve-#{$id}.svg'); + background-image: url('/images/svg/curve-#{$id}.svg'); background-size: contain; background-position: $pos center; background-repeat: no-repeat; diff --git a/assets/images/bg/pattern-1.png b/static/images/bg/pattern-1.png similarity index 100% rename from assets/images/bg/pattern-1.png rename to static/images/bg/pattern-1.png diff --git a/assets/images/svg/curve-1.svg b/static/images/svg/curve-1.svg similarity index 100% rename from assets/images/svg/curve-1.svg rename to static/images/svg/curve-1.svg diff --git a/assets/images/svg/curve-2.svg b/static/images/svg/curve-2.svg similarity index 100% rename from assets/images/svg/curve-2.svg rename to static/images/svg/curve-2.svg diff --git a/assets/images/svg/curve-3.svg b/static/images/svg/curve-3.svg similarity index 100% rename from assets/images/svg/curve-3.svg rename to static/images/svg/curve-3.svg diff --git a/assets/images/svg/curve-4.svg b/static/images/svg/curve-4.svg similarity index 100% rename from assets/images/svg/curve-4.svg rename to static/images/svg/curve-4.svg