diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 6865075..8a3fcf9 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -7,7 +7,7 @@ variables: # Major - Shouldn't change often, Big changes to the site # Minor - starts from 0 when Major is incremented +1 for each version that goes public # Release - For each time a development milestone is reached - VERSION: 1.2.6 + VERSION: 1.2.7 BUILD: 1 # If set to 0 gitlab will not build the image IMAGE_TAG: $CI_REGISTRY_IMAGE:$VERSION diff --git a/assets/css/extended/drop-in.css b/assets/css/extended/drop-in.css deleted file mode 100644 index 0e69398..0000000 --- a/assets/css/extended/drop-in.css +++ /dev/null @@ -1,83 +0,0 @@ -:root{ - --cl-color-primary: var(--tertiary); - --cl-color-white: var(--content); -} - -cl-availability-status[aria-disabled=true],cl-identity-status[aria-disabled=true]{ - display:none -} - -cl-price-amount{ - color: var(--purple); - font-size:1em; - font-weight:600; - line-height:1.5em -} - -cl-price-amount[type=compare-at]{ - color: var(--content); - font-size:.875em; - font-weight:300; - line-height:1.25em; - text-decoration:line-through -} - -cl-price-amount[type=compare-at]::part(strikethrough){ - text-decoration:none -} - -cl-add-to-cart{ - display:inline-block; - background-image:none; - border:none; - font-weight:600; - color:var(--cl-color-white); - padding:.75rem 1rem .75rem 1rem; - border-radius: var(--radius); - background-color: var(--cl-color-primary); - cursor:default; - position: relative; - bottom: 0; -} - -cl-add-to-cart:not([aria-disabled=true]){ - background-color:var(--cl-color-primary); - cursor:pointer; -} - -cl-cart-link,.cl-cart-link{ - position:relative; - display:inline-block; - cursor:pointer; -} - -cl-cart-link cl-cart-count,.cl-cart-link cl-cart-count{ - position:absolute; - bottom:0; - right:0; - font-size:.5rem; - border-radius:50%; - background-color:var(--cl-color-primary); - min-width:1rem; - height:1rem; - display:flex; - align-items:center; - justify-content:center; - color:var(--cl-color-white); - transform:translate(120%, 0%); - padding:.2rem; -} - -cl-cart-link cl-cart-count[hide-when-empty=""],cl-cart-link cl-cart-count[hide-when-empty=true],.cl-cart-link cl-cart-count[hide-when-empty=""],.cl-cart-link cl-cart-count[hide-when-empty=true]{ - opacity:0 -} - -cl-cart-link cl-cart-count[quantity],.cl-cart-link cl-cart-count[quantity]{ - transition:opacity .3s;opacity:1 -} - -cl-cart-link svg~cl-cart-count,.cl-cart-link svg~cl-cart-count{ - bottom:0%; - right:0%; - transform:translate(30%, 0%); -} diff --git a/assets/css/extended/minicart.css b/assets/css/extended/minicart.css deleted file mode 100644 index 11fef35..0000000 --- a/assets/css/extended/minicart.css +++ /dev/null @@ -1,69 +0,0 @@ -cl-cart[type=mini]{ - --cl-cart-mini-backdrop-bg: #000; - --cl-cart-mini-backdrop-opacity: 0.4; - --cl-cart-mini-backdrop-shadow: -1px 0px 10px rgba(0, 0, 0, .3); - --cl-cart-mini-modal-z-index: 100; - --cl-cart-mini-modal-bg: #fff; - --cl-cart-mini-modal-width: 400px; - --cl-cart-mini-modal-max-width: calc(100vw - 40px); - --cl-cart-mini-transition-duration: .3s; - --cl-cart-mini-transition-timing-function: ease-in-out; - display:flex; - cursor:auto; - position:fixed; - z-index:var(--cl-cart-mini-modal-z-index); - top:0; - width:var(--cl-cart-mini-modal-width); - max-width:var(--cl-cart-mini-modal-max-width); - height:100%; - pointer-events:none; - box-sizing:border-box; - box-shadow:none; - transition:box-shadow var(--cl-cart-mini-transition-duration) var(--cl-cart-mini-transition-timing-function) -} - -cl-cart[type=mini]::before,cl-cart[type=mini]::after{ - position:fixed; - content:" "; - opacity:0; - width:100%; - height:100%; - top:0; - right:0; - z-index:-1; - transition:opacity var(--cl-cart-mini-transition-duration) var(--cl-cart-mini-transition-timing-function) -} - -cl-cart[type=mini]::before{ - background:var(--cl-cart-mini-backdrop-bg) -} - -cl-cart[type=mini]::after{ - position:fixed; - width:var(--cl-cart-mini-modal-width); - max-width:var(--cl-cart-mini-modal-max-width); - box-shadow:var(--cl-cart-mini-backdrop-shadow) -} - -cl-cart[type=mini],cl-cart[type=mini]::after{ - right:calc(var(--cl-cart-mini-modal-width)*-1 + 0px); - transition:right var(--cl-cart-mini-transition-duration) var(--cl-cart-mini-transition-timing-function),opacity var(--cl-cart-mini-transition-duration) var(--cl-cart-mini-transition-timing-function) -} - -cl-cart[type=mini][open]:not([open=false]){ - right:0; - pointer-events:initial -} - -cl-cart[type=mini][open]:not([open=false])::before{ - opacity:var(--cl-cart-mini-backdrop-opacity) -} - -cl-cart[type=mini][open]:not([open=false])::after{ - right:0; - opacity:1 -} - -body.cl-cart--open{ - overflow:hidden -} diff --git a/assets/css/extended/product.css b/assets/css/extended/product.css deleted file mode 100644 index a88b39d..0000000 --- a/assets/css/extended/product.css +++ /dev/null @@ -1,38 +0,0 @@ -.hero { - text-align: center; - padding: 50px; -} - -.hero img { - max-width: 100%; - height: auto; - border-radius: 8px; -} - -.product-details { - background-color: #333; - padding: 20px; - margin-top: 20px; -} - -.prodStock { - padding: 20px 0 20px 0; -} - -.related-products { - background-color: #333; - padding: 20px; - margin-top: 20px; -} - -.shopping-links { - text-align: center; -} - -.shopping-links a { - color: var(--secondary); - text-decoration: underline; - display: inline-block; - padding: 20px; - font-size: 14px; -} diff --git a/assets/css/extended/shop.css b/assets/css/extended/shop.css deleted file mode 100644 index 7c82132..0000000 --- a/assets/css/extended/shop.css +++ /dev/null @@ -1,68 +0,0 @@ -.productList { - display: inline-grid; - grid-template-columns: auto auto auto; - grid-auto-rows: 400px; - grid-gap: 30px 10px; - margin-top: 10px; -} -.product { - display: flex; - flex-direction: column; - justify-content: space-between; - background-color: var(--entry); - border: 1px solid var(--border); - border-radius: var(--radius); - text-align: center; - padding: var(--gap); -} -img{ - margin-left: auto; - margin-right: auto; -} -.prodImage { - display:block; - width: 100%; - height: auto; - max-height: 100%; - border-radius: var(--radius); - overflow-clip-margin: content-box; - overflow: clip; - padding-bottom: 10px -} -.prodStock { - color: var(--green); -} -.shop-nav { - list-style-type: none; - display: flex; - flex-wrap: wrap; - justify-content: flex-start; - max-width: calc(var(--nav-width) + var(--gap) * 2); - margin-inline-start: auto; - margin-inline-end: auto; -} -.shop-nav li { - padding-right:10px; - font-size: 16px; -} - -@media only screen and (min-width: 608px) { - .productList { - grid-template-columns: auto auto auto; - } -} - -@media only screen and (min-width: 609px) { - .productList { - grid-template-columns: auto auto auto auto; - } - .shop-nav { - justify-content: flex-end - } -} - -@media only screen and (min-width: 992px) { - .productList { - grid-template-columns: auto auto auto auto auto; - } -} diff --git a/config.yml b/config.yml index 53c82e4..92a07cb 100644 --- a/config.yml +++ b/config.yml @@ -75,8 +75,6 @@ params: buttons: - name: posts url: posts - - name: shop - url: https://shop.ahmza.com - name: archive url: archive @@ -130,10 +128,6 @@ menu: name: tags url: /tags/ weight: 20 - - identifier: shop - name: shop - url: https://shop.ahmza.com - weight: 30 - identifier: contact name: contact url: /contact/ diff --git a/content/shop.md b/content/shop.md deleted file mode 100644 index c78ccf7..0000000 --- a/content/shop.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -layout: shop -title: "Shop" -date: 2023-11-11T03:00:04Z -draft: false ---- diff --git a/layouts/page/products.html b/layouts/page/products.html deleted file mode 100644 index c6ddf7b..0000000 --- a/layouts/page/products.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - {{- partial "head.html" . }} - - - - - - {{- partialCached "header.html" . .Page -}} -
- - {{- block "main" . }}{{ end }} - - -
- Product Image -

{{ .Title }}

-

Description of the product.

- -
- - -
-

Product Details

-

More detailed description of the product and its features.

- -

Price: $XX.XX

- -
- - - - - - - -
- {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} - - - diff --git a/layouts/page/shop.html b/layouts/page/shop.html deleted file mode 100644 index f1c8c2f..0000000 --- a/layouts/page/shop.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - {{- partial "head.html" . }} - - - - - - - {{- partialCached "header.html" . .Page -}} -
- - -
- -
- -
- {{ range ( where .Site.RegularPages "Type" "products" ) }} -
- -
- -
-
-

{{ .Title }}

-

-
-
- - . - . - -
-
- - - • in stock - - - • out of stock - - -
-
- - Add to cart - -
-
- {{ end }} -
- -
- {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} - - - - - diff --git a/layouts/partials/extend_footer.html b/layouts/partials/extend_footer.html index 6991c82..e69de29 100644 --- a/layouts/partials/extend_footer.html +++ b/layouts/partials/extend_footer.html @@ -1,9 +0,0 @@ - - diff --git a/layouts/products/products.html b/layouts/products/products.html deleted file mode 100644 index 72dc97c..0000000 --- a/layouts/products/products.html +++ /dev/null @@ -1,109 +0,0 @@ - - - - - {{- partial "head.html" . }} - - - - - - - - - - {{- partialCached "header.html" . .Page -}} -
- -
- -
- - - - -
- Product Image -

{{ .Title }}

-

{{ .Params.shortdesc }}

-
- - -
- {{ .Content }} -
- - . - . - -
-
- - - • in stock - - - • out of stock - - -
-
- - Add to cart - -
-
- - - - - - - -
- {{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}} - - - diff --git a/static/img/products/SkullstacheHolographicSticker.png b/static/img/products/SkullstacheHolographicSticker.png deleted file mode 100644 index d5c3e8b..0000000 Binary files a/static/img/products/SkullstacheHolographicSticker.png and /dev/null differ