hero changes, product page, prep profile page

This commit is contained in:
free ko 2025-04-07 15:42:48 +03:00
parent 2777be7dd8
commit 2aed8dafef
7 changed files with 1493 additions and 38 deletions

@ -0,0 +1 @@
<svg version="1.2" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" width="24" height="24"><style></style><path fill-rule="evenodd" d="m13 20.7v3.3h-2v-3.3z"/><path fill-rule="evenodd" d="m18.7 16.3v2h-13.4v-2z"/><path fill-rule="evenodd" d="m18.7 11v2h-13.4v-2z"/><path fill-rule="evenodd" d="m18.7 5.7v2h-13.4v-2z"/><path fill-rule="evenodd" d="m13 0v3.3h-2v-3.3z"/></svg>

After

(image error) Size: 380 B

27
assets/js/tabSys.js Normal file

@ -0,0 +1,27 @@
document.addEventListener("DOMContentLoaded", function() {
const tabComponents = document.querySelectorAll('[tabSys]');
tabComponents.forEach(tabComponent => {
const tabSelectors = tabComponent.querySelectorAll('[tabSys-Selector] > button')
const tabContents = tabComponent.querySelectorAll('[tabSys-Content] > div');
tabSelectors.forEach((selector, index) => {
selector.addEventListener('click', () => {
// Remove active classes from all selectors and hide all contents
tabSelectors.forEach((s) => {
s.classList.remove("bg-bgMain2","text-bgMain","hover:bg-bgMain2/25");
s.classList.add("hover:bg-bgMain2/25");
});
tabContents.forEach((content) => {
content.classList.add("hidden");
});
// Add active classes to the clicked selector and show the corresponding content
selector.classList.add("bg-bgMain2","text-bgMain");
selector.classList.remove("hover:bg-bgMain2/25");
tabContents[index].classList.remove("hidden");
});
});
});
});

@ -18,7 +18,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" />
</head>
<body class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-textMain">
<body class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-bgMain2">
<!-- main navbar start -->
<div class="w-full flex flex-col justify-start items-center bg-bgMain2 text-textMain2 absolute top-[0] z-[5]">
<div class="w-full flex flex-col justify-center items-center relative">
@ -31,7 +31,7 @@
<div class="grow-[1] flex flex-row gap-[50px] justify-end">
<div class="flex flex-row grow-[1] gap-[10px] text-base font-bold justify-end items-center max-lg:hidden">
<div class="flex flex-row h-full justify-center items-center gap-[10px] cursor-pointer relative">
<a href="search.html" class="px-[6px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">
<a href="search.html" class="px-[12px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">
<i class="bx bx-search"></i>
</a>
</div>
@ -108,16 +108,30 @@
<div class="w-full flex flex-col gap-[35px] grow-[1] justify-center items-center pt-[10vh]">
<h1 data-aos="fade-down" data-aos-duration="1500" class="text-6xl font-[900] text-center">Everyone's a Critic</h1>
<p data-aos="fade-down" data-aos-duration="2000" data-aos-delay="1000" class="text-2xl text-center px-[100px]">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
<div data-aos="fade-down" data-aos-duration="2000" data-aos-delay="2000" class="w-full flex flex-row justify-center items-center">
<div class="w-full max-w-[500px] flex flex-row">
<div data-aos="fade-down" data-aos-duration="2000" data-aos-delay="2000" class="w-full flex flex-col gap-[10px] justify-center items-center max-w-[500px]">
<div class="w-full flex flex-row">
<input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15">
<div class="w-full flex flex-row">
<input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15">
</div>
<a href="search.html" class="flex flex-col justify-center items-center bg-bgMain2 text-bgMain p-[10px] cursor-pointer relative group">
<i class="bx bx-search "></i>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
</div>
<div class="w-full flex flex-row gap-[10px] flex-wrap">
<button popupAction="openFilterSearch" class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative grow-[1]">
<p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Product: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Wine</span></p>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</button>
<button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative grow-[1]">
<p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Type: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">White</span></p>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</button>
<button class="bg-bgMain2 text-bgMain text-sm h-[30px] pl-[10px] flex flex-row items-center relative grow-[1]">
<p class="h-full w-full flex flex-row items-center gap-[5px] whitespace-nowrap">Style: <span class="bg-bgMain/15 h-full w-full px-[8px] flex flex-row items-center">Table</span></p>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</button>
</div>
<a href="search.html" class="flex flex-col justify-center items-center bg-bgMain2 text-bgMain p-[10px] cursor-pointer relative group">
<i class="bx bx-search "></i>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
</div>
</div>
</div>
<div class="w-full h-[50vh] flex flex-row gap-[10px] mb-[10px] overflow-hidden max-lg:overflow-x-auto hide-scrollbar">
@ -196,7 +210,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -207,7 +220,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -219,7 +232,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -230,7 +242,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -242,7 +254,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -253,7 +264,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -265,7 +276,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -276,7 +286,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -533,15 +543,74 @@
<div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10">
<div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative">
<div class="w-full p-[15px] flex flex-col justify-center items-center">
<p class="">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p>
<p class="text-sm">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p>
</div>
</div>
</div>
</div>
<!-- main footer end -->
<!-- popups start -->
<div popupID="FilterSearch" class="fixed inset-[0] z-[90] bg-black/25 backdrop-blur-sm hidden flex-col justify-start items-center py-[25px] overflow-auto">
<div class="max-w-[1400px] w-full flex flex-col justify-start items-center px-[10px] relative">
<div class="w-full flex flex-col justify-start items-center">
<div class="w-full max-w-[500px] justify-start items-center">
<div class="w-full bg-bgMain p-[15px] shadow-lg gap-[5px]">
<div class="flex flex-row justify-between items-center gap-[10px] pb-[5px] border-b-[1px] border-b-bgMain2/25">
<p class="font-bold text-lg">Product Filter</p>
<button popupAction="closeFilterSearch" class="transition-all ease duration-[0.3s] py-[3px] px-[8px] hover:bg-bgMain2 hover:text-bgMain">
<i class="bx bx-x text-xl"></i>
</button>
</div>
<div class="w-full flex flex-col pt-[10px]">
<!-- popup x start -->
<div class="w-full flex flex-col gap-[15px]">
<div class="w-full max-w-[500px] flex flex-row">
<div class="w-full flex flex-row">
<input type="text" placeholder="Search..." class="w-full bg-black/10 py-[5px] px-[10px] border-b-[1px] border-bgMain2/25 placeholder:text-black/50 transition-all ease duration-[0.4s] focus:outline-[0] focus:bg-black/15">
</div>
</div>
<div class="w-full flex flex-row gap-[10px] flex-wrap overflow-auto max-h-[500px]">
<div class="relative bg-black/5 group">
<input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer">
<div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Wine</label></div>
</div>
<div class="relative bg-black/5 group">
<input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer">
<div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Sake</label></div>
</div>
<div class="relative bg-black/5 group">
<input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer">
<div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Spirit</label></div>
</div>
<div class="relative bg-black/5 group">
<input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer">
<div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Coffee</label></div>
</div>
<div class="relative bg-black/5 group">
<input type="checkbox" name="product" class="opacity-[0] absolute inset-[0] peer cursor-pointer">
<div class="transition-all ease duration-[0.4s] peer-checked:bg-bgMain2 peer-checked:text-bgMain py-[5px] px-[10px] border-[1px] border-bgMain2/25 group-hover:bg-black/10"><label class="">Misc</label></div>
</div>
</div>
<div class="w-full flex flex-row pt-[10px] border-t-[1px] border-bgMain2/25">
<buttons class="w-full flex flex-col justify-center items-center bg-bgMain2 text-bgMain text-base font-bold whitespace-nowrap px-[10px] py-[10px] cursor-pointer relative group">
Set Filter
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</buttons>
</div>
</div>
<!-- popup x end -->
</div>
</div>
</div>
</div>
</div>
</div>
<!-- popups end -->
<!-- SCRIPTS START-->
<script src="./assets/js/dropdown.js"></script>
<script src="./assets/js/popups.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.js"></script>
<script>AOS.init();</script>
<!-- SCRIPTS END-->

1145
product.html Normal file

File diff suppressed because it is too large Load Diff

208
profile.html Normal file

@ -0,0 +1,208 @@
<html class="bg-bgMain min-h-screen flex flex-col scroll-smooth font-merriweather">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
<title>Cellar Social</title>
<link rel="icon" sizes="52x52" href="./assets/images/icon.png">
<link rel="icon" sizes="52x52" href="./assets/images/icon.png">
<link rel="icon" sizes="52x52" href="./assets/images/icon.png">
<link rel="icon" sizes="52x52" href="./assets/images/icon.png">
<link rel="icon" sizes="52x52" href="./assets/images/icon.png">
<link rel="preconnect" href="https://fonts.bunny.net">
<link href="https://fonts.bunny.net/css?family=libre-baskerville:400,400i,700,700i|merriweather:300,300i,400,400i,700,700i,900,900i" rel="stylesheet" />
<link href='https://unpkg.com/boxicons@2.1.4/css/boxicons.min.css' rel='stylesheet'>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css" rel="stylesheet">
<script src="tailwind-config.js" defer></script>
<link rel="stylesheet" href="./assets/css/custom.css">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" />
</head>
<body class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-bgMain2">
<!-- main navbar start -->
<div class="w-full flex flex-col justify-start items-center bg-bgMain2 text-textMain2 absolute top-[0] z-[5]">
<div class="w-full flex flex-col justify-center items-center relative">
<div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative">
<div class="w-full flex flex-row gap-[25px] justify-between p-[10px] flex-wrap">
<div class="max-w-[200px] min-w-[200px]">
<!-- <img src="./assets/images/logo.png" class=""></img> -->
<a href="index.html" class="font-bold text-2xl transition-all ease duration-[0.3s] hover:text-linkMain">Cellar Social</a>
</div>
<div class="grow-[1] flex flex-row gap-[50px] justify-end">
<div class="flex flex-row grow-[1] gap-[10px] text-base font-bold justify-end items-center max-lg:hidden">
<div class="flex flex-row h-full justify-center items-center gap-[10px] cursor-pointer relative">
<a href="search.html" class="px-[12px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">
<i class="bx bx-search"></i>
</a>
</div>
<div class="relative inline-block">
<div class="dropdown-button flex flex-row items-center cursor-pointer min-w-[50px] max-w-[200px] relative group">
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-[30px] h-[30px] object-cover bg-black/50"></img>
<p class="overflow-hidden whitespace-nowrap text-ellipsis px-[15] py-[3px] transition-all ease duration-[0.3s] group-hover:bg-bgMain group-hover:text-bgMain2">Username</p>
</div>
<div class="dropdown-menu absolute right-0 mt-2 bg-bgMain p-[5px] flex flex-col gap-[5px] w-full text-bgMain2 text-sm z-[1] shadow-lg hidden">
<a href="profile.html" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Profile</a>
<a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Settings</a>
<a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Logout</a>
</div>
</div>
</div>
<div class="lg:hidden">
<button class="flex flex-col justify-center items-center">
<i class="bx bx-menu text-3xl"></i>
</button>
</div>
</div>
</div>
</div>
<div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10">
<div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative">
<div class="flex flex-row grow-[1] gap-[50px] justify-end items-center py-[10px] max-lg:hidden">
<a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class="px-[10px]">Events</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class="px-[10px]">Sake</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class="px-[10px]">Coffee</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class=px-[10px]"">Spirits & Liqueurs</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class="px-[10px]">Wine</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
<a href="#" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
<p class="px-[10px]">Promotions</p>
<div class="px-[50%] transition-all ease duration-[0.4s] group-hover:px-[0%]">
<div class="h-[2px] w-full bg-bgMain"></div>
</div>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- main navbar end -->
<!-- main middle start -->
<div class="w-full flex flex-col grow-[1] pt-[100px]">
<!-- profile start -->
<div class="w-full flex flex-col justify-center items-center">
<div class="max-w-[1400px] w-full grow-[1] flex flex-col justify-center items-center px-[10px] relative">
<div class="w-full flex flex-col gap-[50px]">
<div class="">profile box rectangle here</div>
<div class="">products and filter here</div>
</div>
</div>
</div>
<!-- profile end -->
</div>
<!-- main middle end -->
<!-- main footer start -->
<div class="w-full flex flex-col justify-center items-center bg-bgMain2 text-textMain2">
<div class="w-full flex flex-col justify-center items-center">
<div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative">
<div class="w-full py-[50px] flex flex-row gap-[50px] flex-wrap">
<div class="flex flex-col gap-[15px] justify-start items-start">
<p class="">Drinks</p>
<div class="flex flex-row gap-[15px] justify-start items-start flex-wrap">
<a href="search.html" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Wine</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Wine</p></div>
</a>
<a href="search.html" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Sake</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Sake</p></div>
</a>
<a href="search.html" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Spirits</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Spirits</p></div>
</a>
<a href="search.html" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Coffee</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Coffee</p></div>
</a>
<a href="search.html" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Misc</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Misc</p></div>
</a>
</div>
</div>
<div class="flex flex-col gap-[15px] justify-start items-start">
<p class="">Pages</p>
<div class="flex flex-row gap-[15px] justify-start items-start flex-wrap">
<a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Events</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Events</p></div>
</a>
<a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">About</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">About</p></div>
</a>
</div>
</div>
<div class="flex flex-col gap-[15px] justify-start items-start">
<p class="">Legal</p>
<div class="flex flex-row gap-[15px] justify-start items-start flex-wrap">
<a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Terms of Service</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Terms of Service</p></div>
</a>
<a href="#" class="w-full max-w-[200px] text-base font-bold text-textMain2 relative group">
<div class="py-[5px]"><p class="px-[15px]">Privacy Policy</p></div>
<div class="py-[5px] text-bgMain2 absolute inset-[0] bg-bgMain z-[1] w-[0%] overflow-hidden transition-all ease duration-[0.4s] group-hover:w-full"><p class="px-[15px]">Privacy Policy</p></div>
</a>
</div>
</div>
</div>
</div>
</div>
<div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10">
<div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative">
<div class="w-full p-[15px] flex flex-col justify-center items-center">
<p class="text-sm">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p>
</div>
</div>
</div>
</div>
<!-- main footer end -->
<!-- popups start -->
<!-- popups end -->
<!-- SCRIPTS START-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.js"></script>
<script src="./assets/js/dropdown.js"></script>
<script src="./assets/js/popups.js"></script>
<script src="./assets/js/tabSys.js"></script>
<script>AOS.init();</script>
<!-- SCRIPTS END-->
<!--
reusables: sec and container
<div class="w-full flex flex-col gap-[25px] py-[50px] items-center">
<div class="max-w-[1400px] w-full flex flex-col justify-start items-end px-[10px] relative"></div>
</div>
-->
</body>
</html>

@ -18,7 +18,7 @@
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" />
</head>
<body class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-textMain">
<body class="bg-transparent flex flex-col items-center flex-grow min-h-screen relative tracking-wide text-lg leading-[1.5] break-words text-bgMain2">
<!-- main navbar start -->
<div class="w-full flex flex-col justify-start items-center bg-bgMain2 text-textMain2 absolute top-[0] z-[5]">
<div class="w-full flex flex-col justify-center items-center relative">
@ -31,7 +31,7 @@
<div class="grow-[1] flex flex-row gap-[50px] justify-end">
<div class="flex flex-row grow-[1] gap-[10px] text-base font-bold justify-end items-center max-lg:hidden">
<div class="flex flex-row h-full justify-center items-center gap-[10px] cursor-pointer relative">
<a href="search.html" class="px-[6px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">
<a href="search.html" class="px-[12px] py-[6px] flex flex-row h-full justify-center items-center transition-all ease duration-[0.3s] hover:bg-bgMain hover:text-bgMain2">
<i class="bx bx-search"></i>
</a>
</div>
@ -41,7 +41,7 @@
<p class="overflow-hidden whitespace-nowrap text-ellipsis px-[15] py-[3px] transition-all ease duration-[0.3s] group-hover:bg-bgMain group-hover:text-bgMain2">Username</p>
</div>
<div class="dropdown-menu absolute right-0 mt-2 bg-bgMain p-[5px] flex flex-col gap-[5px] w-full text-bgMain2 text-sm z-[1] shadow-lg hidden">
<a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Profile</a>
<a href="profile.html" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Profile</a>
<a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Settings</a>
<a href="#" class="flex flex-row px-[10px] py-[5px] transition-all ease duration-[0.3s] hover:bg-bgMain2 hover:text-bgMain">Logout</a>
</div>
@ -177,7 +177,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -188,7 +187,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -200,7 +199,6 @@
<img src="https://preview.free3d.com/img/2015/01/2154247191454024843/dn06b30e.jpg" class="w-full h-full object-cover transition-all ease duration-[1s] group-hover:scale-[1.1]"></img>
<div class="w-full h-[0] opacity-[0] overflow-hidden absolute bottom-[0] bg-bgMain2/95 p-[0px] gap-[25px] flex flex-col justify-center items-center text-textMain2 text-center transition-all ease duration-[0.6s] group-hover:opacity-[1] group-hover:h-full group-hover:p-[25px] group-hover:backdrop-blur-sm">
<div class="grow-[1] flex flex-col gap-[25px]">
<p class="text-xl font-bold">Product Title</p>
<div class="line-clamp-3">
<p class="">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</p>
</div>
@ -211,7 +209,7 @@
</div>
</div>
</div>
<a href="#" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
<a href="product.html" class="w-full px-[10px] py-[5px] bg-btnMain2 text-textMain2 text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
Product Title
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</a>
@ -219,7 +217,7 @@
</div>
<!-- listing item end -->
</div>
<!-- listings list start -->
<!-- listings list end -->
<!-- Pagination start -->
<div class="w-full flex flex-col justify-center items-center">
@ -229,14 +227,14 @@
</button>
<div class="grow-[1] flex flex-row gap-[10px] overflow-auto hide-scrollbar">
<button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center bg-bgMain2 text-bgMain relative">
<p class="">1</p>
<p class="text-base">1</p>
<span class="absolute inset-[0] bg-white/0 transition-all ease duration-[0.4s] hover:bg-white/10"></span>
</button>
<button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center relative transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain">
<p class="">2</p>
<p class="text-base">2</p>
</button>
<button class="font-bold text-xl px-[15px] pt-[5px] pb-[8px] flex flex-row justify-center items-center relative transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain">
<p class="">3</p>
<p class="text-base">3</p>
</button>
</div>
<button class="h-full flex flex-col justify-center items-center px-[8px] transition-all ease duration-[0.4s] hover:bg-bgMain2 hover:text-bgMain">
@ -316,7 +314,7 @@
<div class="w-full flex flex-col justify-center items-center border-t-[1px] border-bgMain/10">
<div class="max-w-[1400px] w-full flex flex-col justify-center items-center px-[10px] relative">
<div class="w-full p-[15px] flex flex-col justify-center items-center">
<p class="">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p>
<p class="text-sm">Copyright © <script>document.write(new Date().getFullYear())</script> <a href="#" target="_blank" class="font-bold transition-all ease duration-[0.4s] hover:text-linkMain">Cellar Social</a> All Rights Reserved.</p>
</div>
</div>
</div>

@ -3,13 +3,20 @@ tailwind.config = {
theme: {
extend: {
colors: {
'bgMain': '#F5F5DC', // Main background color
'bgMain2': '#4A2E1A', // Background color for product cards
'textMain': '#262626', // Main text color
'textMain2': '#F5F5DC', // Alt text color (could be used for lighter text on dark backgrounds)
'linkMain': '#D4A35F', // Color for links
'btnMain': '#800020', // Background color for buttons
'btnMain2': '#D4A35F', // Alt background color for buttons
'bgMain': '#F5F5DC', // Main background color
'bgMain2': '#4A2E1A', // Background color for product cards
'textMain': '#262626', // Main text color
'textMain2': '#F5F5DC', // Alt text color
'linkMain': '#D4A35F', // Color for links
'btnMain': '#800020', // Background color for buttons
'btnMain2': '#D4A35F', // Alt background color for buttons
// 'bgMainHover': '#F9F9E6', // Lightened bgMain for hover
// 'bgMain2Hover': '#5C3B2A', // Lightened bgMain2 for hover
// 'textMainHover': '#3D3D3D', // Lightened textMain for hover
// 'textMain2Hover': '#F9F9E6', // Lightened textMain2 for hover
// 'linkMainHover': '#D8B76F', // Lightened linkMain for hover
// 'btnMainHover': '#A0002A', // Lightened btnMain for hover
// 'btnMain2Hover': '#D8B76F', // Lightened btnMain2 for hover
},
screens: {
'xs': '480px', // Add xs size