mirror of
https://git.kh3group.com/georgebiri/khy_website.git
synced 2026-10-16 19:51:49 +00:00
feat: add tailwind
This commit is contained in:
parent
34d6f638bd
commit
323c135c84
16 changed files with 2581 additions and 1224 deletions
157
index.html
157
index.html
|
|
@ -5,56 +5,153 @@
|
|||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<title>My Website</title>
|
||||
<link rel="stylesheet" href="styles/main.css" />
|
||||
<link
|
||||
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@200;300;400;500;600;700&display=swap"
|
||||
rel="stylesheet"
|
||||
/>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
<nav>
|
||||
<div class="nav-container">
|
||||
<h1 class="logo">My Website</h1>
|
||||
<ul class="nav-links">
|
||||
<li><a href="index.html">Home</a></li>
|
||||
<li><a href="about.html">About</a></li>
|
||||
<li><a href="services.html">Services</a></li>
|
||||
<li><a href="contact.html">Contact</a></li>
|
||||
<body class="bg-gray-50 font-sans text-gray-800">
|
||||
<!-- Header -->
|
||||
<header class="absolute w-full h-28 top-0 left-0 bg-white shadow-lg z-50">
|
||||
<nav class="h-full">
|
||||
<div
|
||||
class="max-w-7xl mx-auto h-full flex items-center justify-between px-5"
|
||||
>
|
||||
<!-- Logo Section -->
|
||||
<div class="flex items-center">
|
||||
<img
|
||||
src="assets/images/KHY logo.png"
|
||||
alt="KHY Logo"
|
||||
class="h-16 w-auto"
|
||||
/>
|
||||
</div>
|
||||
|
||||
<!-- Navigation -->
|
||||
<ul class="flex space-x-10">
|
||||
<li>
|
||||
<a
|
||||
href="index.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Home</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="products.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Products</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="projects.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Projects</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="clients.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Clients</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="about.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>About</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="contact.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Contact</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="blog.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Blog</a
|
||||
>
|
||||
</li>
|
||||
<li>
|
||||
<a
|
||||
href="quote.html"
|
||||
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors drop-shadow-lg"
|
||||
>Quote</a
|
||||
>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
</header>
|
||||
|
||||
<main>
|
||||
<section class="hero">
|
||||
<div class="container">
|
||||
<h2>Welcome to My Website</h2>
|
||||
<p>
|
||||
<!-- Hero Section -->
|
||||
<section
|
||||
class="bg-gradient-to-br from-blue-600 to-purple-700 text-white text-center py-16 min-h-[60vh] flex items-center"
|
||||
>
|
||||
<div class="max-w-6xl mx-auto px-5">
|
||||
<h2 class="text-5xl font-light mb-4">Welcome to My Website</h2>
|
||||
<p class="text-xl mb-8 opacity-90">
|
||||
This is a simple, clean starter template for your static website.
|
||||
</p>
|
||||
<button class="cta-button">Get Started</button>
|
||||
<button
|
||||
class="bg-red-500 hover:bg-red-600 text-white px-8 py-4 text-lg rounded-lg transition-colors"
|
||||
>
|
||||
Get Started
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
<section class="features">
|
||||
<div class="container">
|
||||
<h2>What We Offer</h2>
|
||||
<div class="features-grid">
|
||||
<div class="feature-card">
|
||||
<h3>Quality Service</h3>
|
||||
<p>We provide top-notch services tailored to your needs.</p>
|
||||
<!-- Features Section -->
|
||||
<section class="py-16 bg-white">
|
||||
<div class="max-w-6xl mx-auto px-5">
|
||||
<h2 class="text-4xl font-light text-center text-gray-800 mb-8">
|
||||
What We Offer
|
||||
</h2>
|
||||
<div class="grid grid-cols-1 md:grid-cols-3 gap-8 mt-12">
|
||||
<div
|
||||
class="bg-white p-8 rounded-lg shadow-lg text-center hover:-translate-y-1 transition-transform"
|
||||
>
|
||||
<h3 class="text-2xl font-semibold text-gray-800 mb-4">
|
||||
Quality Service
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
We provide top-notch services tailored to your needs.
|
||||
</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<h3>Expert Team</h3>
|
||||
<p>Our experienced team is here to help you succeed.</p>
|
||||
<div
|
||||
class="bg-white p-8 rounded-lg shadow-lg text-center hover:-translate-y-1 transition-transform"
|
||||
>
|
||||
<h3 class="text-2xl font-semibold text-gray-800 mb-4">
|
||||
Expert Team
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Our experienced team is here to help you succeed.
|
||||
</p>
|
||||
</div>
|
||||
<div class="feature-card">
|
||||
<h3>24/7 Support</h3>
|
||||
<p>Round-the-clock support whenever you need us.</p>
|
||||
<div
|
||||
class="bg-white p-8 rounded-lg shadow-lg text-center hover:-translate-y-1 transition-transform"
|
||||
>
|
||||
<h3 class="text-2xl font-semibold text-gray-800 mb-4">
|
||||
24/7 Support
|
||||
</h3>
|
||||
<p class="text-gray-600">
|
||||
Round-the-clock support whenever you need us.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</main>
|
||||
|
||||
<footer>
|
||||
<div class="container">
|
||||
<!-- Footer -->
|
||||
<footer class="bg-gray-800 text-white text-center py-8">
|
||||
<div class="max-w-6xl mx-auto px-5">
|
||||
<p>© 2024 My Website. All rights reserved.</p>
|
||||
</div>
|
||||
</footer>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue