Foundry
Loading preview…

Home — Photo hero, today's catch board, story, signature dishes, oyster list and visit block.

Every page, and what’s in it

  • HomePhoto hero, today's catch board, story, signature dishes, oyster list and visit block.
  • MenuSix sections with tabs and gluten-free and vegetarian filters.
  • Book a tableDate, party size, live time slots, seating choice and a running summary.
  • Visit & private diningHours, directions, three private dining packages, an enquiry form and an FAQ.

What’s included

  • Daily catch board that dates itself
  • Menu filters for gluten-free and vegetarian
  • Booking form with time slots built from your opening hours
  • Open-now status on every page
  • Private dining packages with an enquiry form
  • Real photography, credited (CC BY 2.0)

Getting it running

Unzip the folder and run:

Open index.html

The download is the complete, unminified source with a README and the licence. Guides for every host, from Netlify to Shopify

DocumentationThe full README that comes in the download. Read it before you buy.

A photo-led site for a seafood restaurant or oyster bar: today's catch, a filterable menu, a booking flow with real time slots, and a private dining page with packages and an enquiry form.

Files

index.html       Hero, today's catch board, story, signature dishes, oyster list, visit
menu.html        Full menu with section tabs and gluten-free / vegetarian filters
book.html        Booking form: date, party size, time slots, seating, summary
visit.html       Hours, directions, private dining packages, enquiry form, FAQ
credits.html     Photo credits (keep this if you keep the photos)
assets/style.css All styling; theme tokens (colours, fonts) at the top
assets/app.js    Opening hours, menu filters, booking and enquiry forms
assets/img/      Photographs, plus credits.json

No build step. Open index.html in a browser, or upload the folder to any static host.

Opening hours

Hours live in the HOURS array at the top of assets/app.js:

{ day: "Friday", open: 12, close: 23, text: "12 – 11pm" },
  • open and close are decimal hours (17.5 is 5.30pm). null means closed.
  • They drive the "Open now" line at the top of every page, the hours lists (today is highlighted) and the times offered in the booking form.

The menu

Each dish is a list item in menu.html:

<li class="menu-item" data-tags="gf">
  <h3>Whole lemon sole</h3><span class="price">£24</span>
  <p>Brown butter, capers, parsley.</p>
  <div class="tags"><span class="tag tag--gf">GF</span></div>
</li>

data-tags is what the filters read: gf for gluten-free, v for vegetarian. The badges in .tags are what people see, so keep the two in step.

Bookings

The booking form validates everything (date within twelve weeks and on an open day, a time, name, email and phone) and shows a confirmation. Some times show as fully booked: that's a repeatable demo pattern in the taken function in assets/app.js. To take real bookings, either:

  • point the form at a form service such as Formspree and handle bookings by email, or
  • replace the form with your booking system's widget (OpenTable, Resy, ResDiary and SevenRooms all provide one) and keep the rest of the page.

Colours and fonts

Everything is themed from the :root block at the top of assets/style.css. --accent is the brass used for buttons; --ink is the navy. The online editor changes these for you.

Photo credits

The photographs are licensed CC BY 2.0, which means you can use them commercially as long as the photographers are credited. credits.html (linked in every footer) does that. If you replace a photo with your own, remove its line from credits.html.

Reviews

No reviews yet. Only verified buyers can review.