Giter VIP home page Giter VIP logo

p1-secret-bar's Introduction

Va Bene Bar

Live link: https://marcroth0.github.io/p1-secret-bar/

The Va Bene Bar is a site that will help the curious, the artistic, the seeker of tiny adventures, to find a bar suitable for them. A secret will always be an attractive aspect to an activity, because of the simple reason that it's fun to talk about it. The site hopes to do just that, attract peoples interest in being one of the few that get to visit it.

Mockup

Table of Contents

  1. Goals
    1. Organisational Goals
    2. Organisational Stories
    3. User Stories
    4. Target Audience
  2. Features
  3. Design
    1. Planning
    2. Details
    3. Mobile
    4. Fonts
    5. Structure
    6. Imagery
  4. Testing
    1. Testing Requirements
    2. Results
  5. Problems and Solutions
  6. Credits

Goals

Organisation Goals

  • Make the customer interested in the secret.
  • Have a website that fits the theme.
  • Attract the "right" customers.

Organisation Stories

  • I want to be able to present the website in a different way compared to other bars.
  • I want simple navigation to the important parts of the page (the story)
  • I want the story to be a big part of the reason people sign up.

User Stories

  1. As a user I want to have a clear knowing of the websites purpose.
  2. As a user I want to feel engaged in the website.
  3. As a user I want to know what drinks are offered.
  4. As a user I appreciate friendliness towards animals.
  5. As a user I want the feeling of being a selected few.
  6. As a user I want to easily navigate through the website.

Target audience

  • Adventurous souls looking to find a secret place.
  • The animal lover wanting to find a place with its values.
  • Anyone who wants to feel exclusive and find the place to call theirs.

Features

  1. Navigation Bar

    • The fully responsive Navbar includes links to three parts of the page. Considering it's a one-page website they needed to be equally devided in thirds.
    • One part defines a part of the websites story (The Why, The Secret, The Answer)
    • (Answers User Stories 6)

Navbar

  1. The landing page image

    • A big centered logo in front of a background that sets the mood of the rest of the website.

    • The Parallax-effect instantly sets the need for scrolling to stay on the site.

    • (Answers user story 1)

Landing Page

  1. The Why section

    • The Why Section lets the user see the first part of the story
    • The user will connect the lightbulb with it having something to do with an idea.
    • (Answers User Stories 2, 4)

The Why

  1. The Secret section

    • The Secret section lets user be a part of the second part of the story where charming Fabrizio is fed up with his creation, seeking other ideas.
    • In the story four drinks are mentioned, which are also shown underneath in a display with blurred out ingredients (to play on the secrecy)
    • (Answers User Stories 2, 3)

The secret

  1. The Answer section

    • The final part of the story. Fabrizio lets the user know what is required to get the location of the secret bar.
    • The ending image reveals the face of Fabrizio for the user. (Answers User Stories 2)

The secret

  1. The Form section

    • The user instantly gets informed, by the above segment, what's required in the form.
    • A simple, but aestetic form, which follows not only the theme but also the storyline.
    • (Answers User Stories 2,4,5)

The form

  1. The Footer

    • The user will find what is necessary(stylisticly and required) for a Secret bar:
    • A Social Media presence. No address, no contact information besides the form.

The Footer

  1. Thank you Page

    • The user get sent to a simple "thank you" page after submitting.

Thank You page

Design

Planning

I wireframed the website using Balsamiq to get a better idea of the layout. Not much the actual theme, but the structure. The images were merely placed there to give it life.

Balsamiq

The website, being one-paged, and more visual content than informational, it needed to be aestetically pleasing to scroll down.

To achieve this i left the main content (The Why, The Secret, The Answer) be static and inbetween them let the backgrounds run in parallax effect. This lets the user focus on what's static, whilst taking in the vibe from the background-parallax.

Details

Throughout the website I added the same shade of wine-red in tiny forms. Not much, just enough to go with the theme.

MoodBoard

Mobile Details:

In order to keep the user focused on the story borders were added on mobile to the text content sections.

Mobile Border

Hamburger as a navbar was the cleanest- and best looking way to go on mobile.

Hamburger

Fonts

Fonts used were the playful and edgy "Rock salt" for the headings and "Oswald" as a compliment. Both works well on a black background and Oswald brings out the importance of the text.

Structure

The structure is entirely made of boxes in a 1-2 sequence. An image followed by actual content assisted by a related image. This in order to keep focus on the written content (the story) as the user scrolls.

Imagery

As guidance for the theme of the website I had my moodboard with a collection of images, which colors and character built the palette with a base of black.

MoodBoard

Testing

I tested the responsiveness of the site on the below units, using chrome dev as well as some in real life testing:

Mobile

  • Moto G4 (360x640)
  • Galaxy S5 (360x640)
  • Pixel 2 (411x731)
  • Pixel 2 XL (411x823)
  • iPhone 5/SE (320x568)
  • iPhone 6/7/8 (375x667)
  • iPhone 6/7/8 Plus (414x736)
  • iPhone X (375x812)
  • iPad (768x1024)
  • iPad Pro (1024x1366)

Browsers:

  • Chrome
  • Mozilla Firefox
  • Safari
  • Edge

Testing requirements:

NavBar

Clicked on every link, including logo, to make sure they directed me to the correct place.

Responsiveness

Made sure nothing overflows.

Form

  1. Tested filling everything in as required and made sure it took me to the thank-you page.
  2. Tested filling everyhing but required email
  3. Tested filling everthing but required age

Details

Made sure all the color-details were shown: drinks hover-effect, submit button hover-effect, and navigation hover-effect.

Fonts

Made sure the chosen fonts work on all devices tested.

Results for testing are found in attached tables below.

Results:

Phones

Browsers

Solution is under "Problems and fixes"

Lighthouse

Lighthouse analysis came back positive on desktop

Lighthouse

Mobile: Due to the website being image-heavy I completed a trial of compressing all images to WebP but performance dropped below 70 and I decided to stick with jpg/png.

Lighthouse

Validator Testing

  • HTML

    • No errors were returned when passing through the official W3C validator

W3C-css

W3C-css

Problems and Solutions

Safari auto-fill

In contrary to Chromes autofill (which turned it white, as you can see further down) Safari turns it a yellow-ish color which had to be changed since it didn't fit the theme of the website and didn't give off a professional look.

Solution was the below code:

input:-webkit-autofill,
input:-webkit-autofill:hover, input:-webkit-autofill:focus, input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 60px #fafafa inset !important; background-color: #fafafa !important; background-clip: content-box !important; }

This worked on all websites, turning the background caused by auto-fill to turn white.

iPad/iPad pro portrait/landscape

The issue I ran into portrayed itself in the logo, as well as the background images being zoomed in. The logo went over the below section on both portrait and landscape. Below code fixed both issues:

    .hero-image {
        min-height: 1200px;
        background-attachment: scroll;
    }
    .parallax-three,
    .parallax-two,
    .parallax-four,
    .form-section {
        background-attachment: scroll;
    }
}

@media only screen and (min-width: 768px) and (max-width: 1370px) and (orientation: landscape) {
    .hero-image {
        min-height: 1100px;
        background-attachment: scroll;
    }
    .parallax-three,
    .parallax-two,
    .parallax-four,
    .form-section {
        background-attachment: scroll;
    }
}

By turning off parallax not only for mobile, but for iPad as well, the images looked fantastic. The height change for the hero-image solved the logo issue on both portrait and landscape.

Unfixed Bugs

Chrome auto-fill:

Although not a fault of my initial code, but a lack thereof, chrome auto-fill turns the background white. Considering I found it not to be going away from the theme of the website i left it "unfixed" at first.

The Footer

Features Left to Implement

  • An image-analyzing software to determine whether or not it is in fact a happy dog.

Deployment

  • The site was deployed to GitHub pages. The steps to deploy are as follows:
    • In the GitHub repository, navigate to the Settings tab
    • From the source section drop-down menu, select the Master Branch
    • Once the master branch has been selected, the page will be automatically refreshed with a detailed ribbon display to indicate the successful deployment.

The live link can be found here - https://marcroth0.github.io/p1-secret-bar/

Credits

  • Assistance in keeping my images compressed and give better performance to the website was done by ImgBot

Content

  • Instructions on how to implement form submit button effect on the Sign Up page was learnt from CodePen

  • The icons in the footer were taken from Font Awesome

  • Instructions on how to use FlexBox was learnt from CSS-Tricks

  • Solution for the iPad/iPad Pro issue was found on WP Sites

  • Solution for the auto-fill issue was found on StackOverflow

Media

The photos used on the website are from Unsplash

Photographers behind used images:

Vinicius "amnx" Amano

Terry Vlisidis

Nuff

Charles Deluvio

Andrea Riezzo

Patrick Tomasso

Rok Zabukovec

p1-secret-bar's People

Contributors

imgbotapp avatar marcroth0 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.