polished webspages and completed implementation.

This commit is contained in:
George Birikorang 2025-08-19 05:16:00 -04:00
parent 23791a2768
commit 9a3a106fca
7 changed files with 1194 additions and 172 deletions

202
blog.html
View file

@ -9,6 +9,18 @@
content="Read our latest blog posts about furniture design and interior styling."
/>
<link rel="stylesheet" href="styles/main.css" />
<style>
/* Smooth scrolling for the entire page */
html {
scroll-behavior: smooth;
}
/* Active navigation link styling */
.nav-link.active {
color: #b8873f !important;
font-weight: 500;
}
</style>
<link
href="https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&family=Playfair+Display:wght@100;200;300;400;500;600;700&family=Poppins:wght@400;500;600&display=swap"
rel="stylesheet"
@ -35,56 +47,56 @@
<li>
<a
href="index.html"
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
href="index.html#products"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>Products</a
>
</li>
<li>
<a
href="projects.html"
class="text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-colors text-shadow-default"
href="index.html#projects-button"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
href="index.html#clients"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
href="index.html#about"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>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 text-shadow-default"
class="nav-link text-black hover:text-gray-600 font-playfair text-md font-extralight tracking-wider transition-colors text-shadow-default"
>Quote</a
>
</li>
@ -126,9 +138,9 @@
<div class="max-w-7xl mx-auto px-5">
<div class="grid grid-cols-1 lg:grid-cols-3 gap-16">
<!-- Main Blog Content -->
<div class="lg:col-span-2">
<div id="main-blog-content" class="lg:col-span-2">
<!-- Blog Post -->
<article class="mb-16">
<article class="mb-16" data-tags="wood" data-date="2022-10-14">
<!-- Featured Image -->
<div class="mb-8">
<img
@ -202,33 +214,79 @@
</p>
<!-- Read More Link -->
<a
href="#"
class="inline-block font-playfair font-normal text-base text-black border-b border-black hover:text-gray-600 hover:border-gray-600 transition-colors"
<button
type="button"
class="read-more-toggle inline-block font-playfair font-normal text-base text-black border-b border-black hover:text-gray-600 hover:border-gray-600 transition-colors"
>
Read more
</a>
</button>
<!-- Full content (initially hidden) -->
<div
class="full-content hidden font-playfair font-normal text-base leading-relaxed text-gray-500 mt-6 text-justify"
>
<p class="mb-4">
Quis hendrerit dolor magna eget est lorem ipsum. Bibendum
arcu vitae elementum curabitur vitae nunc sed velit
dignissim sodales. Non tellus orci ac auctor augue mauris
augue neque gravida in. Nisl condimentum id venenatis a
condimentum vitae sapien pellentesque habitant. Sit amet
volutpat consequat mauris nunc congue nisi vitae suscipit.
Integer enim neque volutpat ac tincidunt vitae semper quis
lectus. Nibh tellus molestie nunc non blandit massa enim
nec. Amet consectetur adipiscing elit ut aliquam purus sit
amet luctus.
</p>
<p class="mb-4">
At tellus at urna condimentum mattis pellentesque id nibh
tortor id. Non quam lacus suspendisse faucibus interdum.
Interdum velit euismod in pellentesque massa placerat duis
ultricies. Platea dictumst quisque sagittis purus sit amet
volutpat consequat. Sem viverra aliquet eget sit amet tellus
cras adipiscing. Eget lorem dolor sed viverra ipsum nunc
aliquet bibendum enim facilisis gravida neque convallis a
cras.
</p>
<p>
Mattis rhoncus urna neque viverra justo nec. Aliquet
porttitor lacus luctus accumsan tortor posuere ac ut
consequat semper viverra nam libero justo laoreet sit amet
cursus sit amet dictum sit amet justo. Risus at ultrices mi
tempus imperdiet nulla malesuada pellentesque elit.
</p>
</div>
</article>
<!-- Pagination -->
<div class="flex items-center justify-center space-x-4">
<div
id="blog-pagination"
class="flex items-center justify-center space-x-4"
>
<button
class="w-15 h-15 bg-uc-gold text-white font-playfair font-normal text-xl rounded-lg"
type="button"
data-page="1"
class="blog-page-btn inline-flex items-center justify-center px-6 py-2 bg-uc-gold text-white font-playfair font-normal text-xl rounded-full shadow-sm"
>
1
</button>
<button
class="w-15 h-15 bg-linen text-black font-playfair font-normal text-xl rounded-lg hover:bg-uc-gold hover:text-white transition-all"
type="button"
data-page="2"
class="blog-page-btn inline-flex items-center justify-center px-6 py-2 bg-linen text-black font-playfair font-normal text-xl rounded-full hover:bg-uc-gold hover:text-white transition-all shadow-sm"
>
2
</button>
<button
class="w-15 h-15 bg-linen text-black font-playfair font-normal text-xl rounded-lg hover:bg-uc-gold hover:text-white transition-all"
type="button"
data-page="3"
class="blog-page-btn inline-flex items-center justify-center px-6 py-2 bg-linen text-black font-playfair font-normal text-xl rounded-full hover:bg-uc-gold hover:text-white transition-all shadow-sm"
>
3
</button>
<button
class="px-8 h-15 bg-linen text-black font-playfair font-normal text-xl rounded-lg hover:bg-uc-gold hover:text-white transition-all"
type="button"
id="blog-next-btn"
class="inline-flex items-center justify-center px-6 py-2 bg-linen text-black font-playfair font-normal text-xl rounded-full hover:bg-uc-gold hover:text-white transition-all shadow-sm"
>
Next
</button>
@ -241,6 +299,7 @@
<div class="bg-white p-6 rounded-lg shadow-sm mb-8">
<div class="relative">
<input
id="blog-search-input"
type="text"
placeholder="Search..."
class="w-full px-4 py-3 font-playfair font-normal text-base text-gray-500 bg-white border border-gray-300 rounded-lg focus:outline-none focus:border-uc-gold pr-12"
@ -259,56 +318,19 @@
Categories
</h3>
<div class="space-y-4">
<div class="flex justify-between items-center">
<span
class="font-playfair font-normal text-base text-gray-500"
>Crafts</span
>
<span
class="font-playfair font-normal text-base text-gray-500"
>(2)</span
>
</div>
<div class="flex justify-between items-center">
<span
class="font-playfair font-normal text-base text-gray-500"
>Design</span
>
<span
class="font-playfair font-normal text-base text-gray-500"
>(8)</span
>
</div>
<div class="flex justify-between items-center">
<span
class="font-playfair font-normal text-base text-gray-500"
>Handmade</span
>
<span
class="font-playfair font-normal text-base text-gray-500"
>(7)</span
>
</div>
<div class="flex justify-between items-center">
<span
class="font-playfair font-normal text-base text-gray-500"
>Interior</span
>
<span
class="font-playfair font-normal text-base text-gray-500"
>(1)</span
>
</div>
<div class="flex justify-between items-center">
<span
class="font-playfair font-normal text-base text-gray-500"
>Wood</span
>
<span
class="font-playfair font-normal text-base text-gray-500"
>(6)</span
>
</div>
<button
type="button"
class="flex justify-between items-center w-full text-left tag-filter px-4 py-3 rounded-lg border border-gray-300 hover:border-uc-gold hover:bg-gray-50 transition-colors"
data-tag="wood"
aria-pressed="false"
>
<span class="font-playfair font-normal text-base">
Wood
</span>
<span class="font-playfair font-normal text-base">
(1)
</span>
</button>
</div>
</div>
@ -321,7 +343,7 @@
<!-- Recent Post 1 -->
<div class="flex space-x-4">
<img
src="assets/images/blog_thumb_1.jpg"
src="assets/images/blog_thumb_1.png"
alt="Blog thumbnail"
class="w-20 h-20 object-cover rounded-lg"
/>
@ -347,32 +369,40 @@
</main>
<!-- Footer -->
<footer class="bg-white">
<footer class="bg-white border-t border-black border-opacity-20">
<!-- Main Footer Content -->
<div class="max-w-7xl mx-auto px-5 py-16">
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-8">
<!-- Company Information -->
<div class="space-y-2">
<div class="space-y-1">
<!-- Logo -->
<div class="w-16 h-20">
<img
src="assets/images/khy_logo.png"
alt="khy"
class="w-full h-full object-contain"
/>
<div class="w-16 h-20 -mt-6">
<a
href="index.html"
aria-label="Go to KHY home"
title="KHY Home"
class="inline-block w-full h-full group focus:outline-none focus-visible:ring-2 focus-visible:ring-uc-gold rounded-md transition"
>
<img
src="assets/images/khy_logo.png"
alt="KHY logo"
loading="lazy"
class="w-full h-full object-contain transition-transform duration-300 group-hover:scale-105"
/>
</a>
</div>
<!-- Address -->
<p
class="font-playfair font-normal text-base leading-relaxed text-gray-600"
class="font-playfair font-normal text-base leading-relaxed text-gray-600 -mt-4"
>
5 Labone Crescent, Greater Accra, Ghana
</p>
<!-- Contact Info -->
<div class="space-y-1">
<div class="space-y-1 -mt-2">
<!-- Phone -->
<div class="flex items-center space-x-3">
<div class="flex items-center space-x-3 -mt-1">
<img
src="assets/images/phone.png"
alt="Phone"
@ -384,7 +414,7 @@
</div>
<!-- Email -->
<div class="flex items-center space-x-3">
<div class="flex items-center space-x-3 -mt-1">
<img src="assets/images/mail.png" alt="Email" class="w-4 h-4" />
<span class="font-playfair font-normal text-base text-gray-800">
design@khyltd.com