This commit is contained in:
Kovács Rudolf committed 2026-11-02 11:23:19 +01:00
1 parent 9e61aa2fad
commit eb79e3557e
2 files changed
+81 -6

No files matched your search

+36 -3
View File
@@ -1,9 +1,42 @@
function Main() {
return (
<div>Main</div>
)
return (
<div className="relative flex flex-col items-center max-w-screen-xl px-4 mx-auto md:flex-row sm:px-6 p-8">
<div className="flex items-center py-5 md:w-1/2 md:pb-20 md:pt-10 md:pr-10">
<div className="text-left">
<h2
className="text-4xl font-extrabold leading-10 tracking-tight text-gray-800 sm:text-5xl sm:leading-none md:text-6xl">
Coffee
<span className="font-bold text-blue-500">Shop</span>
<span className="text-xl font-semibold rounded-full text-blueGray-500">2.0</span>
</h2>
<p className="max-w-md mx-auto mt-3 text-base text-gray-500 sm:text-lg md:mt-5 md:text-xl md:max-w-3xl">
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam vulputate dignissim augue, Nullam vulputate dignissim augue.
</p>
<div className="mt-5 sm:flex md:mt-8">
<div className="rounded-md shadow"><a href=""
className="flex items-center justify-center w-full px-8 py-3 text-base font-medium leading-6 text-white transition duration-150 ease-in-out bg-blue-500 border border-transparent rounded-md hover:bg-blue-600 focus:outline-none focus:shadow-outline-blue md:py-4 md:text-lg md:px-10">
Getting started
</a></div>
<div className="mt-3 rounded-md shadow sm:mt-0 sm:ml-3">
<a href=""
className="flex items-center justify-center w-full px-8 py-3 text-base font-medium leading-6 text-blue-500 transition duration-150 ease-in-out bg-white border border-transparent rounded-md hover:text-blue-600 focus:outline-none focus:shadow-outline-blue md:py-4 md:text-lg md:px-10">
Contribute
</a>
</div>
</div>
</div>
</div>
<div className="flex items-center py-5 md:w-1/2 md:pb-20 md:pt-10 md:pl-10">
<div className="relative w-full p-3 rounded md:p-8">
<div className="rounded-lg bg-white text-black w-full">
<img src="https://picsum.photos/400/300" />
</div>
</div>
</div>
</div>
)
}
export default Main
+45 -3
View File
@@ -1,8 +1,50 @@
import { Link } from "react-router-dom"
function Menu() {
return (
<div>Menu</div>
)
return (
<div className="px-4 mx-auto max-w-7xl sm:px-6">
<div className="relative pt-6 pb-16 sm:pb-24">
<nav className="relative flex items-center justify-between sm:h-10 md:justify-center" aria-label="Global">
<div className="flex items-center flex-1 md:absolute md:inset-y-0 md:left-0">
<div className="flex items-center justify-between w-full md:w-auto">
<Link to="/"><span className="sr-only">Coffee Bar</span>
<img className="w-auto h-8 sm:h-10" src="https://www.svgrepo.com/show/448244/pack.svg" loading="lazy" width="202" height="40"/>
</Link>
<div className="flex items-center -mr-2 md:hidden">
<button className="inline-flex items-center justify-center p-2 text-gray-400 bg-gray-50 rounded-md hover:text-gray-500 hover:bg-gray-100 focus:outline-none focus:ring-2 focus:ring-inset focus:ring-gray-50" type="button" aria-expanded="false">
<span className="sr-only">Open main menu</span>
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" aria-hidden="true" className="w-6 h-6">
<path strokeLinecap="round" strokeLinejoin="round" d="M4 6h16M4 12h16M4 18h16"></path>
</svg>
</button>
</div>
</div>
</div>
<div className="hidden md:flex md:space-x-10 list-none">
<li>
<Link to="/coffees" className="text-base font-normal text-gray-500 list-none hover:text-gray-900"
target="">Coffees</Link>
</li>
<li>
<Link to="/coffeeform" className="text-base font-normal text-gray-500 list-none hover:text-gray-900"
target="">New Coffee
</Link>
</li>
</div>
<div className="hidden md:absolute md:flex md:items-center md:justify-end md:inset-y-0 md:right-0">
<div className="inline-flex rounded-full shadow">
</div>
</div>
</nav>
</div>
</div>
)
}
export default Menu