Skip to content

Commit 0fa970d

Browse files
committed
UPDATE: Footer, Mixin in pages
1 parent 090e7ac commit 0fa970d

File tree

7 files changed

+2
-18
lines changed

7 files changed

+2
-18
lines changed

src/assets/styles/components/_footer.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
position: fixed;
66
bottom: 0;
77
right: 0;
8-
width: 210px;
8+
width: 320px;
99
padding: 10px;
1010
border-top-left-radius: 5px;
1111
text-align: center;

src/views/components/footer.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
//- src/views/components/footer.pug
22
33
footer.footer
4-
p By #[a(href='https://edgardorl.com') Edgardo], Repo #[a(href='https://github.com/SoldierCorp/webpack-starter-pug-sass-es6-jquery') GitHub]
4+
p By #[a(href='https://edgardorl.com') Edgardo], Repo #[a(href='https://github.com/SoldierCorp/webpack-starter-pug-sass-es6-jquery') GitHub], Support 🧡 #[a(href='https://github.com/sponsors/SoldierCorp') Donate]

src/views/index.pug

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
extends ./layouts/master.pug
22

3-
include ./mixins/support.pug
4-
53
block title
64
title My Page - Home
75

@@ -17,4 +15,3 @@ block content
1715
//- Desktop page
1816
section.page.home__page
1917
h1.page__title # Index page
20-
+support()

src/views/mixins/support.pug

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,2 @@
11
mixin support()
22
p Thank you for your support 🧡
3-
p
4-
a(href="https://www.buymeacoffee.com/edgardo" target="_blank")
5-
img(src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;")

src/views/pages/blog.pug

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
extends ../layouts/master.pug
22

3-
include ../mixins/support.pug
4-
53
block title
64
title My Page - Blog
75

@@ -22,6 +20,4 @@ block content
2220
//- Desktop page
2321
section.page.blog__page
2422
h1.page__title # Blog page
25-
+support()
26-
2723

src/views/pages/blog/example-post.pug

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
extends ../../layouts/master.pug
22

3-
include ../../mixins/support.pug
4-
53
block title
64
title My Page - Blog post
75

@@ -22,4 +20,3 @@ block content
2220
//- Desktop page
2321
section.page.blogpost__page
2422
h1.page__title # Blog post page
25-
+support()

src/views/pages/contact.pug

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
extends ../layouts/master.pug
22

3-
include ../mixins/support.pug
4-
53
block title
64
title My Page - Contact
75

@@ -22,4 +20,3 @@ block content
2220
//- Desktop page
2321
section.page.contact__page
2422
h1.page__title # Contact page
25-
+support()

0 commit comments

Comments
 (0)