Skip to content

AlexBuzea/spartan-gym

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spartan Gym Website

Spartan Gym is a fictional gym located in Cardiff, UK. The aim of the website is to attract new customers and be a point of reference for existing customers. The website is designed to be user friendly and therefore responsive on all devices

mockup image

Live website

Table of Contents

  1. Project Goals

  2. User Experience

  3. Design

  4. Features

  5. Technologies Used

  6. Testing

  7. Bugs

  8. Deployment

  9. Credits

1. Project Goals

User Goals

  • Finding a gym that offers all the facilities required
  • See membership prices
  • Find information about the gym
  • Find location and opening times

Business Goals

  • Attract new members by showcasing the available services in a professional and easy to find way
  • Retain existing members by offering them all the information they would need
  • Provide a way for customers to contact the gym
  • Have the website accessible and user-friendly on any device

2. User Experience

Target Audience

  • People looking for a gym
  • People looking for a gym with group classes
  • People looking for a gym with personal trainers

User Requirements and Expectations

  • An intuitive website which is easy to navigate
  • Find out information about the gym quickly and easily
  • Everything to work as expected on the website
  • A professional looking website
  • Easily contact the gym for more information
  • Have an accessible website for disabled customers

User Stories

First Time Visitor Goals

  1. Easily find out information about the facilities offered at the gym including photos
  2. Find out location, prices, opening times and amenities offered
  3. Find out information about any classes that may be offered
  4. How to contact the gym if I have any further questions

Returning Visitor Goals

  1. Find out timetable for classes
  2. Find out any information about personal training
  3. Check out opening times
  4. Contact the gym for any further information or suggestions
  5. Find the gym on social media

Business Goals

  1. Allow users to easily find information about the gym including opening times and location
  2. Allow users to easily contact the gym
  3. Allow users to find more information about the gym facilities

3. Design

Colour Scheme

For the colour scheme a minimalistic colour scheme was chosen but with a bright red to generate an emotional response. Red is a colour of boldness vigour and stimulation. Red was also was inspired from the spartan helmet used for the company logo which goes with the warrior theme, meant to motivate people. A variation of yellow was also added to the colour palette which is the colour of energy. Coolors was then used to create a palette.

colour palette

Logo and fonts

The warrior helment logo was created in Canva and the white colour for a minimalistic design and to be able to convert it into an svg to achieve the transparent navigation. Convertio was then used to convert the png logo into an svg.

The fonts were imported from Google Fonts and Mukta font was used in the headings to give it a minimalistic and easy to read font.

Structure

The page is structured in an easy to use and intuitive way and it's designed to be user friendly. The website has a Homepage and 4 other pages: Gym, Classes, Prices and Contact Us.

  • Homepage - Landing page with an introduction to the gym, including opening times and location; brief overview of services offered and links to them
  • Gym - Provides more information about the Gym facilities and a gallery of the actual gym
  • Classes - Provides more information about the classes offered, personal training and the classes schedule
  • Prices - Provides information about the membership types
  • Contact Us - Provides information about gym location, opening times and allows the user to contact the gym or sign up for a membership

Wireframes

View wireframes here

1.Homepage

2.Gym page

3.Classes page

4.Prices page

5.Contact page

6.Page 404

Mockup

  • A mockup image has been added to this file to give an idea of the way the website is displayed on different devices which can be found at the top of this page. UI Dev has been used to achieve this.

4. Features

Curent Features

  • All current features have been designed with a mobile first approach meaning the website is fully responsive on all screen sizes.
  • Bootstrap grid system has been used to achieve this and custom CSS added to it to make some other tweaks to make sure everything looks good on all screens
  • The website contains 6 pages (including the 404 page) and 17 features

Navigation

  • All pages feature a navigation, the homepage has a transparent one and all the other ones have the dark one as it was difficult from accessibility perspective to keep it transparent when it came to contrast issues
  • The navigation bar helps the user find easily whichever section he's interested in
  • When it shrinks the navigation turns into a drop-down one for tablets and mobiles
  • Navigation used stays into place, a sticky one has not been chosen as the website is not large and the links from navigation are repeated in the footer
  • User stories covered: 1

navigation transparent navigation dark navigation mobile

Callout Buttons

  • Callout buttons have been used throughout the website in order to prompt the user to either sign up or contact the gym and a red colour has been used to make it stand out from everything else.
  • User stories covered: 11

callout button

Headings

  • All pages have a heading which features as an quick introduction to the page or as a callout to sign up.
  • User stories covered: 1, 9, 10

heading

Footer

  • All pages have a footer section which repeats the link from the navigation and the social media links in order to make navigation easy for user.
  • User stories covered: 1, 9

footer

Gym Information

  • Allows users to find out more information about the gym, the address, opening times, parking and location
  • User stories covered: 2, 7, 10

gym information

Services Links

  • Allows users to easily navigate to other sections of the website the users might be interested in with the aid of visual effects to make them stand out
  • User stories covered: 1, 2, 3, 5, 6, 12

services links

Facilities

  • Informs the users about the facilities available at the gym
  • User stories covered: 1, 12

facilities

Testimonials

  • Allows users to find out more about the gym atmosphere through other members testimonials
  • User stories covered: 12

testimonials

Gym Kit

  • Gives users more information about the available equipment in the gym
  • User stories covered: 1, 12

kit

Kit Details

  • Gives users more detailed information about the equipment
  • User stories covered: 1, 12

kit details

Gym Gallery

  • Allows users to see images of the gym machines
  • User stories covered: 1, 12

gym gallery

Classes details

  • Gives users more detailed information about the classes available via a set of videos and images
  • User stories covered: 3, 12

classes details

Personal Trainers

  • Allows users to meet the personal trainers and their expertise in order to know which one is most suitable for them
  • User stories covered: 1, 6

personal trainers

Classes Schedule

  • Gives users the timetable for the classes available
  • User stories covered: 3,5

classes schedule

Membership Prices

  • Gives users details about the membership types and prices
  • User stories covered: 2

membership prices

Gym Information

  • Allows users to find out more information about the gym, the address, opening times, parking and location
  • User stories covered: 2, 7, 10

gym information

Contact Form

  • Allows users to contact the gym or sign up for a membership
  • User stories covered: 4, 8, 11

contact form

404 Page

  • A 404 page has been added in case the user mistypes something on the website which will allow them to go back the homepage. It features the navigation, social media links and a button to take them back to the homepage.
  • User stories covered: 10

404page

Interactive Features

  • A Google Maps iFrame has been added on Homepage and Contact page which shows the users the location of the gym
  • Links on the homepage have been added via images which directs users to the wanted sections
  • A form has been added in the Contact page which users can use to sign up or contact the gym
  • Videos have been added in the classes page via iFrames which allows users to start, pause and adjust volume as wanted
  • Navbar is responsive and turns into a dropdown navbar on tablets and mobile

Future Features

  • A payment feature that allows users to pay for their membership is something that could be added later on which would make a more convenient user experience and conversion for the business as well

5. Technologies Used

Languages Used

Frameworks and Other Software Used

  • Bootstrap 5.3
    • I used Bootstrap throughout the website in order to make it responsive on all devices. It uses Containers, Gridsystem, Flexbox, Button Classes , some Bootstrap icons, aligment, padding/margin classes, shadow classes, navbar component and also some styling classes in the contact form.
  • Gitpod
    • First part of the project was done via Gitpod IDE initially which was then changed later on to Visual Studio Code
  • Git
    • Git was used in order to push the code to Github on a constant basis and have a backup of the code
  • Github
    • Github was used in order to backup the code
  • Visual Studio Code
    • Visual Studio Code was used in the second part of writing the code for this website and it is my preffered IDE
  • Paint
    • Paint was used in order to resize some of the images initially that were too large or modify them to specific sizes
  • Paint 3D
    • Paint 3D was used to crop the images to specific sizes which in normal Paint wasn't as easy to do
  • Tiny PNG
    • Tiny PNG was used to further reduce the size of all the large images further
  • Snipping Tool
    • Snipping TOol was used to take all the screenshots used in the Readme file
  • Balsamiq
    • Balsamiq for Desktop was used to generate the Wireframes which can be found in the Wireframes section in the Readme file
  • Favicon
    • Favicon was used for generating the favicon icon

6. Testing

HTML Validation
  • Testing was done via https://validator.w3.org/ and screenshots can be found below of results
  • No html errors on any of the pages

1.Homepage

2.Gym page

3.Classes page

4.Prices page

5.Contact page

CSS Validation
Accessibility Evaluation
  • Testing was done via https://wave.webaim.org/ and screenshots can be found below of results
  • No errors except an invalid error saying there is no alt text for an image when there actually is, more details on last image in this section

1.Homepage

2.Gym page

3.Classes page

4.Prices page

5.Contact page

Invalid error

Performance Testing
  • Testing was done via Chrome Lighthouse and screenshots can be found below of results

1.Homepage

2.Gym page

3.Classes page

4.Prices page

5.Contact page

Performance Testing on Devices The website was tested on the following devices:
  • HP Pavilion 15'
  • Xiaomi Redmi Note 10

The website was also tested in Chrome Developer Tools for various devices option including mobile phones and tablets.

Browsers Compatibility The website was tested on the following browsers:
  • Google Chrome
  • Mozilla Firefox
  • Microsoft Edge
  • Opera
Testing User Stories
  1. Easily find out information about the facilities offered at the gym including photos (first time visitor)
Feature Action Expected Result Actual Result
Navigation bar Select whichever topic interested in Find information about that topic Works as expected
Services links Scroll down to services section and select which service interested in Find information about those services Works as expected
Screenshots
  1. Find out location, prices, opening times and amenities offered (first time visitor)
Feature Action Expected Result Actual Result
Prices table Select prices link in navigation bar Find information about prices Works as expected
Gym information section on homepage Scroll on homepage and find info about facilities, address and times Find information location, prices, opening times and amenities offered Works as expected
Screenshots
  1. Find out information about any classes that may be offered (first time visitor)
Feature Action Expected Result Actual Result
Classes details Select classes link in navigation bar Find information about classes Works as expected
Classes schedule Select classes link in navigation bar and scroll to bottom Find classes schedule Works as expected
Screenshots
  1. How to contact the gym if I have any further questions (first time visitor)
Feature Action Expected Result Actual Result
Contact form Select contact us link from navigation bar and locate contact form Find form and contact gym Works as expected
Footer Scroll down and select contact us link Find form and contact gym Works as expected
Screenshots
  1. Find out timetable for classes (returning visitor)
Feature Action Expected Result Actual Result
Classes schedule Select classes link in navigation bar and scroll to bottom Find classes schedule Works as expected
Screenshots
  1. Find out any information about personal training (returning visitor)
Feature Action Expected Result Actual Result
Personal trainers Select classses in navigation bar and locate personal trainers section Find information about personal trainers Works as expected
Services links Scroll down to services section and select personal training Find information personal training Works as expected
Screenshots
  1. Check out opening times (returning visitor)
Feature Action Expected Result Actual Result
Gym information section on homepage Scroll on homepage and find info about facilities, address and times Find information location, prices, opening times and amenities offered Works as expected
Gym information section on contact us page Select contact us from navigation bar, scroll on contact page and find info about facilities, address and times Find information about those services Works as expected
Screenshots
  1. Contact the gym for any further information or suggestions (returning visitor)
Feature Action Expected Result Actual Result
Contact form Select contact us link from navigation bar and locate contact form Find form and contact gym Works as expected
Footer Scroll down and select contact us link Find form and contact gym Works as expected
Screenshots
  1. Find the gym on social media (returning visitor)
Feature Action Expected Result Actual Result
Heading section Click on social media icon on the side Find social media page for gym Works as expected
Footer Scroll down to footer and click on social media icon Find social media page for gym Works as expected
Screenshots
  1. Allow users to easily find information about the gym including opening times and location (business goals)
Feature Action Expected Result Actual Result
Gym page Navigate to gym section on navigation bar Find information about facilities available Works as expected
Google map on homepage Scroll on home page and see google map Find gym location Works as expected
Screenshots
  1. Allow users to easily contact the gym (business goals)
Feature Action Expected Result Actual Result
Contact form Select contact us link from navigation bar and locate contact form Find form and contact gym Works as expected
Footer Scroll down and select contact us link Find form and contact gym Works as expected
Screenshots
  1. Allow users to find more information about the gym facilities (business goals)
Feature Action Expected Result Actual Result
Facilities section Scroll down on home page and see facilities Find facilities available at gym Works as expected
Gym gallery Navigate to gym section on navigation bar Find information about facilities available Works as expected
Screenshots

7. Bugs

  • On tablet and mobile screen Page 404 came up with some grey margin at the bottom which is more noticeable on mobile if you scroll down

page404 bug

  • Was not able to find the source of this and was fixed by adding the footer to the page

page404 bug

8. Deployment

Github

GitHub Pages was used to deploy this website live and the instructions to achieve this can be found below:

  1. Log in to GitHub and go to the GitHub Repository
  2. Go to settings in the top navigation section for the repository
  3. Go to the Pages section
  4. For the source select main and click Save
  5. After a few minutes you will find the link saying "Your site is live at https://alexbuzea.github.io/spartan-gym/"

Forking

In order to fork this repository:

  1. Go to the Github repository
  2. Click on the Fork button in the top right hand corner

Cloning

To clone this project from Github:

  1. Go to the Github repository here
  2. Go to Code section in the top right hand corner of the repository
  3. Copy the https link
  4. Open Git Bash
  5. Change the working directory to where you want to clone the repository
  6. Type git clone, then paste the URL copied in step 3:

git clone https://github.com/AlexBuzea/spartan-gym.git

  1. Press Enter

9. Credits

Code

Images

Images were sourced from:

Content

I wrote some of the content, and some of the content was inspired or used from the following sources:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published