RicardoAzuul.github.io

Roleplay Cafe

This project is for a static website for a non-existing cafe: the Roleplay Cafe. The Roleplay Cafe specializes in providing a venue and resources for roleplaying enthousiasts.

As such, the site needs to meet the needs of both visitors and owners:

To visit the site, open https://ricardoazuul.github.io/roleplay-cafe


Table of Contents

  1. UI and UX
    1. User Stories
    2. The 5 Planes of Design
      1. Strategy Plane
      2. Scope Plane
      3. Structure Plane
      4. Skeleton Plane
      5. Surface Plane
  2. Features
    1. Existing Features
    2. Features Left To Implement
  3. Technologies Used
  4. Responsiveness of Pages
  5. Testing
  6. Deployment
  7. Credits
    1. Content
    2. Media
    3. Acknowledgements

UI and UX

User stories


The 5 Planes of Design

I’ve used Jesse James Garret’s 5 planes of UX design to design the site. I started off at the Strategy Plane.

Strategy Plane

For the owners of the Roleplay Cafe, the site needs to achieve the following:

The value of the site for the owners: the number of visitors to the Cafe increases, website visitors register their games and more games are being offered by the Cafe, building a tribe of like-minded visitors.

For the visitors, the site needs to achieve the following:

The value of the site for site visitors: quickly learn about a cool new cafe in town and get to meet people with similar interests.

The owners of the Roleplay Cafe want to have a website designed in order to reach more potential customers and to keep their customers.

The goals of the website are thus:

The users I am focusing on:

The tasks that I will help users solve:

Why will users use this solution:


Scope Plane

The functional specifications of the site:

Content requirements:


Structure Plane

All pages should have the same navigation bar and footer:

Initially I was going to have separate pages for the information for players, gamemasters and newbies, but I’ve decided to combine those into one page, using tab navigation to switch between the sections.

The Home Page

Why Visit Us

Menu

Directions

About

The About page was ultimately left out. It was the least interesting page from a developer’s viewpoint, and leaving it out meant having more time to focus on the other pages.


Skeleton Plane

Website visitors have come to expect certain layouts from websites. As such, I will add a navigation bar to the top of every page, that will always remain visible, even when scrolling down. This navigation bar contains links to all the different pages. On the left will be the logo, which when clicked upon will take the user back to the home page.

The active page is indicated with a line under the navigation item. When hovering over navigation items, a blue line will appear under the navigation item.

At the bottom of every page will be the same footer, with the following information: opening hours, contact details, links to the Roleplay Cafe’s social media accounts (in this case links to the home pages of said social media sites) and a form to sign up for a newsletter.

Text will also go from top to bottom, with images between pieces of text to break it up and add variation. Only on the menu page will the food and drinks menu appear next to each other, but only on the larger breakpoints.

On smaller breakpoints the flow of text will be the same, but with less white space on left and right. Images, embedded Youtube videos and the embedded Google Maps map will disappear on smartphone screens, to save space.


Surface Plane

For the color palette I wanted something that makes one think of an old bar or cafe, but with a little bit of magic injected. I found concept art of a bar in the Dungeons & Dragons world of Eberron, which had both: lots of dark browns, but also magical colours. I used this image.

I used EyeDropper to determine the hex values of colours. I used #542c23 as the background colour for the nav bar and the footer, and borders around images, and #5A94B8 to color buttons, for the line under hovered over nav items and as the color for the social media icons. For white text and the main background I went for #fefefe as an off-white color.

#542c23

#542c23

#5A94B8

#5A94B8

#fefefe

#fefefe

The icons are sourced from Font Awesome, as icons to link to various social media channels, and as icons to enhance certain headings.

Fonts are sourced from Google Fonts. I decided on New Tegomin: I felt it simulated an old type-writer, and the cozy antique feeling it evoked fits with the concept of the Cafe. The Montserrat offset that by being clean and modern. New Tegomin is used for H1 headers, the logo and for the titles in the footer, while everything else is Montserrat.

Wireframes


Features

Existing Features


Features Left to Implement

As I was working on the project, I realized that I was too ambitious. The project requirements specify a minimum of 3 pages, but I had 5 pages. This, coupled with the difficulty of finding suitable free stock images to use, meant that I didn’t have the time to implement these features:


Technologies Used


Responsiveness of Pages

The website is fully responsive on the following screens: smartphone, iPad, iPad in landscape mode, iPad Pro, iPad Pro in landscape mode, laptop and desktop screens.

These screenshots indicate the responsiveness of the pages on various screens.


Testing

Testing was done using Google Chrome, Mozilla Firefox, Microsoft Edge, and also Internet Explorer. I also tested it on an Huawei P smart+ 2019 Android smartphone. The site works fine on all browsers.

There is one exception: the CSS rule object-fit: cover doesn’t work in Internet Explorer. However, Internet Explorer is technically End of Life and no longer supported (even though probably still used for webapps that don’t work with any other browser), so this has been left as is. Implementing a fix for object-fit: cover seems like too much of a hassle, according to a quick Google search.

Tests for Readme.md:

Code validation:

  1. HTML validation
    • :heavy_check_mark: index.html: the validator indicated a warning: section lacks heading. Changed section to div. Validated again without issue.
    • :heavy_check_mark: visit.html: the validator indicated 7 errors and 1 warning. Made changes to the HTML. Validated again without issue.
    • :heavy_check_mark: menu.html: validated without issue.
    • :heavy_check_mark: directions.html: the validator indicated a stray end tag div. Validated again without issue.
  2. CSS validation
    • The validator found 2 errors and 757 warnings. The 2 errors are from the Bootstrap CSS file however. With regards to the warnings: a lot of these are also from Bootstrap. These are unknown vendor extensions. There are 7 warnings about unknown vendor extensions in my own CSS file: these come from the Hover.CSS effects. And there are also warnings about “same color for background-color and border-color”, but I intentionally set the same colors.

Navigation Links in the nav bar:

Buttons

Social Media Links in the footer:

For each link (icon):

  1. Click on the icon.
  2. See if it opens in a new tab and goes to the expected page (the respective social media’s home page)
    • :heavy_check_mark: Facebook
    • :heavy_check_mark: Twitter
    • :heavy_check_mark: Instagram
    • :heavy_check_mark: Discord

Newsletter signup in the footer:

The “Why Visit Us?” page:

Submit your game form on the “Why Visit Us?” page:

The YouTube videos in the Gamemasters tab on the “Why Visit Us?” page:

The “Menu” page:

The “Directions” page


Deployment

This site is deployed to Github Pages. If you want to deploy it yourself:

  1. On GitHub, navigate to the RicardoAzuul/RicardoAzuul.github.io repository
  2. In the top-right corner of the page, click Fork.
  3. GitHub will fork the repository with the same name under your GitHub profile.
  4. Rename the repository on your own Github profile, with a specific name: %YourGitHubUserName%.github.io.
  5. Go to the Settings of this repository.
  6. Scroll all the way down, to right above the Danger Zone.
  7. Here you can setup the repository to serve as the source for your GitHub Pages. In order to do so, choose a theme.
  8. Choosing a theme will apply one of several themes available. This adds a _config.yml file to the repository.
  9. After the theme has been applied, simply delete _config.yml from the repository to delete the theme and you’ll have a GitHub Pages of Roleplay Cafe just like mine!

Click here for more information about Github Pages.

Run locally

  1. If you want to run the project locally, simply clone the repository into the directory of your choice:
git clone https://github.com/RicardoAzuul/RicardoAzuul.github.io.git
  1. Using Visual Studio Code, search for the Live Server extension by Ritwick Dey and install it.
  2. Press F1 in Visual Studio Code and in the search bar that pops up look for Live Server and start it.
  3. This will start a browser on your own machine hosting the website locally.

Credits

Inspiration

I used the following website for inspiration: https://ranked.bar/

Content

All text content is written by myself.

Media

I sourced almost all images from Unsplash, except for one which I sourced from Pexels. I happen to watch both Matt Colville’s YouTube videos and the Critical Role stream, which is why I added links to their videos.

Acknowledgements