Removed remains of the shop, removed Ko-Fi applet
This commit is contained in:
@@ -1,58 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@commercelayer/drop-in.js@1.0.0/dist/drop-in/drop-in.esm.js"></script>
|
||||
</head>
|
||||
|
||||
<body class="
|
||||
{{- if eq site.Params.defaultTheme `dark` -}}
|
||||
{{- print " dark" }}
|
||||
{{- end -}}
|
||||
" id="top">
|
||||
{{- partialCached "header.html" . .Page -}}
|
||||
<main class="main">
|
||||
|
||||
{{- block "main" . }}{{ end }}
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="hero">
|
||||
<img src="{{ .Params.image }}" alt="Product Image">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>Description of the product.</p>
|
||||
<button>Shop Now</button>
|
||||
</section>
|
||||
|
||||
<!-- Product Details Section -->
|
||||
<section class="product-details">
|
||||
<h2>Product Details</h2>
|
||||
<p>More detailed description of the product and its features.</p>
|
||||
<ul>
|
||||
<li>Specification 1: Value</li>
|
||||
<li>Specification 2: Value</li>
|
||||
<!-- Add more specifications as needed -->
|
||||
</ul>
|
||||
<p>Price: $XX.XX</p>
|
||||
<button>Add to Cart</button>
|
||||
</section>
|
||||
|
||||
<!-- Image Gallery Section -->
|
||||
<section class="image-gallery">
|
||||
<img src="{{ .Params.image }}" alt="Product Image 1">
|
||||
<img src="{{ .Params.image }}" alt="Product Image 2">
|
||||
<!-- Add more images as needed -->
|
||||
</section>
|
||||
|
||||
<!-- Related Products Section -->
|
||||
<section class="related-products">
|
||||
<h2>Related Products</h2>
|
||||
<!-- Display related products or accessories here -->
|
||||
</section>
|
||||
|
||||
</main>
|
||||
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@@ -1,97 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@commercelayer/drop-in.js@1.0.0/dist/drop-in/drop-in.esm.js"></script>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
|
||||
|
||||
<body class="
|
||||
{{- if eq site.Params.defaultTheme `dark` -}}
|
||||
{{- print " dark" }}
|
||||
{{- end -}}
|
||||
" id="top">
|
||||
{{- partialCached "header.html" . .Page -}}
|
||||
<main class="main">
|
||||
<script>
|
||||
(function() {
|
||||
window.commercelayerConfig = {
|
||||
clientId: 'sU2jXv9bJKNyj8Li6bumfgnrGJTrRKHFmkcdtHlmrss',
|
||||
slug: 'ahmza',
|
||||
scope: 'market:15657',
|
||||
returnUrl: 'https://commercelayer.io/blog/composable-commerce-with-micro-frontends'
|
||||
}
|
||||
}());
|
||||
</script>
|
||||
|
||||
<div class=shop-nav-div>
|
||||
<ul class=shop-nav>
|
||||
<li>
|
||||
<cl-identity-status type="guest">
|
||||
<cl-identity-link type="login" target="_parent">
|
||||
Login
|
||||
</cl-identity-link>
|
||||
</cl-identity-status>
|
||||
</li>
|
||||
<li>
|
||||
<cl-identity-status type="customer">
|
||||
<cl-identity-link type="login" target="_parent">
|
||||
Account
|
||||
</cl-identity-link>
|
||||
</cl-identity-status>
|
||||
</li>
|
||||
<li>
|
||||
<cl-cart-link>
|
||||
cart
|
||||
<cl-cart-count hide-when-empty="true"></cl-cart-count>
|
||||
<cl-cart></cl-cart>
|
||||
</cl-cart-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class=productList>
|
||||
{{ range ( where .Site.RegularPages "Type" "products" ) }}
|
||||
<div class=product>
|
||||
<a href="{{ .RelPermalink }}">
|
||||
<div class=prodImage>
|
||||
<img src="{{ .Params.image }}">
|
||||
</div>
|
||||
<div class=prodTitle>
|
||||
<h4>{{ .Title }}<h4>
|
||||
</div>
|
||||
</a>
|
||||
<div class=prodPrice>
|
||||
<cl-price code="{{ .Params.code }}">
|
||||
<cl-price-amount type="compare-at">.</cl-price-amount>
|
||||
<cl-price-amount type="price">.</cl-price-amount>
|
||||
</cl-price>
|
||||
</div>
|
||||
<div class=prodStock>
|
||||
<cl-availability code="{{ .Params.code }}">
|
||||
<cl-availability-status type="available">
|
||||
• in stock
|
||||
</cl-availability-status>
|
||||
<cl-availability-status type="unavailable">
|
||||
• out of stock
|
||||
</cl-availability-status>
|
||||
</cl-availability>
|
||||
</div>
|
||||
<div class=prodAddToCart>
|
||||
<cl-add-to-cart code="{{ .Params.code }}">
|
||||
Add to cart
|
||||
</cl-add-to-cart>
|
||||
</div>
|
||||
</div>
|
||||
{{ end }}
|
||||
</div>
|
||||
|
||||
</main>
|
||||
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
|
||||
@@ -1,9 +0,0 @@
|
||||
<script src='https://storage.ko-fi.com/cdn/scripts/overlay-widget.js'></script>
|
||||
<script>
|
||||
kofiWidgetOverlay.draw('ahmza', {
|
||||
'type': 'floating-chat',
|
||||
'floating-chat.donateButton.text': 'Tip',
|
||||
'floating-chat.donateButton.background-color': 'rgb(145, 70, 255)',
|
||||
'floating-chat.donateButton.text-color': '#fff'
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -1,109 +0,0 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="{{ site.Language }}" dir="{{ .Language.LanguageDirection | default "auto" }}">
|
||||
|
||||
<head>
|
||||
{{- partial "head.html" . }}
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<script type="module" src="https://cdn.jsdelivr.net/npm/@commercelayer/drop-in.js@1.0.0/dist/drop-in/drop-in.esm.js"></script>
|
||||
<link href="/css/minicart.css" rel="stylesheet" />
|
||||
<link href="/css/drop-in.css" rel="stylesheet" />
|
||||
<link href="/css/shop.css" rel="stylesheet" />
|
||||
<link href="/css/product.css" rel="stylesheet"/>
|
||||
</head>
|
||||
|
||||
<body class="
|
||||
{{- if eq site.Params.defaultTheme `dark` -}}
|
||||
{{- print " dark" }}
|
||||
{{- end -}}
|
||||
" id="top">
|
||||
{{- partialCached "header.html" . .Page -}}
|
||||
<main class="main">
|
||||
|
||||
<div class=shop-nav-div>
|
||||
<ul class=shop-nav>
|
||||
<li>
|
||||
<cl-identity-status type="guest">
|
||||
<cl-identity-link type="login" target="_parent">
|
||||
Login
|
||||
</cl-identity-link>
|
||||
</cl-identity-status>
|
||||
</li>
|
||||
<li>
|
||||
<cl-identity-status type="customer">
|
||||
<cl-identity-link type="login" target="_parent">
|
||||
Account
|
||||
</cl-identity-link>
|
||||
</cl-identity-status>
|
||||
</li>
|
||||
<li>
|
||||
<cl-cart-link>
|
||||
cart
|
||||
<cl-cart-count hide-when-empty="true"></cl-cart-count>
|
||||
<cl-cart></cl-cart>
|
||||
</cl-cart-link>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
(function() {
|
||||
window.commercelayerConfig = {
|
||||
clientId: 'sU2jXv9bJKNyj8Li6bumfgnrGJTrRKHFmkcdtHlmrss',
|
||||
slug: 'ahmza',
|
||||
scope: 'market:15657',
|
||||
returnUrl: 'https://commercelayer.io/blog/composable-commerce-with-micro-frontends'
|
||||
}
|
||||
}());
|
||||
</script>
|
||||
|
||||
<!-- Hero Section -->
|
||||
<section class="hero">
|
||||
<img src="{{ .Params.image }}" alt="Product Image">
|
||||
<h1>{{ .Title }}</h1>
|
||||
<p>{{ .Params.shortdesc }}</p>
|
||||
</section>
|
||||
|
||||
<!-- Product Details Section -->
|
||||
<section class="product-details">
|
||||
{{ .Content }}
|
||||
<div class=prodPrice>
|
||||
<cl-price code="{{ .Params.code }}">
|
||||
<cl-price-amount type="compare-at">.</cl-price-amount>
|
||||
<cl-price-amount type="price">.</cl-price-amount>
|
||||
</cl-price>
|
||||
</div>
|
||||
<div class=prodStock>
|
||||
<cl-availability code="{{ .Params.code }}">
|
||||
<cl-availability-status type="available">
|
||||
• in stock
|
||||
</cl-availability-status>
|
||||
<cl-availability-status type="unavailable">
|
||||
• out of stock
|
||||
</cl-availability-status>
|
||||
</cl-availability>
|
||||
</div>
|
||||
<div class=prodAddToCart>
|
||||
<cl-add-to-cart code="{{ .Params.code }}">
|
||||
Add to cart
|
||||
</cl-add-to-cart>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<!-- Related Products Section -->
|
||||
<section class="related-products">
|
||||
<h2>Related Products</h2>
|
||||
<!-- Display related products or accessories here -->
|
||||
</section>
|
||||
|
||||
<!-- Footer Section -->
|
||||
<footer class="shopping-links">
|
||||
<a href="/contact">contact</a>
|
||||
<a href="/shipping">shipping policy</a>
|
||||
<a href="/returns">returns policy</a>
|
||||
</footer>
|
||||
|
||||
</main>
|
||||
{{ partialCached "footer.html" . .Layout .Kind (.Param "hideFooter") (.Param "ShowCodeCopyButtons") -}}
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user