Credits: Photos from Unsplash, credited in the README
Description
Sportsteam is a website template for football clubs and other sports teams, built on Bootstrap 5, in yellow and blue club colours. The layout is responsive and mobile-ready and works in all popular web browsers. It comes with seven pages: home, gallery, players, events, about, a match report and contact.
The home page has a framed hero with the club’s headline, news teasers, an “Our Players” slider with previous and next controls, a team photo gallery and the latest events. The inner pages add a gallery with a lightbox, a squad grid where every player has a number and position, events and match reports with pagination, a staff section, a match report with comments and a comment form, and a contact page with a working contact form; the page headers scroll with a parallax effect.
What’s new in 3.0
Bootstrap 5.3.8 (the earlier release used Bootstrap 4.5.0 and jQuery), compiled from Sass with the template’s club colours and the original Bootstrap 4 proportions, and plain JavaScript with no jQuery. Swiper 14 replaces Owl Carousel on the players slider, PhotoSwipe replaces the gallery lightbox and Jarallax replaces Stellar on the page headers; npm run build (Dart Sass and esbuild) compiles one minified stylesheet and one script.
Lighter pages: all eight pages together went from 13.8 MB and 207 requests to 5.0 MB and 139 requests, and the home page from 2.8 MB to 1.2 MB. Every photo has an AVIF version with the JPEG as the fallback, real dimensions and lazy loading, and unused plugins such as jQuery UI, AOS, a countdown, a date picker and MediaElement are gone.
No third-party requests: the Oswald headings font is self-hosted, the icon fonts are replaced by Lucide SVG icons and a small social-logo subset (the Twitter bird is now the X logo), and a Google Analytics 4 snippet stays commented out until you add your own ID.
Working forms: the contact form and the match report’s comment form post to an included PHP mail handler with a spam trap and show their status in the page; the sidebar search is a plain GET form.
Accessibility and contrast: a skip link, landmarks and one main heading per page, real buttons for the menu and slider controls, sub-menus that open from the keyboard, labelled fields, descriptive alt text and text colours that meet WCAG AA. Comment author names, the match report’s sidebar headings and the current page in the mobile menu were white on white and are now readable.
Every menu, footer, news and event link now leads to a page or section, every player and staff card has its own name and role, and each page has its own title, description, social sharing tags and structured data.