A responsive website built using the Tailwind CSS Framework and HTML5 for a fictional company as part of the 'Manage landing page' challenge by Frontend Mentor and demonstrated by Traversy Media.
:heavy_check_mark: Features
*PLEASE SEE NOTES BELOW
:link: Links
:fountain_pen: Notes
The designs of this site have remained faithful to the breakpoints used in the mockups for mobile and laptop (375px and 1440px respectively.) To adjust these on a global scale, you can either amend the breakpoints in the tailwind.config.js
file (the most convenient option with classes remaining intact) or adjust the inline-classes accordingly on a specific, case-by-case basis.
The slider uses the breakpoints provided in the src files of the project to choose the number of testimonial cards to display at any one time. These can easily be adjusted in the /src/js/testimonial-slider.js
file.
This repo has been deployed client site using Vercel. As such, Vercel handles the server-side optimisations, security and performance metrics, incl. caching, WebP delivery, headers and compression (Gzip and Brotli). Adjustments to these, and others, can be made by creating a vercel.json
file. See Vercel's documentation for further details. The repo owner has also left the WebP versions of the images in the /src
dist should you require them for client-side builds.
Forking/cloning this repo to work on yourself is welcomed. Before doing so however, the repo owner strongly advises reading the following:
package.json
unchanged unless you are creating it entirely from scratch. If not, you are welcome to add your details as a contributor.As well as this, please read below.
While the app has the Tailwind CSS CDN integrated for browser-side deployment, it is highly recommended to run this locally and install Tailwind via npm as follows:
npm install -D tailwindcss
via your chosen CLInpm run watch-css
to begin the live watch (using existing config) N.B. This assumes you keep the structure incl. /public
and /src
dirs and tailwind.config.js
file exactly as seen in the repo files. If you wish to change this, you will either need to change the source and output dirs and config file as necessary or generate a new one via npx tailwindcss init
and adjust it accordingly. For any other information regarding Tailwind installation and configuration please visit the Official Documentation.
All assets used deemed relevant for this project to be used client-side and cloned to a local computer have been added in their respective directories. Below are a list of key source files which, if modified for any customisations, will need to be amended respectively. This list is not meant to be exhaustive and may be updated at any one time.
Fonts
are locally hosted and can be found in the src
directory under /fonts
Any changes to these will subsequently need to be made in the input.css
stylesheet in order for Tailwind to compile it correctly to the output.css
footer
will need to be altered to reflect the new owner (being yourself) for any changes that have been made. This would include both the name and the link appended to it (which currently points to this repo)link
present in the Links
changed respectively to reflect the different repo createdWhile the repo owner is open to new/alternative approaches to the code leveraged in this repo, please kindly note he is only considering PRs pertaining to the following:
PRs therefore pertaining to design or aesthetics will not be considered at this time. If you would like to discuss these separately, the repo owner will happily do so. You may contact him either via email or via LinkedIn.