parent
67673e850d
commit
72a502bf37
19
index.html
19
index.html
@ -1,4 +1,4 @@
|
||||
<html class="bg-bgMain min-h-screen flex flex-col scroll-smooth font-archivo">
|
||||
<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">
|
||||
@ -9,7 +9,7 @@
|
||||
<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=playfair-display:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" />
|
||||
<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">
|
||||
@ -18,7 +18,7 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" />
|
||||
</head>
|
||||
|
||||
<body style="font-family: 'Playfair Display';" 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-textMain">
|
||||
<!-- 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">
|
||||
@ -63,7 +63,7 @@
|
||||
</div>
|
||||
</a>
|
||||
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
|
||||
<p class="px-[10px]">Coffe</p>
|
||||
<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>
|
||||
@ -105,15 +105,20 @@
|
||||
</div>
|
||||
<div class="w-full flex flex-col grow-[1] justify-end 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-[35px] grow-[1] justify-center items-center pt-[15vh]">
|
||||
<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">
|
||||
<a href="#searchSec" class="w-full max-w-[400px] px-[20px] py-[8px] font-bold bg-bgMain2 text-bgMain text-center overflow-hidden whitespace-nowrap text-ellipsis relative transition-all ease duration-[0.6s] hover:tracking-widest">
|
||||
Search for a drink
|
||||
<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>
|
||||
<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">
|
||||
<a href="search.html" data-aos="fade-up" data-aos-duration="1500" data-aos-delay="2500" class="min-w-[300px] grow-[1] h-full flex flex-col justify-end items-center relative overflow-hidden group">
|
||||
|
@ -1,4 +1,4 @@
|
||||
<html class="bg-bgMain min-h-screen flex flex-col scroll-smooth font-archivo">
|
||||
<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">
|
||||
@ -9,7 +9,7 @@
|
||||
<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=playfair-display:400,400i,500,500i,600,600i,700,700i,800,800i,900,900i" rel="stylesheet" />
|
||||
<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">
|
||||
@ -18,7 +18,7 @@
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/aos/2.3.1/aos.css" />
|
||||
</head>
|
||||
|
||||
<body style="font-family: 'Playfair Display';" 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-textMain">
|
||||
<!-- 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">
|
||||
@ -71,7 +71,7 @@
|
||||
</div>
|
||||
</a>
|
||||
<a href="search.html" class="text-lg transition-all ease duration-[0.4s] font-bold text-textMain2 group">
|
||||
<p class="px-[10px]">Coffe</p>
|
||||
<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>
|
||||
|
@ -2,18 +2,22 @@
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
'bgMain': '#FFFDD0', // Background color for the main site
|
||||
'bgMain2': '#4D2B00', // Background color for product cards
|
||||
'textMain': '#800020', // Text color for the whole site
|
||||
'textMain2': '#FFFDD0', // Alt text color for the whole site
|
||||
'linkMain': '#FFD700', // Color for links
|
||||
'btnMain': '#800080', // Background color for buttons
|
||||
'btnMain2': '#FF8C00', // Alt background color for buttons
|
||||
},
|
||||
screens: {
|
||||
'xs': '480px', // Add xs size
|
||||
}
|
||||
colors: {
|
||||
'bgMain': '#F2E6D5', // Main background color
|
||||
'bgMain2': '#5B3A29', // Background color for product cards
|
||||
'textMain': '#4A2C2A', // Main text color
|
||||
'textMain2': '#EAEAEA', // Alt text color
|
||||
'linkMain': '#D69A2D', // Color for links
|
||||
'btnMain': '#A0522D', // Background color for buttons
|
||||
'btnMain2': '#C6A25B', // Revised alt background color for buttons
|
||||
},
|
||||
screens: {
|
||||
'xs': '480px', // Add xs size
|
||||
},
|
||||
fontFamily: {
|
||||
libre: ['"Libre Baskerville"', 'serif'], // Add Libre Baskerville
|
||||
merriweather: ['"Merriweather"', 'serif'], // Add Merriweather
|
||||
},
|
||||
}
|
||||
}
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user