time / Index.html
Stevensayer7's picture
Rename index.html to Index.html
00d3c8f verified
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>EACH Pricing Guide</title>
<script src="https://cdn.tailwindcss.com"></script>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
<style>
body {
font-family: 'Inter', sans-serif;
background-color: #4c1d95;
}
.scrollbar-hide::-webkit-scrollb ar {
display: none;
}
.scrollbar-hide {
-ms-overflow-style: none;
scrollbar-width: none;
}
.fade-in {
animation: fadeIn 0.3s ease-in-out;
}
@keyframes fadeIn {
from { opacity: 0; }
to { opacity: 1; }
}
.performance-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
}
.performance-table th {
background-color: #5B2C6F;
color: white;
padding: 0.5rem;
text-align: center;
font-weight: 600;
}
.performance-table td {
padding: 0.375rem;
border-bottom: 1px solid #5B2C6F;
}
.performance-table tr:nth-child(even) {
background-color: #5B2C6F20;
}
.performance-table tr:hover {
background-color: #5B2C6F40;
}
.text-green {
color: #4ade80;
}
.text-red {
color: #f87171;
}
</style>
</head>
<body class="min-h-screen p-4">
<div id="app" class="max-w-4xl mx-auto">
<!-- Header -->
<div class="flex items-center justify-between bg-gradient-to-r from-purple-800 to-purple-600 p-4 rounded-lg mb-4 shadow-lg">
<div class="flex items-center">
<div class="mr-3">
<div class="flex flex-col shadow-lg">
<div class="bg-purple-900 w-16 h-10 flex items-center justify-center border-t border-l border-r border-purple-800">
<div class="text-white font-bold text-xl tracking-wide lowercase">each</div>
</div>
<div class="bg-gradient-to-b from-orange-500 to-orange-600 w-16 py-0.5 px-0.5 border-b border-l border-r border-orange-600">
<div class="text-white text-center leading-tight text-xs">
East Anglia's<br>Children's Hospices
</div>
</div>
</div>
</div>
<div>
<h1 class="text-3xl font-bold text-white">Pricing Guide</h1>
<p class="text-xs text-purple-300">Your complete brand pricing reference</p>
</div>
</div>
<button id="settingsBtn" class="p-2 bg-purple-700 hover:bg-purple-500 rounded-full transition-colors shadow-md">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-6 h-6 text-white">
<path d="M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z"></path>
<circle cx="12" cy="12" r="3"></circle>
</svg>
</button>
</div>
<!-- Tabs -->
<div class="flex space-x-2 items-center justify-start mb-4 overflow-x-auto pb-2 scrollbar-hide">
<button id="categoriesTab" class="flex items-center justify-center transition-colors rounded-lg bg-purple-500 w-16 h-16 ring-2 ring-white shrink-0">
<span class="text-4xl">👗</span>
</button>
<button id="sweTab" class="flex items-center justify-center transition-colors rounded-lg bg-purple-500 w-16 h-16 shrink-0">
<span class="text-4xl">🤩</span>
</button>
<button id="ebayTab" class="flex items-center justify-center transition-colors rounded-lg bg-purple-600 w-16 h-16 shrink-0">
<div class="flex items-center justify-center text-2xl font-bold">
<span class="text-red-600">e</span>
<span class="text-blue-600">b</span>
<span class="text-yellow-500">a</span>
<span class="text-green-600">y</span>
</div>
</button>
<button id="doNotSellTab" class="flex items-center justify-center transition-colors rounded-lg bg-purple-500 w-16 h-16 shrink-0">
<div class="rounded-full bg-red-600 w-12 h-12 flex items-center justify-center">
<div class="bg-white h-2 w-8 rounded-sm"></div>
</div>
</button>
<button id="performanceTab" class="flex items-center justify-center transition-colors rounded-lg bg-purple-500 w-16 h-16 shrink-0">
<span class="text-4xl">📊</span>
</button>
</div>
<!-- Main Content -->
<div id="contentContainer">
<!-- Categories Section (default) -->
<div id="categoriesSection" class="fade-in">
<div class="relative mt-4">
<input id="searchInput" type="text" placeholder="Search brands or categories..." class="w-full bg-purple-600 rounded-lg p-3 pl-10 text-white placeholder-purple-300 focus:outline-none focus:ring-2 focus:ring-purple-400">
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="w-5 h-5 absolute left-3 top-3.5 text-purple-300">
<circle cx="11" cy="11" r="8"></circle>
<line x1="21" y1="21" x2="16.65" y2="16.65"></line>
</svg>
</div>
<div id="searchInfo" class="hidden bg-purple-800 p-3 rounded-lg mt-2"></div>
<div id="categoriesContent" class="space-y-4 mt-4">
<div class="bg-purple-600 rounded-lg p-4 text-center space-y-4">
<div class="flex justify-center">
<span class="text-5xl">🏷️</span>
</div>
<h2 class="text-xl font-semibold">Welcome to the Pricing Guide</h2>
<p>Search for brand names or categories to find pricing information.</p>
<div class="bg-purple-700 rounded-lg p-3 text-sm">
<p class="font-medium mb-2">Search suggestions:</p>
<div class="flex flex-wrap gap-2 justify-center">
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Ladies">Ladies</button>
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Gold">Gold</button>
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Men's">Men's</button>
</div>
</div>
</div>
</div>
</div>
<!-- Style With EACH Brands Section -->
<div id="sweSection" class="hidden fade-in">
<div class="bg-purple-600 rounded-lg p-4">
<div class="flex items-center mb-4">
<span class="text-2xl mr-2">🌟</span>
<h2 class="text-xl font-semibold">Style With EACH Brands</h2>
</div>
<div class="grid grid-cols-2 gap-3 md:grid-cols-3">
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Lucy & Yak</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Football Shirts</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Berghaus</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Trainers</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Kate Spade</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Tour T-shirts</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Whistles</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Cowboy/Cowgirl Boots</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Stone Island</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Vintage/Rare T-shirts</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Laura Ashley (Vintage only)</div>
<div class="bg-purple-700 rounded-2xl px-4 py-3 text-center">Dr. Martens Boots</div>
</div>
</div>
</div>
<!-- eBay Section -->
<div id="ebaySection" class="hidden fade-in">
<div class="bg-purple-600 rounded-lg p-4">
<div class="flex items-center mb-4">
<div class="flex items-center text-3xl font-bold mr-3">
<span class="text-red-600">e</span>
<span class="text-blue-600">b</span>
<span class="text-yellow-500">a</span>
<span class="text-green-600">y</span>
</div>
<h2 class="text-xl font-semibold">eBay Reseller Guide</h2>
</div>
<!-- Gold Markings -->
<div class="bg-purple-700 rounded-lg p-4 mb-4">
<h3 class="font-semibold mb-3 flex items-center">
<span class="text-xl mr-2"></span>
Gold Hallmark Guide
</h3>
<div class="grid grid-cols-2 gap-3 md:grid-cols-3">
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">375</div>
<div class="text-sm">9 carat (37.5% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">585</div>
<div class="text-sm">14 carat (58.5% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">750</div>
<div class="text-sm">18 carat (75% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">916</div>
<div class="text-sm">22 carat (91.6% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">990</div>
<div class="text-sm">24 carat (99% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-yellow-300 mb-1">GF / RGP</div>
<div class="text-sm">Gold Filled / Rolled Gold</div>
</div>
</div>
</div>
<!-- Silver Markings -->
<div class="bg-purple-700 rounded-lg p-4 mb-4">
<h3 class="font-semibold mb-3 flex items-center">
<span class="text-xl mr-2">🥈</span>
Silver Hallmark Guide
</h3>
<div class="grid grid-cols-2 gap-3 md:grid-cols-3">
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-gray-300 mb-1">925</div>
<div class="text-sm">Sterling Silver (92.5% pure)</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-gray-300 mb-1">800</div>
<div class="text-sm">80% Silver content</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-gray-300 mb-1">EPNS</div>
<div class="text-sm">Electroplated Nickel Silver</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<div class="font-medium text-gray-300 mb-1">A1</div>
<div class="text-sm">Highest grade silver plate</div>
</div>
</div>
</div>
<!-- Toy Identification Guide -->
<div class="bg-purple-700 rounded-lg p-4 mb-4">
<h3 class="font-semibold mb-3 flex items-center">
<span class="text-xl mr-2">🧸</span>
Toy Identification Guide
</h3>
<div class="bg-purple-800 rounded-lg p-3 mb-2">
<div class="flex justify-between items-center">
<h4 class="font-medium">Key Value Indicators</h4>
<span class="text-xs bg-purple-600 px-2 py-1 rounded text-purple-300">Toy Guide</span>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-2 mt-2">
<div class="bg-purple-700 p-2 rounded text-sm">
<span class="text-green-400 mr-1"></span>
<strong>Pre-2000 Toys</strong> (70s-90s are best)
</div>
<div class="bg-purple-700 p-2 rounded text-sm">
<span class="text-green-400 mr-1"></span>
<strong>Factory Sealed</strong> (NIB/NOS)
</div>
<div class="bg-purple-700 p-2 rounded text-sm">
<span class="text-green-400 mr-1"></span>
<strong>Limited Editions</strong> & Exclusives
</div>
<div class="bg-purple-700 p-2 rounded text-sm">
<span class="text-green-400 mr-1"></span>
<strong>Original Star Wars</strong> (1977-1985)
</div>
</div>
</div>
<div class="flex text-sm mb-3">
<div class="bg-purple-800 p-2 rounded-l w-1/2">
<h5 class="font-medium mb-1">Check For:</h5>
<ul class="space-y-1 pl-1">
<li><span class="text-purple-300 mr-1"></span>Year of Manufacture</li>
<li><span class="text-purple-300 mr-1"></span>Country of Origin</li>
<li><span class="text-purple-300 mr-1"></span>Model/Serial Numbers</li>
</ul>
</div>
<div class="bg-purple-800 p-2 rounded-r w-1/2">
<h5 class="font-medium mb-1">Avoid:</h5>
<ul class="space-y-1 pl-1">
<li><span class="text-purple-300 mr-1"></span>Overproduced items</li>
<li><span class="text-purple-300 mr-1"></span>Missing pieces</li>
<li><span class="text-purple-300 mr-1"></span>Knockoffs/bootlegs</li>
</ul>
</div>
</div>
<div class="text-sm bg-purple-700 p-2 rounded-md flex">
<span class="text-yellow-300 mr-1">💡</span>
<span><strong>Pro Tip:</strong> Always check eBay Sold Listings to verify value before buying!</span>
</div>
</div>
<!-- Hidden Gems -->
<div class="bg-purple-700 rounded-lg p-4 mb-4">
<h3 class="font-semibold mb-3 flex items-center">
<span class="text-xl mr-2">💎</span>
Hidden Gems to Look For
</h3>
<div class="space-y-3">
<div class="bg-purple-800 rounded-lg p-3">
<h4 class="font-medium mb-1">Clothing Tags to Watch For</h4>
<div class="grid grid-cols-2 gap-2 md:grid-cols-3 text-sm">
<div class="bg-purple-700 p-2 rounded-md">Burberry Nova Check</div>
<div class="bg-purple-700 p-2 rounded-md">Vintage Levi's Red Tab</div>
<div class="bg-purple-700 p-2 rounded-md">Nike ACG</div>
<div class="bg-purple-700 p-2 rounded-md">Dead Stock Sportswear</div>
<div class="bg-purple-700 p-2 rounded-md">Band Tour T-shirts</div>
<div class="bg-purple-700 p-2 rounded-md">1990s Y2K Brands</div>
</div>
</div>
<div class="bg-purple-800 rounded-lg p-3">
<h4 class="font-medium mb-1">Collectible Items</h4>
<div class="grid grid-cols-2 gap-2 md:grid-cols-3 text-sm">
<div class="bg-purple-700 p-2 rounded-md">Vintage Board Games</div>
<div class="bg-purple-700 p-2 rounded-md">Retired LEGO Sets</div>
<div class="bg-purple-700 p-2 rounded-md">First Edition Books</div>
<div class="bg-purple-700 p-2 rounded-md">Vintage Comics</div>
<div class="bg-purple-700 p-2 rounded-md">Film Cameras</div>
<div class="bg-purple-700 p-2 rounded-md">Retro Video Games</div>
</div>
</div>
</div>
</div>
<!-- Seasonal Selling Calendar -->
<div class="bg-purple-700 rounded-lg p-4">
<h3 class="font-semibold mb-3 flex items-center">
<span class="text-xl mr-2">📅</span>
Seasonal Selling Guide
</h3>
<div class="grid grid-cols-2 gap-3 md:grid-cols-4">
<div class="bg-purple-800 rounded-lg p-2">
<h4 class="font-medium text-center border-b border-purple-600 pb-1 mb-2">Winter</h4>
<ul class="text-xs pl-3 list-disc">
<li>Winter coats (Oct-Dec)</li>
<li>Christmas items (Oct-Dec)</li>
<li>Ski gear (Sep-Jan)</li>
<li>Thermal clothing (Sept-Jan)</li>
</ul>
</div>
<div class="bg-purple-800 rounded-lg p-2">
<h4 class="font-medium text-center border-b border-purple-600 pb-1 mb-2">Spring</h4>
<ul class="text-xs pl-3 list-disc">
<li>Garden tools (Feb-May)</li>
<li>Easter items (Feb-Apr)</li>
<li>Spring fashion (Jan-Apr)</li>
<li>Wedding attire (Jan-May)</li>
</ul>
</div>
</div>
</div>
</div>
</div>
<!-- Do Not Sell Section -->
<div id="doNotSellSection" class="hidden fade-in">
<div class="bg-purple-600 rounded-lg p-4 space-y-6">
<div class="flex items-center mb-2">
<div class="rounded-full bg-red-600 w-12 h-12 flex items-center justify-center mr-3">
<div class="bg-white h-2 w-8 rounded-sm"></div>
</div>
<h2 class="text-xl font-semibold">Items Not For Sale</h2>
</div>
<div class="space-y-6">
<!-- Cannot sell anywhere section -->
<div>
<h3 class="text-lg font-medium mb-3 bg-red-600 px-3 py-1 rounded-md inline-block">
Items we cannot sell anywhere
</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3">
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">VAPES</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Bikes</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Cots, Prams, High chairs, Stairgates</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Roller-skates</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Ironing boards with asbestos heat pads</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Bike, riding or motorcycle helmets</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Real fur coats</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Inflatable water bands and rings</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Candles without warning labels</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Firearms, knives or weapons</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Food or drink (including alcohol)</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Offensive, sexist or racist items</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Upholstered furniture without fire labels</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Children's fancy dress costumes</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">TVs that are not flat screen</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Used underwear</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Toys without CE labels</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Children's car seats</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Items containing ivory</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Electric blankets</div>
<div class="bg-purple-700 border border-red-500 rounded-lg px-3 py-2 text-center">Bassinets</div>
</div>
</div>
<!-- Manager's discretion section -->
<div>
<h3 class="text-lg font-medium mb-3 bg-orange-600 px-3 py-1 rounded-md inline-block">
Items we can only accept in shops at the Manager's discretion
</h3>
<p class="text-sm mb-3 text-purple-300">
If unsold these items must be disposed of locally, either through your recycler or your shop bin - please do not return to RDC
</p>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3">
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Computer screens</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Duvets</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Video or music cassettes</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Microwaves (RDC & Clacton only)</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Large Pictures and Photo frames</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Items containing gas or air canisters</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Mattresses</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">Printers</div>
<div class="bg-purple-700 border border-orange-500 rounded-lg px-3 py-2 text-center">CD's and DVD's for culling</div>
</div>
</div>
<!-- Restricted items section -->
<div>
<h3 class="text-lg font-medium mb-3 bg-yellow-600 px-3 py-1 rounded-md inline-block">
Items must be in a cabinet & sold to over 18's
</h3>
<div class="grid grid-cols-1 sm:grid-cols-2 md:grid-cols-3 gap-3">
<div class="bg-purple-700 border border-yellow-500 rounded-lg px-3 py-2 text-center">Knives, scissors & sharp kitchen utensils</div>
<div class="bg-purple-700 border border-yellow-500 rounded-lg px-3 py-2 text-center">Knitting needles</div>
<div class="bg-purple-700 border border-yellow-500 rounded-lg px-3 py-2 text-center">DVD's with 15 or 18 certificates</div>
</div>
<p class="text-sm mt-3 text-purple-300">
Knitting needles may be kept in the sorting room / behind the till. Check the age appropriateness of 15 or 18 certificates for DVD's (do not need to be kept in cabinet).
</p>
</div>
</div>
</div>
</div>
<!-- Performance Section -->
<div id="performanceSection" class="hidden fade-in">
<div class="bg-purple-600 rounded-lg p-4">
<div class="flex items-center mb-4">
<span class="text-2xl mr-2">📊</span>
<h2 class="text-xl font-semibold">South Region YTD (Week 7)</h2>
</div>
<div class="overflow-x-auto">
<table class="performance-table">
<thead>
<tr>
<th>Shop</th>
<th>Actual (£)</th>
<th>Budget (£)</th>
<th>Δ vs Budget</th>
<th>Last Year (£)</th>
<th>Δ vs Last Year</th>
</tr>
</thead>
<tbody>
<tr>
<td class="text-center">ANGO</td>
<td class="text-right">£16,516</td>
<td class="text-right">£17,280</td>
<td class="text-right text-red">–4.4%</td>
<td class="text-right">£16,963</td>
<td class="text-right text-red">–2.6%</td>
</tr>
<tr>
<td class="text-center">CLAC</td>
<td class="text-right">£27,196</td>
<td class="text-right">£26,672</td>
<td class="text-right text-green">+2.0%</td>
<td class="text-right">£25,949</td>
<td class="text-right text-green">+4.8%</td>
</tr>
<tr>
<td class="text-center">COLC</td>
<td class="text-right">£13,458</td>
<td class="text-right">£13,737</td>
<td class="text-right text-red">–2.0%</td>
<td class="text-right">£12,531</td>
<td class="text-right text-green">+7.4%</td>
</tr>
<tr>
<td class="text-center">DOVE</td>
<td class="text-right">£22,458</td>
<td class="text-right">£22,975</td>
<td class="text-right text-red">–2.3%</td>
<td class="text-right">£20,974</td>
<td class="text-right text-green">+7.1%</td>
</tr>
<tr>
<td class="text-center">FELI</td>
<td class="text-right">£23,035</td>
<td class="text-right">£21,774</td>
<td class="text-right text-green">+5.8%</td>
<td class="text-right">£15,920</td>
<td class="text-right text-green">+44.7%</td>
</tr>
<tr>
<td class="text-center">FRAM</td>
<td class="text-right">£21,671</td>
<td class="text-right">£23,268</td>
<td class="text-right text-red">–6.9%</td>
<td class="text-right">£22,982</td>
<td class="text-right text-red">–5.7%</td>
</tr>
<tr>
<td class="text-center">FRIN</td>
<td class="text-right">£23,754</td>
<td class="text-right">£17,989</td>
<td class="text-right text-green">+32.0%</td>
<td class="text-right">£17,748</td>
<td class="text-right text-green">+33.8%</td>
</tr>
<tr>
<td class="text-center">HADL</td>
<td class="text-right">£33,566</td>
<td class="text-right">£32,773</td>
<td class="text-right text-green">+2.4%</td>
<td class="text-right">£33,918</td>
<td class="text-right text-red">–1.0%</td>
</tr>
<tr>
<td class="text-center">HALS</td>
<td class="text-right">£12,431</td>
<td class="text-right">£14,183</td>
<td class="text-right text-red">–12.4%</td>
<td class="text-right">£14,083</td>
<td class="text-right text-red">–11.7%</td>
</tr>
<tr>
<td class="text-center">IPSW</td>
<td class="text-right">£11,992</td>
<td class="text-right">£13,361</td>
<td class="text-right text-red">–10.2%</td>
<td class="text-right">£12,620</td>
<td class="text-right text-red">–5.0%</td>
</tr>
<tr>
<td class="text-center">LEIS</td>
<td class="text-right">£14,649</td>
<td class="text-right">£16,601</td>
<td class="text-right text-red">–11.8%</td>
<td class="text-right">£15,634</td>
<td class="text-right text-red">–6.3%</td>
</tr>
<tr>
<td class="text-center">MERE</td>
<td class="text-right">£14,557</td>
<td class="text-right">£15,472</td>
<td class="text-right text-red">–5.9%</td>
<td class="text-right">£15,030</td>
<td class="text-right text-red">–3.1%</td>
</tr>
<tr>
<td class="text-center">SAXM</td>
<td class="text-right">£26,417</td>
<td class="text-right">£25,624</td>
<td class="text-right text-green">+3.1%</td>
<td class="text-right">£24,936</td>
<td class="text-right text-green">+5.9%</td>
</tr>
<tr>
<td class="text-center">SUDB</td>
<td class="text-right">£15,081</td>
<td class="text-right">£14,690</td>
<td class="text-right text-green">+2.7%</td>
<td class="text-right">£14,327</td>
<td class="text-right text-green">+5.3%</td>
</tr>
<tr>
<td class="text-center">WOOD</td>
<td class="text-right">£31,141</td>
<td class="text-right">£33,837</td>
<td class="text-right text-red">–8.0%</td>
<td class="text-right">£31,718</td>
<td class="text-right text-red">–1.8%</td>
</tr>
</tbody>
</table>
</div>
<div class="mt-4 bg-purple-700 rounded-lg p-3">
<div class="flex items-center">
<span class="text-xl mr-2">📌</span>
<h3 class="font-medium">Key Takeaways</h3>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-3 mt-2">
<div class="bg-purple-800 p-2 rounded-md">
<div class="flex items-center">
<span class="text-green-400 mr-2"></span>
<span class="font-medium">Top Performers:</span>
</div>
<div class="text-sm mt-1">
FRIN (+32.0% vs budget), FELI (+44.7% vs LY), CLAC (+4.8% vs LY)
</div>
</div>
<div class="bg-purple-800 p-2 rounded-md">
<div class="flex items-center">
<span class="text-red-400 mr-2"></span>
<span class="font-medium">Needs Attention:</span>
</div>
<div class="text-sm mt-1">
HALS (-12.4% vs budget), LEIS (-11.8% vs budget), IPSW (-10.2% vs budget)
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- Footer -->
<div class="mt-6 pt-4 border-t border-purple-600 text-center text-purple-300 text-xs">
<p>© 2025 East Anglia's Children's Hospices</p>
<p>
<a href="#" class="text-purple-200 hover:text-white underline">www.each.org.uk</a>
</p>
</div>
</div>
<script>
// Sample data
const BRAND_CATEGORIES = {
ladies: {
name: 'Ladies (Sept 2023)',
emoji: '👗',
brands: [
'Atmosphere',
'BHS',
'Bon Marche',
'Cherokee',
'Damart',
'Evie',
'EWM',
'F & F',
'George',
'M & Co',
'New Look',
'Nutmeg',
'Papaya',
'Primark',
'Select',
'Shein',
'TU',
'ASOS'
],
prices: {
'Blouses/Shirts (Basic)': 3.75,
'Blouses/Shirts (Standard)': 4.5,
'Blouses/Shirts (Standard+)': 4.95,
'T Shirts (Basic)': 2.5,
'T Shirts (Standard)': 3.75,
'T Shirts (Standard+)': 3.95
}
},
ladiesGold: {
name: 'Ladies Gold (Sept 2023)',
emoji: '✨',
brands: [
'Animal',
'Apricot',
'Billabong',
'FatFace',
'GAP',
'Mango',
'Oasis'
],
prices: {
'Blouses/Shirts (Gold G1)': '£7.50 - £10.00',
'Blouses/Shirts (Gold G2)': '£10.00 - £15.00',
'Blouses/Shirts (Gold G3)': '£15.00+'
}
},
mens: {
name: "Men's (Sept 2023)",
emoji: '👔',
brands: [
'George',
'F&F',
'H&M Men',
'Next',
'River Island'
],
prices: {
'Shirts Short (Basic)': 3.5,
'Shirts Short (Standard)': 4.5,
'Shirts Short (Standard+)': 4.75
}
}
};
// Convert categories to an array for easier filtering
const categoryArray = Object.entries(BRAND_CATEGORIES).map(([key, category]) => ({
id: key,
...category
}));
// DOM elements
const categoriesTab = document.getElementById('categoriesTab');
const sweTab = document.getElementById('sweTab');
const ebayTab = document.getElementById('ebayTab');
const doNotSellTab = document.getElementById('doNotSellTab');
const performanceTab = document.getElementById('performanceTab');
const categoriesSection = document.getElementById('categoriesSection');
const sweSection = document.getElementById('sweSection');
const ebaySection = document.getElementById('ebaySection');
const doNotSellSection = document.getElementById('doNotSellSection');
const performanceSection = document.getElementById('performanceSection');
const searchInput = document.getElementById('searchInput');
const searchInfo = document.getElementById('searchInfo');
const categoriesContent = document.getElementById('categoriesContent');
// Tab switching
function showSection(section) {
// Hide all sections
categoriesSection.classList.add('hidden');
sweSection.classList.add('hidden');
ebaySection.classList.add('hidden');
doNotSellSection.classList.add('hidden');
performanceSection.classList.add('hidden');
// Remove active state from all tabs
categoriesTab.classList.remove('ring-2', 'ring-white');
sweTab.classList.remove('ring-2', 'ring-white');
ebayTab.classList.remove('ring-2', 'ring-white');
doNotSellTab.classList.remove('ring-2', 'ring-white');
performanceTab.classList.remove('ring-2', 'ring-white');
// Show selected section and set active tab
switch(section) {
case 'categories':
categoriesSection.classList.remove('hidden');
categoriesTab.classList.add('ring-2', 'ring-white');
break;
case 'swe':
sweSection.classList.remove('hidden');
sweTab.classList.add('ring-2', 'ring-white');
break;
case 'ebay':
ebaySection.classList.remove('hidden');
ebayTab.classList.add('ring-2', 'ring-white');
break;
case 'doNotSell':
doNotSellSection.classList.remove('hidden');
doNotSellTab.classList.add('ring-2', 'ring-white');
break;
case 'performance':
performanceSection.classList.remove('hidden');
performanceTab.classList.add('ring-2', 'ring-white');
break;
}
}
// Event listeners for tabs
categoriesTab.addEventListener('click', () => showSection('categories'));
sweTab.addEventListener('click', () => showSection('swe'));
ebayTab.addEventListener('click', () => showSection('ebay'));
doNotSellTab.addEventListener('click', () => showSection('doNotSell'));
performanceTab.addEventListener('click', () => showSection('performance'));
// Search functionality
function renderPrice(price) {
return typeof price === 'number' ? ${price.toFixed(2)}` : price;
}
function groupPrices(prices) {
const groups = {};
Object.entries(prices).forEach(([key, value]) => {
const baseType = key.split(' (')[0];
if (!groups[baseType]) groups[baseType] = [];
groups[baseType].push({ key, value });
});
return groups;
}
function renderCategoryCard(category) {
const priceGroups = groupPrices(category.prices);
return `
<div class="bg-purple-600 rounded-lg p-4 space-y-3">
<div class="flex items-center justify-between">
<div class="flex items-center">
<span class="text-2xl mr-2">${category.emoji}</span>
<h3 class="text-lg font-semibold">${category.name}</h3>
</div>
</div>
<div class="text-sm text-purple-200">
<div class="font-medium mb-1">Brands:</div>
<div class="max-h-32 overflow-y-auto scrollbar-hide">
${category.brands.map(brand => `
<span class="inline-block bg-purple-700 rounded-full px-2 py-1 text-xs mr-1 mb-1">
${brand}
</span>
`).join('')}
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 gap-2">
${Object.entries(priceGroups).slice(0, 4).map(([groupName, items]) => `
<div class="bg-purple-700 bg-opacity-50 p-2 rounded-md">
<div class="text-sm text-purple-200 font-medium mb-1">
${groupName}
</div>
${items.slice(0, 2).map(({ key, value }) => {
const splitKey = key.split(' (');
const detailPart = splitKey[1] ? splitKey[1].replace(')', '') : '';
return `
<div class="text-sm flex justify-between">
<span class="text-purple-200">${detailPart}</span>
<span>${renderPrice(value)}</span>
</div>
`;
}).join('')}
${items.length > 2 ? `
<div class="text-purple-300 text-xs mt-1">
+ ${items.length - 2} more
</div>
` : ''}
</div>
`).join('')}
</div>
</div>
`;
}
function handleSearch() {
const searchQuery = searchInput.value.trim().toLowerCase();
if (!searchQuery) {
searchInfo.classList.add('hidden');
categoriesContent.innerHTML = `
<div class="bg-purple-600 rounded-lg p-4 text-center space-y-4">
<div class="flex justify-center">
<span class="text-5xl">🏷️</span>
</div>
<h2 class="text-xl font-semibold">Welcome to the Pricing Guide</h2>
<p>Search for brand names or categories to find pricing information.</p>
<div class="bg-purple-700 rounded-lg p-3 text-sm">
<p class="font-medium mb-2">Search suggestions:</p>
<div class="flex flex-wrap gap-2 justify-center">
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Ladies">Ladies</button>
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Gold">Gold</button>
<button class="search-suggestion cursor-pointer bg-purple-500 hover:bg-purple-400 transition-colors rounded-full px-3 py-1" data-query="Men's">Men's</button>
</div>
</div>
</div>
`;
// Reattach event listeners to suggestion buttons
document.querySelectorAll('.search-suggestion').forEach(button => {
button.addEventListener('click', (e) => {
searchInput.value = e.target.dataset.query;
handleSearch();
});
});
return;
}
const filteredResults = categoryArray.filter((category) => {
const nameMatches = category.name.toLowerCase().includes(searchQuery);
const brandMatches = category.brands.some(brand =>
brand.toLowerCase().includes(searchQuery)
);
return nameMatches || brandMatches;
});
searchInfo.classList.remove('hidden');
searchInfo.innerHTML = `
<p>Searching for: ${searchQuery}</p>
<p>Results: ${filteredResults.length}</p>
`;
if (filteredResults.length === 0) {
categoriesContent.innerHTML = `
<div class="bg-purple-600 rounded-lg p-4 text-center">
<p>No categories or brands match your search.</p>
</div>
`;
} else {
categoriesContent.innerHTML = filteredResults.slice(0, 2).map(category =>
renderCategoryCard(category)
).join('');
}
}
// Event listeners
searchInput.addEventListener('input', handleSearch);
// Initialize suggestion buttons
document.querySelectorAll('.search-suggestion').forEach(button => {
button.addEventListener('click', (e) => {
searchInput.value = e.target.dataset.query;
handleSearch();
});
});
// Settings button
document.getElementById('settingsBtn').addEventListener('click', () => {
alert('Settings functionality would go here');
});
// Initialize with categories section visible
showSection('categories');
</script>
<p style="border-radius: 8px; text-align: center; font-size: 12px; color: #fff; margin-top: 16px;position: fixed; left: 8px; bottom: 8px; z-index: 10; background: rgba(0, 0, 0, 0.8); padding: 4px 8px;">Made with <img src="https://enzostvs-deepsite.hf.space/logo.svg" alt="DeepSite Logo" style="width: 16px; height: 16px; vertical-align: middle;display:inline-block;margin-right:3px;filter:brightness(0) invert(1);"><a href="https://enzostvs-deepsite.hf.space" style="color: #fff;text-decoration: underline;" target="_blank" >DeepSite</a> - 🧬 <a href="https://enzostvs-deepsite.hf.space?remix=Stevensayer7/time" style="color: #fff;text-decoration: underline;" target="_blank" >Remix</a></p></body>
</html>