-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(theme): Add footer for bottom part of our page (#200)
* feat(theme): Use SfFotter component for bottom part of our page
- Loading branch information
Showing
2 changed files
with
42 additions
and
1 deletion.
There are no files selected for viewing
37 changes: 37 additions & 0 deletions
37
packages/default-theme/components/cms/elements/SwFooter.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<template> | ||
<div class="sw-footer"> | ||
<slot class="sw-footer__content" name="content" v-bind="column"> | ||
<SfFooter :column="column" :multiple="true"> | ||
<div class="content sw-footer__signature">from Vue Storefront with ❤️ </div> | ||
</SfFooter> | ||
</slot> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import { SfFooter } from '@storefront-ui/vue' | ||
export default { | ||
components: { | ||
SfFooter | ||
}, | ||
name: 'SwFooter', | ||
props: { | ||
column: { | ||
type: Number, | ||
default: 4 | ||
} | ||
} | ||
} | ||
</script> | ||
|
||
<style lang="scss"> | ||
@import "~@storefront-ui/vue/styles.scss"; | ||
.sw-footer{ | ||
&__signature { | ||
width: 100%; | ||
text-align: center; | ||
} | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
64df9ec
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Deploy preview for website ready!
Built with commit a05dfbd
https://shopware-pwa-ppv0mglfl.now.sh