PageSourceSearch

https://hintononline.com/static/js/293.e389ac43.chunk.js

js hintononline.com collected 2026-10-09 22:44:02 UTC 4,565 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[293],{9293(e,t,i){i.r(t),i.d(t,{default:()=>c});var l=i(5043),a=i(1818),s=i(579);const r={Beer:["Beer","Lager","IPA","NEIPA","Double IPA","Session APA","Pale Ale","Stout","Milk Stout","Non-Alcoholic Lager"],Cider:["Craft Cider","Kent Craft Cider","Somerset Craft Cider"],Gin:["Gin","Gin Liqueur","Non-Alcoholic Gin"],Whisky:["Whiskey","Whisky","Blended Whiskey"],Rum:["Rum"],Tequila:["Tequila"],Vodka:["Vodka","Non-Alcoholic Vodka"],Cocktails:["Pre-Made Cocktail","Pre-Mixed Drink"],Aperitif:["Aperitif","Non-Alcoholic Aperitif","Digestif"],Coffee:["Coffee Liqueur"],"Non-Alcoholic":["Botanical Drink","Non-Alcoholic Botanical Drink","Low Alcohol Botanical Drink","Tonic Enhancer"]};function n(e){for(const[t,i]of Object.entries(r))if(i.includes(e))return t;return"Other"}function o(e){let{drink:t}=e;const i=[["Taste",t.taste],["Label Design",t.label_design],["Value",t.value],["Overall",t.overall]];return(0,s.jsxs)("div",{className:"border border-black/15 bg-white p-6 md:p-7 flex flex-col h-full","data-testid":"bar-drink-".concat(t.id),children:[t.image_url&&(0,s.jsx)("div",{className:"aspect-[3/4] bg-[#F4F1EA] mb-5 overflow-hidden flex items-center justify-center",children:(0,s.jsx)("img",{src:t.image_url,alt:t.name,loading:"lazy",className:"w-full h-full object-contain p-3 transition-transform duration-700 hover:scale-105"})}),(0,s.jsx)("div",{className:"overline text-[var(--hinton-red)] mb-2",children:t.category}),(0,s.jsx)("h3",{className:"font-serif-ed font-semibold text-2xl leading-tight",children:t.name}),(0,s.jsx)("div",{className:"mt-1 text-sm font-mono-ed text-neutral-600",children:t.cost}),(0,s.jsx)("div",{className:"mt-5 space-y-3",children:i.map(e=>{let[t,i]=e;return(0,s.jsxs)("div",{children:[(0,s.jsxs)("div",{className:"flex justify-between text-[11px] uppercase tracking-[0.18em] font-semibold mb-1",children:[(0,s.jsx)("span",{children:t}),(0,s.jsxs)("span",{className:"font-mono-ed text-neutral-600",children:[i.toFixed(1),"/5"]})]}),(0,s.jsx)("div",{className:"rating-bar-track",children:(0,s.jsx)("div",{className:"rating-bar-fill",style:{width:"".concat(i/5*100,"%")}})})]},t)})}),(0,s.jsx)("p",{className:"mt-5 text-sm text-neutral-700 leading-relaxed font-serif-ed italic",children:t.review})]})}function c(){const[e,t]=(0,l.useState)([]),[i,r]=(0,l.useState)(!0),[c,d]=(0,l.useState)("All");(0,l.useEffect)(()=>{a.FH.get("/drinks").then(e=>{let{data:i}=e;return t(i)}).catch(()=>{}).finally(()=>r(!1))},[]);const x=["All",...["All","Beer","Cider","Gin","Whisky","Rum","Tequila","Vodka","Cocktails","Aperitif","Coffee","Non-Alcoholic"].slice(1).filter(t=>e.some(e=>n(e.category)===t))],m="All"===c?e:e.filter(e=>n(e.category)===c);return(0,s.jsxs)("div",{className:"bg-[#111] text-white","data-testid":"bar-page",children:[(0,s.jsxs)("div",{className:"px-4 sm:px-6 lg:px-10 py-14 md:py-20 border-b border-white/15",children:[(0,s.jsx)("div",{className:"overline text-[var(--hinton-red)] mb-3",children:"Tasting Notes"}),(0,s.jsxs)("h1",{className:"font-display text-5xl sm:text-6xl md:text-7xl lg:text-8xl font-black tracking-[-0.045em] leading-[0.9]",children:["Hinton Bar",(0,s.jsx)("span",{className:"text-[var(--hinton-red)]",children:"."})]}),(0,s.jsx)("p",{className:"mt-5 max-w-2xl text-neutral-300 text-lg leading-relaxed",children:"The Hinton drinks desk reviews the spirits, mixers and bottles passing across our counter. Honest ratings, real notes, no fluff."}),!i&&(0,s.jsxs)("div",{className:"mt-8 text-[11px] font-mono-ed uppercase tracking-[0.22em] text-neutral-400",children:[e.length," reviews \xb7 ",x.length-1," categories"]})]}),!i&&e.length>0&&(0,s.jsx)("div",{className:"px-4 sm:px-6 lg:px-10 py-5 border-b border-white/10 overflow-x-auto","data-testid":"bar-filter-strip",children:(0,s.jsx)("div",{className:"flex gap-2 min-w-max",children:x.map(e=>(0,s.jsx)("button",{onClick:()=>d(e),className:"px-4 py-2 text-[11px] uppercase tracking-[0.2em] font-semibold transition-colors border ".concat(c===e?"bg-white text-black border-white":"border-white/30 text-neutral-300 hover:border-white hover:text-white"),"data-testid":"bar-filter-".concat(e.replace(/\s+/g,"-").toLowerCase()),children:e},e))})}),(0,s.jsx)("div",{className:"px-4 sm:px-6 lg:px-10 py-14 md:py-20 grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-
15 text-black",children:i?(0,s.jsx)("div",{className:"col-span-full text-neutral-400",children:"Pouring\u2026"}):m.map(e=>(0,s.jsx)(o,{drink:e},e.id))})]})}}}]);
2//# sourceMappingURL=293.e389ac43.chunk.js.map

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.