Browse Source

🏗️ Improved checkout page

* Added a sidebar with booking details
* Added a section to select the date range
* Added a section to select the number of guests
* Added a payment section with support for PayPal and credit cards
main
John Doe 1 year ago
parent
commit
02508a6d68
  1. 31
      src/app/blog/WidgetHeading1.tsx

31
src/app/blog/WidgetHeading1.tsx

@ -0,0 +1,31 @@
import { CustomLink } from "@/data/types";
import React, { FC } from "react";
export interface WidgetHeading1Props {
className?: string;
title: string;
viewAll: CustomLink;
}
const WidgetHeading1: FC<WidgetHeading1Props> = ({
className = "",
title,
viewAll,
}) => {
return (
<div
className={`nc-WidgetHeading1 flex items-center justify-between p-4 xl:p-5 border-b border-neutral-200 dark:border-neutral-700 ${className}`}
>
<h2 className="text-lg text-neutral-900 dark:text-neutral-100 font-semibold flex-grow">
{title}
</h2>
{!!viewAll.href && (
<div className="flex-shrink-0 block text-primary-700 dark:text-primary-500 font-semibold text-sm">
{viewAll.label}
</div>
)}
</div>
);
};
export default WidgetHeading1;
Loading…
Cancel
Save