Skip to content

Commit 758c4c6

Browse files
committed
Fix merge conflict markers in cart.js, success.html, styles.css
Unresolved git merge conflicts were committed to main, causing a JS syntax error that killed the entire cart. Push clean files directly.
1 parent bc9c9c6 commit 758c4c6

3 files changed

Lines changed: 0 additions & 18 deletions

File tree

scripts/cart.js

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,6 @@
149149
if (cartBtn) { e.preventDefault(); openDrawer(); }
150150
});
151151

152-
<<<<<<< HEAD
153-
// public API
154-
window.PlotflowCart = { add: add, remove: remove, clear: clear, open: openDrawer, count: count };
155-
156-
if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", function () { build(); render(); });
157-
else { build(); render(); }
158-
=======
159152
var toastEl, toastT;
160153
function toast(msg) {
161154
if (!toastEl) { toastEl = document.createElement("div"); toastEl.className = "cart-toast"; document.body.appendChild(toastEl); }
@@ -182,5 +175,4 @@
182175
function init() { build(); render(); checkCancelled(); }
183176
if (document.readyState === "loading") document.addEventListener("DOMContentLoaded", init);
184177
else { init(); }
185-
>>>>>>> a4f47b5b80479b6bdd236703ae93d873d3c42872
186178
})();

styles/styles.css

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -222,8 +222,5 @@ footer .grain{opacity:.3}
222222
.cart-checkout{width:100%;background:var(--red);color:var(--white);font-weight:800;font-size:11px;letter-spacing:.14em;text-transform:uppercase;padding:14px;border:1px solid var(--red)}
223223
.cart-checkout:hover{background:var(--white);color:var(--ink);border-color:var(--white)}
224224
.cart-checkout:disabled{opacity:.45;cursor:not-allowed}
225-
<<<<<<< HEAD
226-
=======
227225
.cart-toast{position:fixed;left:50%;bottom:24px;transform:translateX(-50%) translateY(20px);z-index:95;background:var(--ink);color:var(--white);border:1px solid var(--line);padding:12px 18px;font-weight:700;font-size:11px;letter-spacing:.1em;text-transform:uppercase;opacity:0;transition:opacity .3s,transform .3s;pointer-events:none}
228226
.cart-toast.show{opacity:1;transform:translateX(-50%) translateY(0)}
229-
>>>>>>> a4f47b5b80479b6bdd236703ae93d873d3c42872

success.html

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@
1717
<link href="https://fonts.googleapis.com/css2?family=Archivo:ital,wght@0,400;0,500;0,600;0,700;0,800;0,900;1,600&family=Noto+Sans+JP:wght@500;700;900&display=swap" rel="stylesheet">
1818
<link rel="stylesheet" href="styles/tokens.css">
1919
<link rel="stylesheet" href="styles/styles.css">
20-
<<<<<<< HEAD
21-
=======
2220
<meta name="description" content="Order confirmed.">
2321
<link rel="canonical" href="https://plotflow.io/success.html">
2422
<meta name="robots" content="noindex,follow">
@@ -34,7 +32,6 @@
3432
<meta name="twitter:title" content="Order confirmed — PLOTFLOW*">
3533
<meta name="twitter:description" content="Order confirmed.">
3634
<meta name="twitter:image" content="https://plotflow.io/assets/og.png">
37-
>>>>>>> a4f47b5b80479b6bdd236703ae93d873d3c42872
3835
</head>
3936
<body>
4037

@@ -70,11 +67,7 @@ <h3>Thank you</h3>
7067
<div class="fc"><h5>Shop*</h5><a href="/#shop">All editions</a><a href="commissions.html">Commissions</a></div>
7168
<div class="fc"><h5>House*</h5><a href="/#process">Process</a><a href="manifesto.html">Manifesto</a><a href="contact.html">Contact</a></div>
7269
<div class="fc"><h5>Info*</h5><a href="shipping.html">Shipping</a><a href="returns.html">Returns</a><a href="faq.html">FAQ</a></div>
73-
<<<<<<< HEAD
74-
<div class="fc"><h5>一筆書き</h5><a href="#">@plotflow</a><a href="#">Newsletter</a><a href="#">est. 2026</a></div>
75-
=======
7670
<div class="fc"><h5>一筆書き</h5><a href="https://instagram.com/plotflow" target="_blank" rel="noopener">@plotflow</a><a href="mailto:hello@plotflow.io?subject=Newsletter">Newsletter</a><span class="est">est. 2026</span></div>
77-
>>>>>>> a4f47b5b80479b6bdd236703ae93d873d3c42872
7871
</div>
7972
<div class="foot-bot tiny"><span>© 2026 PLOTFLOW* — PLOTTED IN THE U.S.A.</span><span>一筆書き · ONE CONTINUOUS LINE</span></div>
8073
</div>

0 commit comments

Comments
 (0)