-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5307 from justyna-13/designs-part2-home
Designs part2 - homepage
- Loading branch information
Showing
33 changed files
with
280 additions
and
139 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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
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
79 changes: 79 additions & 0 deletions
79
packages/core/nuxt-theme-module/theme/components/MobileStoreBanner.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,79 @@ | ||
<template> | ||
<SfBanner | ||
image="/homepage/bannerD.png" | ||
subtitle="Fashon to take away" | ||
title="Download our application to your mobile" | ||
class="sf-banner--left desktop-only banner-app" | ||
> | ||
<template #call-to-action> | ||
<div class="banner-app__call-to-action"> | ||
<SfButton | ||
class="banner-app__button sf-button--pure" | ||
aria-label="Go to Apple Product" | ||
@click="() => {}" | ||
> | ||
<SfImage | ||
src="/homepage/apple.png" | ||
/> | ||
</SfButton> | ||
<SfButton | ||
class="banner-app__button sf-button--pure" | ||
aria-label="Go to Google Product" | ||
@click="() => {}" | ||
> | ||
<SfImage | ||
src="/homepage/google.png" | ||
/> | ||
</SfButton> | ||
</div> | ||
</template> | ||
</SfBanner> | ||
</template> | ||
<script> | ||
import { | ||
SfBanner, | ||
SfImage, | ||
SfButton | ||
} from '@storefront-ui/vue'; | ||
export default { | ||
name: 'AppStoreBanner', | ||
components: { | ||
SfBanner, | ||
SfImage, | ||
SfButton | ||
} | ||
}; | ||
</script> | ||
<style lang="scss" scoped> | ||
.banner-app { | ||
--banner-title-margin: var(--spacer-base) 0 var(--spacer-xl) 0; | ||
--banner-padding: 0 0 var(--spacer-2xl); | ||
--banner-title-font-size: var(--h1-font-size); | ||
--banner-subtitle-font-size: var(--font-size--xl); | ||
--banner-title-font-weight: var(--font-weight--semibold); | ||
--banner-subtitle-font-weight: var(--font-weight--medium); | ||
--banner-title-text-transform: capitalize; | ||
--banner-title-text-transform: none; | ||
--banner-background-size: contain; | ||
--banner-background-position: right; | ||
display: block; | ||
min-height: 26.25rem; | ||
max-width: 77.5rem; | ||
margin: 0 auto; | ||
padding: 5.625rem 31.25rem 0 5.625rem; | ||
&__call-to-action { | ||
display: flex; | ||
flex-wrap: nowrap; | ||
} | ||
&__button { | ||
--image-width: 10.875rem; | ||
--image-height: 3.5625rem; | ||
pointer-events: visible; | ||
& + & { | ||
margin: 0 0 0 var(--spacer-base); | ||
} | ||
} | ||
} | ||
</style> |
Oops, something went wrong.