Skip to content

Commit 0d85951

Browse files
committed
Add pagetitle to checkout page
1 parent 05cac97 commit 0d85951

File tree

2 files changed

+8
-18
lines changed

2 files changed

+8
-18
lines changed

components/Checkout/CheckoutForm.component.jsx

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -73,21 +73,6 @@ const CheckoutForm = () => {
7373

7474
return (
7575
<>
76-
<section className="py-8 bg-white">
77-
<div className="container flex flex-wrap items-center pt-4 pb-12 mx-auto">
78-
<nav id="store" className="top-0 w-full px-6 py-1">
79-
<div className="container flex flex-wrap items-center justify-between w-full px-2 py-3 mx-auto mt-0">
80-
<a
81-
className="mt-6 text-xl font-bold tracking-wide text-gray-800 no-underline uppercase hover:no-underline"
82-
href="#"
83-
>
84-
Bestillingsskjema
85-
</a>
86-
</div>
87-
</nav>
88-
</div>
89-
</section>
90-
9176
{cart ? (
9277
<form onSubmit={handleFormSubmit} className="woo-next-checkout-form">
9378
<div className="row">Skjema kommer her</div>

pages/kasse.js

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
1-
import CheckoutForm from '../components/Checkout/CheckoutForm.component';
2-
3-
const Handlekurv = () => <CheckoutForm />;
1+
import PageTitle from 'components/Header/PageTitle.component';
2+
import CheckoutForm from 'components/Checkout/CheckoutForm.component';
43

4+
const Handlekurv = () => (
5+
<>
6+
<PageTitle title="Kasse" />
7+
<CheckoutForm />
8+
</>
9+
);
510
export default Handlekurv;

0 commit comments

Comments
 (0)