unipayconnect
Version:
<!-- **unipayconnect/unipayconnect** is a ✨ _special_ ✨ repository because its `README.md` (this file) appears on your GitHub profile.
26 lines (23 loc) • 897 B
JavaScript
import React from 'react';
const Layout = ({ children }) => {
return (
<div className="min-h-screen bg-gray-100 flex flex-col">
<header className="bg-white shadow">
<div className="max-w-7xl mx-auto py-6 px-4 sm:px-6 lg:px-8">
<h1 className="text-3xl font-bold text-gray-900 ml-12">Checkout</h1>
</div>
</header>
<main className="flex-grow">
<div className="max-w-7xl mx-auto py-6 sm:px-6 lg:px-8">
{children}
</div>
</main>
<footer className="bg-white">
<div className="max-w-7xl mx-auto py-4 px-4 sm:px-6 lg:px-8 text-center text-gray-500">
© 2024 UnipayConnect
</div>
</footer>
</div>
);
};
export default Layout;