Compare commits

...

171 Commits

Author SHA1 Message Date
giles b9bb7399a4 deployed 2024-11-12 22:05:57 +00:00
giles a90e248af2 deployed 2024-11-12 22:03:36 +00:00
giles b3324076a3 deployed 2024-11-11 12:10:15 +00:00
giles b0cb6fe8b2 deployed 2024-11-11 09:32:19 +00:00
giles 69ba19779e deployed 2024-11-10 21:04:26 +00:00
giles df34463774 deployed 2024-11-10 14:30:09 +00:00
giles 525a6f474e deployed 2024-11-05 19:49:08 +00:00
giles 20b5dd51ca deployed 2024-11-05 19:20:35 +00:00
giles 1fe1a82abe deployed 2024-11-05 19:07:39 +00:00
giles 3ae5459e58 deployed 2024-11-05 18:50:16 +00:00
giles 807408a142 deployed 2024-11-05 18:45:12 +00:00
giles 804c9c5db0 deployed 2024-11-04 22:47:07 +00:00
giles bf14ef5af8 deployed 2024-11-04 22:31:30 +00:00
giles 8648957de8 deployed 2024-11-04 22:14:54 +00:00
giles 3b882cdd71 deployed 2024-11-04 22:10:45 +00:00
giles 1f58aecbdb deployed 2024-11-04 17:53:36 +00:00
giles 7cbfbc5255 deployed 2024-11-04 17:27:18 +00:00
giles b959cf5e42 deployed 2024-11-04 17:21:31 +00:00
giles ccab445ea5 deployed 2024-11-04 17:17:33 +00:00
giles 21ed94a7db deployed 2024-11-04 17:04:13 +00:00
giles 8da683ee3f deployed 2024-11-04 17:01:39 +00:00
giles 214b1ad9c1 deployed 2024-11-04 16:58:56 +00:00
giles 1d9c094bc9 deployed 2024-11-04 16:56:14 +00:00
giles 7f2616f784 deployed 2024-11-04 16:44:43 +00:00
giles b5b3b05abc deployed 2024-10-25 17:03:35 +01:00
giles 263a14fccc deployed 2024-10-25 14:56:31 +01:00
giles 11109f4d57 deployed 2024-10-25 00:14:35 +01:00
giles e34a149657 deployed 2024-10-24 23:37:06 +01:00
giles fe67ee5bd8 deployed 2024-10-24 23:26:17 +01:00
giles 5cccdfced7 deployed 2024-10-24 23:08:16 +01:00
giles 15ca7d5194 deployed 2024-10-24 19:47:49 +01:00
giles 4d5a1b2154 deployed 2024-10-24 19:44:03 +01:00
giles 31bdef900f deployed 2024-10-24 19:33:22 +01:00
giles cc60a93933 deployed 2024-10-23 12:10:30 +01:00
giles 7ba2c79544 deployed 2024-10-23 12:04:49 +01:00
giles 76e8f59fdc deployed 2024-10-19 08:21:51 +01:00
giles f3977a8601 deployed 2024-10-18 01:04:42 +01:00
giles ef53804dea deployed 2024-10-17 16:46:47 +01:00
giles 181e6fc6cd deployed 2024-10-17 03:14:08 +01:00
giles c595cf8560 deployed 2024-10-17 03:09:23 +01:00
giles 88090e19cf deployed 2024-10-14 09:34:51 +01:00
giles bb6007b867 deployed 2024-10-13 15:14:13 +01:00
giles aded426ca5 deployed 2024-10-13 15:11:03 +01:00
giles b18849a2c2 deployed 2024-10-10 01:11:14 +01:00
giles a9539e10ee deployed 2024-10-09 00:02:19 +01:00
giles 6a24c27354 deployed 2024-10-08 07:54:38 +01:00
giles c6c1562168 deployed 2024-10-07 12:27:29 +01:00
giles 7df4f67f3e deployed 2024-10-07 12:14:19 +01:00
giles fe80a323d0 deployed 2024-10-07 08:49:07 +01:00
giles 806635bf1f deployed 2024-10-06 19:46:23 +01:00
giles d67245d514 deployed 2024-10-06 15:53:07 +01:00
giles 2839ee1884 deployed 2024-10-05 16:23:26 +01:00
giles 61aa006914 deployed 2024-10-05 16:21:37 +01:00
giles c0e4285d9d deployed 2024-10-05 16:15:16 +01:00
giles 7eb44c4391 deployed 2024-10-05 07:44:42 +01:00
giles 6c492562ae deployed 2024-10-05 07:43:13 +01:00
giles 7dbad9305e deployed 2024-10-05 07:40:35 +01:00
giles f8f0a28d61 deployed 2024-10-05 07:38:22 +01:00
giles 5f9ed6917b deployed 2024-10-05 07:36:43 +01:00
giles acd77867df deployed 2024-10-05 07:28:23 +01:00
giles 041a238c76 deployed 2024-10-05 07:27:52 +01:00
giles 3502613f41 deployed 2024-10-05 07:27:14 +01:00
giles eb70e4b699 deployed 2024-10-05 07:25:13 +01:00
giles 2887cbb646 deployed 2024-10-05 07:24:24 +01:00
giles 5b90ee3c73 deployed 2024-10-05 07:21:54 +01:00
giles ba0c7c8e7e deployed 2024-10-05 07:18:20 +01:00
giles bf2597ac5a deployed 2024-10-05 07:15:51 +01:00
giles 9a48a0290c deployed 2024-10-05 07:12:45 +01:00
giles a3ed6b95ab deployed 2024-10-04 18:20:20 +01:00
giles 7d2945e0e9 deployed 2024-10-04 18:11:19 +01:00
giles 4ead854059 deployed 2024-10-04 18:10:26 +01:00
giles d32cacb858 . 2024-10-04 18:07:21 +01:00
giles 79df56c747 . 2024-10-04 14:06:51 +01:00
giles 1e5fb41b49 . 2024-10-04 13:51:06 +01:00
giles 78f4bb4838 . 2024-10-04 13:42:18 +01:00
giles 01f436c09d .. 2024-10-03 23:11:53 +01:00
giles d9278f2f73 .. 2024-10-03 22:55:15 +01:00
giles 591468e5ee .. 2024-10-03 22:53:39 +01:00
giles ef87a2d1fa .. 2024-10-03 22:29:17 +01:00
giles 03dd02deb3 hbs 2024-10-03 14:26:30 +01:00
giles 701a93f72f . 2024-10-03 14:21:37 +01:00
giles 73286d67c0 . 2024-10-03 14:10:54 +01:00
giles f639819cef hbs 2024-10-02 21:43:24 +01:00
giles 50c010481a hbs 2024-10-02 21:13:20 +01:00
giles 3b79eb8cdb hbs 2024-10-02 20:18:15 +01:00
giles ee61190ad7 hbs 2024-10-01 22:08:42 +01:00
giles 2ceb958416 hbs 2024-10-01 19:24:38 +01:00
giles d3ad11649d hbs 2024-10-01 19:07:11 +01:00
giles f9327f3c04 hbs 2024-10-01 13:49:35 +01:00
giles 1835ee12ba .. 2024-09-30 22:20:17 +01:00
giles c2f1ca6997 hbs 2024-09-30 11:41:24 +01:00
giles e21995330a hbs 2024-09-29 10:08:19 +01:00
giles 48b8acef55 hbs 2024-09-29 10:06:45 +01:00
giles 30d7876785 hbs 2024-09-29 10:03:56 +01:00
giles 4d72fafce1 hbs 2024-09-29 10:00:36 +01:00
giles eacc8a8911 hbs 2024-09-28 01:40:39 +01:00
giles 82172bbb1f hbs 2024-09-28 01:36:27 +01:00
giles 506a095fc2 hbs 2024-09-28 00:21:27 +01:00
giles 2db9a186b4 hbs 2024-09-27 23:41:14 +01:00
giles 018e9301ef hbs 2024-09-27 23:38:08 +01:00
giles fa0f62e221 hbs 2024-09-27 15:18:16 +01:00
giles 2249e31a1b hbs 2024-09-27 15:14:35 +01:00
giles 7cf62d5624 hbs 2024-09-27 15:11:26 +01:00
giles b0486c3afc hbs 2024-09-27 14:21:04 +01:00
giles 5e53446ced hbs 2024-09-27 13:52:45 +01:00
giles b3af891c54 hbs 2024-09-27 13:51:10 +01:00
giles 7211d1d1e9 hbs 2024-09-26 21:39:09 +01:00
giles 4fbf65d2a0 hbs 2024-09-26 20:39:30 +01:00
giles 698b8837de hbs 2024-09-26 20:31:58 +01:00
giles 025204d5fe hbs 2024-09-26 20:17:11 +01:00
giles 3a4780915d hbs 2024-09-26 19:44:56 +01:00
giles 72aee58d4e hbs 2024-09-25 22:44:32 +01:00
giles a60d350432 hbs 2024-09-25 22:38:42 +01:00
giles b78200d5a9 hbs 2024-09-25 22:35:48 +01:00
giles ae6d1c1b3f hbs 2024-09-25 17:17:11 +01:00
giles e235a89da6 hbs 2024-09-25 04:09:38 +01:00
giles 9e5652deda hbs 2024-09-25 04:07:39 +01:00
giles 24a913ee94 hbs 2024-09-24 19:15:12 +01:00
giles 4a15dca1df hbs 2024-09-24 16:53:50 +01:00
giles 1097a3eed6 hbs 2024-09-24 16:51:21 +01:00
giles d077414306 hbs 2024-09-24 11:04:57 +01:00
giles d2ecd20395 hbs 2024-09-24 11:00:34 +01:00
giles 9ac17c5cb1 hbs 2024-09-24 10:57:19 +01:00
giles 73a3db7b0c hbs 2024-09-24 10:44:26 +01:00
giles 39c4a92f20 hbs 2024-09-24 02:38:37 +01:00
giles de022b4560 hbs 2024-09-23 18:57:37 +01:00
giles c5425f46c5 hbs 2024-09-23 09:53:24 +01:00
giles 942068951d hbs 2024-09-23 09:29:37 +01:00
giles 86ab5cd95e hbs 2024-09-23 09:23:05 +01:00
giles b6bae4c8c3 hbs 2024-09-23 09:19:17 +01:00
giles 1db59590de hbs 2024-09-23 09:17:10 +01:00
giles 6cc7e3d7e1 hbs 2024-09-23 09:07:31 +01:00
giles afd0b33a4c hbs 2024-09-22 13:33:37 +01:00
giles 54140076fb try-ws 2024-09-21 09:46:47 +01:00
giles d8358ab1c6 try-ws 2024-09-21 09:20:45 +01:00
giles b1868d0e9d try-ws 2024-09-21 09:16:56 +01:00
giles 0e9e74321f spinner 2024-09-19 12:23:12 +01:00
giles c97f913044 .. 2024-09-17 23:49:20 +01:00
giles 84cedc1a00 enabled 2024-09-17 23:29:07 +01:00
giles d1eca05064 enabled 2024-09-16 22:00:53 +01:00
giles 5d3b2faf4c enabled 2024-09-16 21:43:37 +01:00
giles 7aa7cc85e9 enabled 2024-09-16 21:41:13 +01:00
giles 1addbfad9d enabled 2024-09-16 21:14:01 +01:00
giles e07aec9b6e disabled 2024-09-16 14:09:47 +01:00
giles 2248ee4586 disabled 2024-09-16 14:01:26 +01:00
giles 619f460424 disabled 2024-09-16 13:56:47 +01:00
giles 980dfea442 . 2024-09-16 13:18:35 +01:00
giles 27167dcff6 .. 2024-09-16 12:02:26 +01:00
giles 5f8c1a187e .. 2024-09-16 12:00:27 +01:00
giles cf4e7082e1 .. 2024-09-16 11:57:55 +01:00
giles 6544351855 .. 2024-09-16 11:47:45 +01:00
giles a462cbb0c6 .. 2024-09-16 11:45:25 +01:00
giles bd6812e493 .. 2024-09-16 11:42:18 +01:00
giles d83c4ca8fa .. 2024-09-16 11:37:14 +01:00
giles 16d17453a5 .. 2024-09-16 11:31:43 +01:00
giles 1ddde70236 .. 2024-09-16 11:22:20 +01:00
giles 9b3f33311f ordered 2024-09-16 11:14:21 +01:00
giles 637741222f .. 2024-09-16 10:13:27 +01:00
giles bb03afab5b .. 2024-09-15 23:06:36 +01:00
giles a1ebc4b207 .. 2024-09-15 23:04:53 +01:00
giles 8487b210a8 try span 2024-09-15 21:38:51 +01:00
giles 5eaa5979b7 try span 2024-09-15 21:38:03 +01:00
giles ccb8cf6685 try span 2024-09-15 21:09:39 +01:00
giles e700e68aa5 try span 2024-09-15 21:07:18 +01:00
giles b751f439c2 try span 2024-09-15 21:06:01 +01:00
giles 683613f723 min-height 2024-09-15 20:58:54 +01:00
giles 4d46ebf9d7 orders total 2024-09-15 20:49:41 +01:00
giles c044686621 trigger 2024-09-15 20:23:45 +01:00
giles 42f7e8ea6b position 2024-09-15 20:12:59 +01:00
giles 309473bf2a orders view 2024-09-15 20:03:58 +01:00
giles b188397c9f wip 2024-09-15 18:55:17 +00:00
18 changed files with 3661 additions and 16 deletions

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
node_modules

3400
assets/built/portal.min.js vendored Normal file

File diff suppressed because one or more lines are too long

56
assets/built/sodo-search.min.js vendored Normal file

File diff suppressed because one or more lines are too long

View File

@ -1,5 +1,4 @@
{{!< default}} {{!< default}}
<main class="site-main"> <main class="site-main">
{{#post}} {{#post}}

View File

@ -1,5 +1,4 @@
{{!< default}} {{!< default}}
<main class="site-main"> <main class="site-main">
{{#post}} {{#post}}

View File

@ -1,5 +1,4 @@
{{!< default}} {{!< default}}
<main class="site-main"> <main class="site-main">
{{#post}} {{#post}}

View File

@ -5,10 +5,34 @@
<meta charset="utf-8"> <meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">
<title>{{meta_title}}</title> <title>{{meta_title}}</title>
{{> "shop/style"}}
{{> "shop/scripts"}}
<link rel="stylesheet" href="{{asset "built/screen.css"}}"> <link rel="stylesheet" href="{{asset "built/screen.css"}}">
<!--ghost-head-start-->
{{ghost_head}} {{ghost_head}}
<!--ghost-head-end-->
<style>
.share-block {
margin-top: 8rem;
text-align: center;
}
.share-block span {
display: inline-block;
font-weight: bold;
margin-right: 1rem;
font-size: 2rem;
}
.share-block a {
display: inline-block;
transition: all 0.3s;
margin: 0 0.25rem;
}
.share-block a:hover {
transform: scale(1.1);
}
</style>
</head> </head>
<body class="{{body_class}}{{{block "body_class"}}} is-head-{{#match @custom.navigation_layout "Logo on the left"}}left-logo{{else match @custom.navigation_layout "Logo in the middle"}}middle-logo{{else}}stacked{{/match}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}{{^is "home"}}{{#if @site.cover_image}} is-head-brand{{/if}}{{/is}}"> <body class="{{body_class}}{{{block "body_class"}}} is-head-{{#match @custom.navigation_layout "Logo on the left"}}left-logo{{else match @custom.navigation_layout "Logo in the middle"}}middle-logo{{else}}stacked{{/match}}{{#match @custom.title_font "=" "Elegant serif"}} has-serif-title{{/match}}{{#match @custom.body_font "=" "Elegant serif"}} has-serif-body{{/match}}{{^is "home"}}{{#if @site.cover_image}} is-head-brand{{/if}}{{/is}}">

4
deploy-me.sh Normal file
View File

@ -0,0 +1,4 @@
git add -A
git commit -m 'deployed'
git push origin HEAD
ssh root@rose-ash.com -t 'cd web-site/themes/edition && git checkout shop-fix-3 && git pull && cd ../.. && . ./.env && docker service scale rose-ash_ghost=0 && docker service scale rose-ash_ghost=1'

1
head.hbs Normal file
View File

@ -0,0 +1 @@
{{ghost_head}}

View File

@ -1,5 +1,4 @@
{{!< default}} {{!< default}}
<main class="site-main"> <main class="site-main">
{{#post}} {{#post}}

View File

@ -1,5 +1,4 @@
<article class="single {{post_class}}"> <article class="single {{post_class}}">
{{#match @page.show_title_and_feature_image}} {{#match @page.show_title_and_feature_image}}
<header class="single-header gh-canvas"> <header class="single-header gh-canvas">
{{#is "post"}} {{#is "post"}}
@ -7,7 +6,7 @@
<!-- <!--
<span class="single-meta-item single-meta-date"> <span class="single-meta-item single-meta-date">
<time datetime="{{date format="YYYY-MM-DD"}}"> <time datetime="{{date format="YYYY-MM-DD"}}">
{{date published_at}} published: {{date published_at}}
</time> </time>
</span> </span>
--> -->
@ -22,14 +21,19 @@
</div> </div>
{{/is}} {{/is}}
<h1 class="single-title">{{title}}</h1> <h1 class="single-title">
<a href=".">
{{title}}
</a>
</h1>
{{#if custom_excerpt}} {{#if custom_excerpt}}
<div class="single-excerpt"> <div class="single-excerpt">
{{custom_excerpt}} {{custom_excerpt}}
</div> </div>
{{/if}} {{/if}}
{{#if feature_image}} {{#if feature_image}}
{{#unless no_image}} {{#unless no_image}}
<figure class="single-media kg-width-{{width}}"> <figure class="single-media kg-width-{{width}}">
@ -47,7 +51,9 @@
{{content}} {{content}}
</div> </div>
{{#is "post"}} {{#is "post"}}
<div class="gh-canvas"> <div class="gh-canvas">
<footer class="single-footer"> <footer class="single-footer">
@ -91,9 +97,9 @@
</div> </div>
{{/next_post}} {{/next_post}}
</div> </div>
</footer> </footer>
</div> </div>
{{/is}} {{/is}}
</article> </article>

View File

@ -1,9 +1,16 @@
<div class="cover{{#if @site.cover_image}} image-loading{{/if}}{{#match @custom.publication_cover_style "Half screen"}} half{{/match}} gh-outer"> <div
class="cover{{#if @site.cover_image}} image-loading{{/if}}{{#match @custom.publication_cover_style "Half screen"}} half{{/match}} gh-outer"
style="overflow: visible"
>
<div id="rose-ash-scripts"></div>
{{#if @site.cover_image}} {{#if @site.cover_image}}
<img class="cover-image u-object-fit" src="{{@site.cover_image}}" alt="{{@site.title}}"> <img class="cover-image u-object-fit" src="{{@site.cover_image}}" alt="{{@site.title}}">
{{/if}} {{/if}}
<div class="cover-content"> <div
class="cover-content"
style="z-index:11"
>
{{#if @site.description}} {{#if @site.description}}
<div class="cover-description"> <div class="cover-description">
{{#unless @member}} {{#unless @member}}

19
partials/share-block.hbs Normal file
View File

@ -0,0 +1,19 @@
<div class="share-block">
<span>Share</span>
<a href="https://twitter.com/intent/tweet?url={{url absolute='true'}}&amp;text={{encode title}}" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M24 4.6c-.9.4-1.8.7-2.8.8 1-.6 1.8-1.6 2.2-2.7-1 .6-2 1-3.1 1.2-.9-1-2.2-1.6-3.6-1.6-2.7 0-4.9 2.2-4.9 4.9 0 .4 0 .8.1 1.1-4.2-.2-7.8-2.2-10.2-5.2-.5.8-.7 1.6-.7 2.5 0 1.7.9 3.2 2.2 4.1-.8 0-1.6-.2-2.2-.6v.1c0 2.4 1.7 4.4 3.9 4.8-.4.1-.8.2-1.3.2-.3 0-.6 0-.9-.1.6 2 2.4 3.4 4.6 3.4-1.7 1.3-3.8 2.1-6.1 2.1-.4 0-.8 0-1.2-.1 2.2 1.4 4.8 2.2 7.5 2.2 9.1 0 14-7.5 14-14v-.6c1-.7 1.8-1.6 2.5-2.5z" fill="#1da1f2"/></svg>
</a>
&nbsp;
<a href="https://www.facebook.com/sharer.php?u={{url absolute='true'}}" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M24 12.072a12 12 0 10-13.875 11.854v-8.385H7.078v-3.469h3.047V9.428c0-3.007 1.792-4.669 4.532-4.669a18.611 18.611 0 012.687.234v2.954H15.83a1.734 1.734 0 00-1.947 1.49 1.71 1.71 0 00-.008.385v2.25H17.2l-.532 3.469h-2.8v8.385A12 12 0 0024 12.072z" fill="#4267B2"/></svg>
</a>
&nbsp;
<a href="https://pinterest.com/pin/create/button/?url={{url absolute='true'}}&amp;media=&amp;description={{encode title}}" target="_blank" rel="noopener" data-pin-do="none">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M12 0C5.4 0 0 5.4 0 12c0 5.1 3.2 9.4 7.6 11.2-.1-.9-.2-2.4 0-3.4.2-.9 1.4-6 1.4-6s-.3-.8-.3-1.8c0-1.7 1-2.9 2.2-2.9 1 0 1.5.8 1.5 1.7 0 1-.7 2.6-1 4-.3 1.2.6 2.2 1.8 2.2 2.1 0 3.8-2.2 3.8-5.5 0-2.9-2.1-4.9-5-4.9-3.4 0-5.4 2.6-5.4 5.2 0 1 .4 2.1.9 2.7.1.1.1.2.1.3-.1.4-.3 1.2-.3 1.4-.1.2-.2.3-.4.2-1.5-.7-2.4-2.9-2.4-4.6 0-3.8 2.8-7.3 7.9-7.3 4.2 0 7.4 3 7.4 6.9 0 4.1-2.6 7.5-6.2 7.5-1.2 0-2.4-.6-2.8-1.4 0 0-.6 2.3-.7 2.9-.3 1-1 2.3-1.5 3.1 1 .3 2.2.5 3.4.5 6.6 0 12-5.4 12-12S18.6 0 12 0z" fill="#E60023"/></svg>
</a>
&nbsp;
<a href="https://www.linkedin.com/shareArticle?mini=true&amp;url={{url absolute='true'}}&amp;title={{encode title}}" target="_blank" rel="noopener">
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 24 24"><path d="M23 0H1C.4 0 0 .4 0 1v22c0 .6.4 1 1 1h22c.6 0 1-.4 1-1V1c0-.6-.4-1-1-1zM7.1 20.5H3.6V9h3.6v11.5zM5.3 7.4c-1.1 0-2.1-.9-2.1-2.1 0-1.1.9-2.1 2.1-2.1 1.1 0 2.1.9 2.1 2.1 0 1.2-.9 2.1-2.1 2.1zm15.2 13.1h-3.6v-5.6c0-1.3 0-3-1.8-3-1.9 0-2.1 1.4-2.1 2.9v5.7H9.4V9h3.4v1.6c.5-.9 1.6-1.8 3.4-1.8 3.6 0 4.3 2.4 4.3 5.5v6.2z" fill="#2867B2"/></svg>
</a>
</div>

27
partials/shop/scripts.hbs Normal file
View File

@ -0,0 +1,27 @@
<script src="https://unpkg.com/htmx.org@2.0.3" integrity="sha384-0895/pl2MU10Hqc6jd4RvrthNlDiE9U1tWmX7WRESftEDRosgxNsQG/Ze9YMRzHq" crossorigin="anonymous"></script>
<script src="https://unpkg.com/htmx-ext-response-targets@2.0.0/response-targets.js"></script>
<script src="https://gateway.sumup.com/gateway/ecom/card/v2/sdk.js"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<link
href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
>
<script src="https://cdn.jsdelivr.net/npm/sweetalert2@11"></script>
<script src="https://kit.fontawesome.com/61b729a4f7.js" crossorigin="anonymous"></script>
<script
src="https://code.jquery.com/jquery-3.7.1.min.js"
integrity="sha256-/JqT3SQfawRcv/BIHPThkBvs0OEvtFFmqPF/lYI/Cxo="
crossorigin="anonymous"></script>

54
partials/shop/style.hbs Normal file
View File

@ -0,0 +1,54 @@
<style>
.rose-ash {
font-size: 20px;
}
.rose-ash h3 {
font-size: 110%;
}
.rose-ash * {
font-size: 100%;
}
.swal2-popup {
font-size: 1.5rem;
}
.swal-wide{
width:850px !important;
}
@media (min-width: 768px) {
.w-md-100 {
width:100% !important;
}
.w-md-75 {
width:75% !important;
}
.w-md-50 {
width:50% !important;
}
.w-md-25 {
width:25% !important;
}
}
.sumup-payment-142vw6r {
min-height: 70px !important;
}
[data-sumup-id='hostedfield--cardholder_number'] {
}
.htmx-swapping.rose-ash-fade-me-out {
opacity: 0;
transition: opacity 1s ease-out;
}
.htmx-added.rose-ash-fade-me-in {
opacity: 0;
}
.rose-ash-fade-me-in {
opacity: 1;
transition: opacity 1s ease-out;
}
</style>

36
partials/shop/top.hbs Normal file
View File

@ -0,0 +1,36 @@
<div class="rose-ash">
<div id="rose-ash-scripts"></div>
<div
style="z-index:11;"
hx-get="shop/cycle/?simple=true"
hx-swap="outerHTML"
hx-trigger="load, every 15s"
hx-headers='{"rose-ash-shop-layout-disable": "yes"}'
>
</div>
<div
hx-get="shop/menu/"
hx-swap="outerHTML"
hx-trigger="load, every 1s"
hx-headers='{"rose-ash-shop-layout-disable": "yes"}'
>
</div>
<!--
<div
hx-get="shop/?"
hx-trigger="load delay:1ms"
hx-headers='{ "rose-ash-shop": "true", "rose-ash-shop-layout-top": "shop" }'
hx-on::config-request = "
//e vent.detail.path += window.location.search
const param = new URLSearchParams(window. location.search)
param.set('embed', 'true')
event.detail.path += param.toString()
"
hx-swap="outerHTML"
>
</div>
-->
</div>

View File

@ -1,5 +1,4 @@
{{!< default}} {{!< default}}
<main class="site-main"> <main class="site-main">
{{#post}} {{#post}}
@ -12,6 +11,6 @@
{{#post}} {{#post}}
{{> "comments"}} {{> "comments"}}
{{> share-block}}
{{/post}} {{/post}}
</main> </main>

15
robots.txt Normal file
View File

@ -0,0 +1,15 @@
User-agent: facebookexternalhit
Sitemap: https://rose-ash.com/sitemap.xml
Disallow: /ghost/
Disallow: /email/
Disallow: /members/api/comments/counts/
Disallow: /r/
Disallow: /webmentions/receive/
User-agent: *
Sitemap: https://rose-ash.com/sitemap.xml
Disallow: /ghost/
Disallow: /email/
Disallow: /members/api/comments/counts/
Disallow: /r/
Disallow: /webmentions/receive/