Skip to content

Travel Agency Landing Page with Destination Photos

Tailwind CSS travel agency landing page with a photo hero, trip search, filterable destination cards, tours, testimonials and newsletter.

Also known as: travel agency website, tour operator landing page, destination landing page, trip booking homepage, travel website homepage

Travel Agency Landing Page with Destination Photos live demo

Open in new tab

Tailwind CSS code (HTML, CSS, JS)

A complete travel agency landing page built with Tailwind CSS, with a full-bleed destination photo hero, a trip search bar, filterable destination cards, guided tour listings, traveler testimonials and a newsletter signup. It suits tour operators, travel agencies, boutique hotels and any booking site that sells experiences through strong photography.

How it works

Everything lives inside div.ta-site, a warm sand background with deep teal (#14302f) text and an orange accent. The header is absolutely positioned over the hero; on desktop the ul.ta-menu shows inline links, while on small screens a round [data-ta-toggle] button opens the same list as a dark dropdown by adding .ta-menu--open (defined in style.css). The hero photo sits behind a teal gradient so the headline stays readable. Below the headline, the [data-ta-search] form groups destination, month and travelers into one rounded white bar that stacks on phones.

The destinations section lists six photo cards in a responsive grid. Each li carries a data-region value, and the .ta-chip buttons above it carry a matching data-ta-filter. A dark tours band, figure testimonials with portraits and a [data-ta-newsletter] form follow.

The script initializes each .ta-site on DOMContentLoaded: it toggles the mobile menu (closing on Escape or link click), filters cards by setting the hidden attribute, and simulates both forms with a short setTimeout. Replace those timeouts with fetch() calls to your search and newsletter endpoints; comments in script.js mark the spots. All photos come from Unsplash; replace them with your own destination images.

Customization

  • bg-[#14302f] on the tours band and text-[#14302f] on .ta-site: change the deep teal brand color across the page; update the matching #14302f values in style.css.
  • bg-orange-400 on the buttons, badge and highlighted testimonial: swap for another accent such as bg-lime-300.
  • data-region on each destination li and data-ta-filter on .ta-chip: add new regions such as africa by adding a chip and tagging cards with the same value.
  • min-h-[640px] on the hero section: make the hero taller or shorter.
  • from-[#0b2524]/90 via-[#0b2524]/60 on the hero overlay: lighten or darken the gradient for brighter or busier photos.
  • lg:grid-cols-3 on the destinations grid: show two or four cards per row.
  • The 14 trips found text in initSearch inside script.js: replace with the count returned by your API.

Use cases

  • Travel agencies: a full-bleed destination hero with a trip search bar for destination, month and travelers
  • Tour operators: guided tour listings and traveler testimonials build trust on one page
  • Boutique hotels: photo-led destination cards can be filtered by region
  • Booking sites: collect newsletter signups with a simple email form at the bottom
  • Mobile visitors: a round menu button opens the navigation as a dark dropdown

Accessibility

The menu button uses aria-expanded, aria-controls and a changing hidden label ("Open menu" / "Close menu"). Filter chips are buttons inside a labelled role="group" with aria-pressed, and a polite live region announces how many destinations are shown. Both forms report results through role="status" messages; the email field gets aria-invalid and focus on error. Every image has descriptive alt text, star ratings include a screen-reader sentence, and hover zoom and lift effects are disabled with motion-reduce: utilities. All links and controls show an orange focus ring.

Usage notes

Needs the Tailwind browser build (added automatically). The page uses fixed id values such as ta-menu and ta-email, so rename them if you place two copies on one page.

Travel Agency Landing Page with Destination Photos at a glance

Framework
Tailwind CSS
Code
HTML, CSS, JavaScript
JavaScript
Vanilla JavaScript, no jQuery
Dependencies
Tailwind CSS
Layout
Responsive, works on mobile
Category
Landing Pages
License
Free for personal and commercial use

Questions about this template

Can I use the Travel Agency Landing Page with Destination Photos code for free?

Yes. You can copy or download the code and use it in personal and commercial projects, including client work. No sign-up is needed. Reselling it as part of a component library or template collection is not allowed; see the license.

How do I add it to my website?

Load Tailwind CSS from a CDN (the links are under Requirements). Paste the HTML where the component should appear, add the CSS to your stylesheet and load the JavaScript before the closing </body> tag. Download HTML gives you a complete page with everything already linked.

Does it need jQuery or a JavaScript framework?

No. The script is plain vanilla JavaScript, so it works without jQuery, React or Vue. You can still use the markup inside those frameworks.

Does it work on mobile?

Yes. The layout adapts to small screens. Use the Mobile and Tablet buttons above the live demo to check it at phone and tablet width.

Requirements

Add these to your page (already included in the download):

  • <script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>

The Tailwind browser build is for prototyping. In production, compile Tailwind with its CLI or your bundler.

Travel Agency Landing Page with Destination Photos – Tailwind CSS landing pages component screenshot
Travel Agency Landing Page with Destination Photos · Tailwind CSS Landing Pages

More Landing Pages

Mobile App Landing Page – Bootstrap 5 landing pages preview

Mobile App Landing Page

Bootstrap 5 mobile app landing page with a CSS phone mockup, floating notification cards, store buttons, feature grid, steps and a gradient call to action.

SaaS Landing Page – Tailwind CSS landing pages preview

SaaS Landing Page

Complete Tailwind CSS SaaS landing page with dark hero, feature grid, monthly/yearly pricing switch, FAQ accordion and footer.