-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: added page for unvailable product
- Loading branch information
ichbinkaufmann
committed
Oct 27, 2023
1 parent
5d79237
commit fe10b1c
Showing
8 changed files
with
77 additions
and
137 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -1,10 +1,11 @@ | ||
<script setup> | ||
import ItemUnavailableVue from "./components/ItemUnavailable.vue"; | ||
import StoreCatalog from "./components/StoreCatalog.vue"; | ||
import SkeletonLoader from "./components/SkeletonLoader.vue"; | ||
import ItemUnavailable from "./components/ItemUnavailable.vue"; | ||
</script> | ||
|
||
<template> | ||
<SkeletonLoader /> | ||
<ItemUnavailable /> | ||
</template> | ||
|
||
<style scoped></style> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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,56 @@ | ||
:root { | ||
--navyBlue: #002772; | ||
--magentaPurple: #720060; | ||
--lightBlue: #d6e6ff; | ||
--lightPurple: #fde2ff; | ||
--black: #1e1e1e; | ||
--darkGray: #3f3f3f; | ||
--gray: #dcdcdc; | ||
--white: #ffffff; | ||
} | ||
|
||
.container { | ||
background-image: url("../bg-pattern.png"); | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
body { | ||
background: linear-gradient(to bottom, var(--gray) 70%, var(--white) 30%); | ||
} | ||
|
||
.card { | ||
width: 1550px; | ||
margin: 0 auto; | ||
background-color: white; | ||
box-shadow: 0px 0px 1px 1px rgba(0, 0, 0, 0.25); | ||
border-radius: 9px; | ||
height: 70%; | ||
display: flex; | ||
background-image: url("../sad-face.png"); | ||
background-repeat: no-repeat; | ||
background-size: contain; | ||
background-position: center; | ||
display: inline-block; | ||
position: relative; | ||
} | ||
|
||
.btn-unavailable { | ||
width: 500px; | ||
height: 36px; | ||
background-color: var(--white); | ||
color: va(--black); | ||
font-weight: 600; | ||
} | ||
.unavailable-message { | ||
color: va(--black); | ||
font-weight: 480; | ||
} | ||
|
||
.row-unavailable { | ||
position: absolute; | ||
left: 33%; | ||
top: 50%; | ||
text-align: center; | ||
justify-content: center; | ||
} |
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,16 @@ | ||
<template> | ||
<div class="container"> | ||
<div class="card"> | ||
<div class="row-unavailable"> | ||
<h2 class="unavailable-message">This product is unavailable to show</h2> | ||
<button class="btn-unavailable">Next Product</button> | ||
</div> | ||
</div> | ||
</div> | ||
</template> | ||
|
||
<script></script> | ||
|
||
<style> | ||
@import url("../assets/style/unavailable.css"); | ||
</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
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