Giter Club home page Giter Club logo

an-slua-sidhe / elite-gourmet Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 2.0 44.29 MB

A single-page site for the fine dining website 'Elite Gourmet', with Google-maps and Email-js functionality. The second major project for my Code Institute Diploma in Full-stack Web Development.

Home Page: https://an-slua-sidhe.github.io/Elite-Gourmet/

HTML 56.37% CSS 37.32% JavaScript 6.31%
html-css-javascript github-pages google-maps-api email-js fine-dining

elite-gourmet's Introduction

Elite Gourmet Banner Logo

THE ELITE GOURMET WEBSITE

Introduction

This is the repository for the Elite Gourmet website.

The Deployed Version of the site can be visited by clicking here.

My name is Paul Quinn and I designed and developed this site in its entirety as part of my Fullstack Web Development Diploma with the Code Institute, Ireland. I came up with the concept for Elite Gourmet while thinking of ideas for my Milestone 2 project. After completing modules in Javascript Fundamentals and Interactive Front-end Development, this project needed to showcase my newfound skills in Javascript powered website functionality.

I decided to use 2 APIs for the project; Google Maps and EmailJS.

I then needed subject material and a central concept for my project. As I am from West Cork and live in the city of Cork, I considered the explosion of culinary excellence in the region in the last 10-15 years. This also extends beyond Cork to the rest of Ireland, and includes several Michelin starred establishments. Combining Google Maps and EmailJS with this local fine dining landscape, I hit upon the idea of a website serving clients who wished to discover the finest culinary experience without the hassle of organising it.

Elite Gourmet is a site where the user can browse and select Michelin starred restaurants from the four corners of Ireland (via the Google Maps API) get in contact with the host (via the EmailJS API) and organise a trip to and from their chosen establishment, with all transport, dietary and booking concerns taken care of.

There is a full overview of the design/development process below, along with an extensive outline of the testing process, future features, user stories, responsivity and deployment.

Table of Contents

  1. User Experience

  2. Features

  3. Technologies Used

  4. Testing

  5. Deployment

  6. Credits


User Experience

Elite Gourmet was conceived as a site where a discerning customer could go to have their culinary needs taken care of. The User Interface (UI) is intended to be streamlined and intuitive, and to be easy and enjoyable to use.

User Stories

There are a number of different types of user which may visit the site, each with different goals and motivations. I have listed their stories in five categories; The Restaurateur, The Tourist, The Gourmand, The Local, The Critic.

The Restaurateur

  • As a Restaurateur, I can read about Elite Gourmet's philosophy and remit in the Services and About Us sections, to see if I would be interested in a partnership with the site.
  • As a Restaurateur, I can get in touch with Elite Gourmet to set up a working relationship via the Become a Restaurant Partner option in the Contact Form in the Bookings section.

The Tourist

  • As a tourist, I can find the site while looking for holiday ideas on my web browser.
  • As a tourist, I can quickly discern whether or not the site is what I'm looking for (i.e. a budget or deluxe experience) through the language and imagery used.
  • As a tourist, I can see what options Elite Gourmet can offer me in the Services Section.
  • As a tourist, I can browse the restaurants that are available in the Restaurants Section.
  • As a tourist, I can get in contact with Elite Gourmet to begin organising my culinary experience though the Book a Fine Dining Experience option in the Contact Form of the Bookings Section.
  • As a tourist, I can choose which venue I would like to frequent, organise transport to and from the restaurant, and deal with any dietary issues, by filling in the Message Section in the Contact Form.

Gourmand

  • As a gourmand, I can see which of Ireland's Michelin starred restaurants are on offer in the Restaurants Section.
  • As a gourmand, I can get in touch with Elite Gourmet to discuss the type of cuisine offered in each establishment, as well as the ethos of the head chef, via the Book a Fine Dining Experience option in the Bookings Section.

The Local

  • As a local, I can become informed about the growth of fine dining in my area by reading the Restaurants Section.
  • As a local, I can get in touch with Elite Gourmet to see if our services would suit a local person with their own transport and possible prior knowledge of the locale by filling in the Message Section in the Bookings Section.

The Critic

  • As journalist, I can get in contact with Elite Gourmet to get information about our restaurants and book an evening for a review by using the Organise a Restaurant Review option in the Contact Form of the Booking Section.

Wireframes and Mockups

I used Adobe XD to design and create Wireframes and Mock-ups for this site. I decided to create a single page site and to follow the principal of Mobile First. I followed the usual method of keeping the basic wireframes extremely simple stylistically, mostly focusing on the form, location and interaction between the various elements of the site on each page. I then used the theme of culinary excellence to decide the colour palette and artistic direction of the site. The wireframes and mock-ups can be found as PDFs in this repository (see below for links).

Basic Wireframes

The basic Wireframes are available in three PNGs; one for Mobile, one for Tablet and one for Desktop. Any colour used is for contrast only. Simple text headings were added to each element to denote its purpose. These overall Design Choices can be traced to the final deployed Website, with some changes (see Design Changes).

Full Asset Mockups

PNGs of the full asset Mockups can also be found in this repository. The Mobile mockup can be found here, the Tablet version is here and the Desktop version is here.

Design Choices

The site was intended to have an aura of classy competence, a simplicity of design that didn't attempt to overwhelm the users senses. I have tried to use clear, simple and high quality images and textures when designing the site. I didn't want a site that contained too much clutter and text, but one that got across its message confidently, clearly and cleanly. Therefore, I decided to create a single-page site with a focused aesthetic. Mobile, tablet and desktop versions of the site are only very slightly different, basically involving Bootstrap responsive break-point changes (see the Restaurants Section below).

Images

I wanted a selection of high quality images for the site, which were uncluttered and depicted cooking scenes in an elegant way. Where these images would be used was already decided in the design Wireframes (see above). I found the assets I sought on Pixabay. The main Jumbotron Background Image was very important for the site. I chose one that was tasteful, with a palette of muted, yet organic colours, and it can be found here. I selected an ephemeral image of fine dining for the README Banner Logo which can be found here. The Booking Section Background (click here) introduces a dash of brighter colour to the overall palette. This is expanded with the About Us Background, which you can see here. Finally, each culinary venue has an image that was sourced from the restaurant's own web page; click on the restaurant name below to see the location of these files in this repository:

To see where these images appear on their respective web pages, see the Credits section below. All images were resized with the Jpeg Optimizer so that the site would load more quickly. The original size of the images was massive and led to stuttering when the page was scrolled.

Colours

I used Canva to create a palette from the Jumbotron Background Image. This understated and earthy palette suited the culinary nature of the site. I contrasted each section's use of colour, with large high-res background images for the Jumbotron, Booking and About Us sections, and a simple chocolate coloured backdrop to the sections in between. One more main colour from the palette was used for the backgrounds of separate elements within the Services and Restaurants sections, a moderate blue which could be contrasted with the chocolate background of the overall sections. Variations on these colours where then used for the anchor links throughout the site, with changes on hover, scroll and other actions. The main text colour was a white or off-white, so as to be legible on the dark backgrounds. Variations on the main text colour were used in the Navbar and in various elements throughout for legibility and contrast. An opaque background colour was used in various elements to make text visible.

The colours used for the site are:

  • Main Text Colour - #FFF
  • Navbar Text Colour - #E0DFDF
  • Text Colour Variation - #F1E5E5
  • Main Background Colour - #594C45
  • Opaque Background Colour - rgba(0, 0, 0, 0.6)
  • Contrasting Background Colour - #426A8C
  • Link Colour - #F7D29C
  • Link Hover Colour - #C29C64
  • Google Maps Colour - #000
  • Form Button Colour - #ECEAEA

Fonts

The fonts I used were selected from Google Font's array of options. Gafata was chosen as the main font of the site, as it has a simple yet classy look, and is clearly legible. Cinzel was chosen as the main heading font, and for the Logo. This font has an elegant look to it which suits the site's overall theme. The back up font is Sans-serif.

Icons

A Navicon was created for the site using the font Cinzel and Gimp and can be viewed here (PQ - To be completed). Social media link icons were supplied by Font Awesome.

Google Map Markers

I sourced a unique marker for the Google Maps API from Flaticon. This marker contains a knife and fork to suit the culinary theme, and the detail and colour of the marker combine well with the sites aesthetic.

Design Changes

General Changes

There were very little general changes from the original design. Some font colours were changed when it became apparent that they didn't work as expected; an example of this is in the CTA, where the '20% OFF' text was meant to be red, but was changed to a lighter brown colour as the red was too dark. One major change was the introduction of Flipcards into the Restaurants Section (see below). This allowed me to have the restaurant image on the front of the card and the information on the back, saving space and making for a better looking UI. In turn, this impacted on the original Mobile and Tablet design for this section, which tried to force the images and information into one card. The original design, and its Desktop variant, can still be seen in the Mock-ups. The final general change was in the background colours for the elements in the Services and Restaurants sections. Initial there was supposed to be a contrast between elements, using a light brown (#C29C64) and a blue colour (#594C45) (see for example the contrasting backgrounds of the different Restaurants Section cards in the mockups). This didn't look well in practice, however, and it was decided to just use the blue colour, as it was more understated.

Mobile Changes

  • Google Maps API Section
    This element was initially supposed to appear above the Services Section Text element in the Services Section. This didn't really work in practice, however, as users would have been asked to browse the map without the context the Services Text provided. It was decided to use Bootstrap's inbuilt column ordering to make the Services Text appear before Google Maps on mobile, but to appear to the right of it on desktops and higher resolutions.

Tablet Changes

  • Google Maps API Section
    Originally meant to appear above Services Section Text element in the Services Section, it was decided to use the Desktop layout here instead, where these two elements are side by side with Google Maps to the left.

Desktop Changes

  • Logo The Logo was initially supposed to swap corners with the Navbar on Desktop resolutions. It was believed that the Logo might clash with the lighter section of the Landing Page background image on higher resolutions. It did not clash, however, and so it was decided to use the same Landing Page layout for all platforms.

Features

This is a single-page site with 6 main sections. The basic layout of the site was created using the Bootstrap 4 grid system (which is based on Flexbox), with alterations and additions. The core of this is the use of containers, rows and columns as classes for elements. All anchor links within text are fully navigable; they also change colour when hovered over (see Colours). On Desktop, the main sections alternate between ones with large and detailed fixed backgrounds (e.g. the Landing Page Jumbotron) and ones with the more muted dark brown (#594C45) background that scrolls (e.g. the Services Section). On Mobile devices these section's backgrounds still alternate, but their 'background-attached' value was changed from 'fixed' to 'scroll' via a Media Query, so that the whole page scrolls at the same time. This is because iOS does not support fixed backgrounds, as they take up too much system memory to run, which resulted in extremely focused-in and unappealing images.

Existing Features

Landing Page

  • Hero Image
    This image is a high quality file sourced on Pixabay which provides a striking backdrop to the Landing Page. It is presented via a Jumbotron, and scales across all platforms. On Mobile devices the 'background-attached' value was changed from 'fixed' to 'scroll' via a Media Query. This is because iOS does not support fixed backgrounds, as they take up too much system memory to run.

  • Main Logo
    As the concept of Elite Gourmet is one I come up with myself, I have no proprietary icons or images to use as a banner logo for the site. Therefore, I simply used the chosen Heading font (Cinzel) for the landing page's main title. This element has an opaque background to keep it legible on the dark background of the Hero Image.

  • Navbar
    I modified the typical Bootstrap Navbar to suit the site. This included collapsing the Navbar into a Burger Button and fixing it to top left, so it would remain there while scrolling. I modified Javascript from JS Fiddle to make an opaque Navbar background (rgba: 0, 0, 0, 0.6) for when the page scrolled. I also changed some of the styling to suit the site, selecting Bootstrap's 'navbar-dark' option so it could be seen over the muted colour palette, and changing the 'text-color' (#E0DFDF) for the same reason (along with colour changes for 'hover': #C29C64). On all platforms the Navbar goes to the top left of the screen, with the logo to the top right. It was initially planned that they would swap places for the Desktop version, but this was not deemed necessary (see Desktop Changes above).

  • Call to Action (CTA)
    There is a CTA at the bottom of the Landing Page envelope. This tells users that there is 20% off all services at the moment, and provides a link for them to click to get more information, bringing them to the Services Section of the page. The anchor for this link is the '20% off!' text, which was styled in light brown (#F7D29C, 'hover': #C29C64) to distinguish it from the main text (#FFF). The CTA element has an opaque background (rgba: 0, 0, 0, 0.6) to keep it legible over the darker colours of the Hero Image.

Services Section

  • Services Section
    There are two elements in this section: one for the Google Maps API and one for Services Text. The background for this section is an earthy brown that fits with the images selected and the culinary theme of the site (#594C45). This colour is one of the ones taken from the Jumbotron image when building a palette (see above.

  • Google Maps API
    The Google Maps element has a blue coloured background behind the map itself (#426A8C); it displays to the left of the Services Section for Desktop and to the bottom on Mobile and Tablet. The map uses Javascript to communicate with the API, rendering the locations of the 6 chosen restaurants upon the initial loading of the site. The Javascript I used for Google Maps can be found in maps.js. I started with code from Google's documentation on Place Details and accessed the API through the Google Maps API CDN. I then amended this so it would iterate through the six restaurant locations in a loop, and present the Place ID information in an Info Window to the user. I created an array of restaurant Place IDs to facilitate this. The Marker Pin indicating these locations is a unique one I found on Flaticon and I included this in the 'addMarker' function. The initial position of the map is focused on the centre of Ireland (lat: 53.4, lng: -7.9) at a zoom of 5.5. The map is fully functional, with 'Map', 'Satellite', 'Streetview' and 'Fullscreen' option buttons, along with the ability to focus in or out.

  • Services Text
    The Services Text element has a blue background colour (#426A8C). The text is white so as to be legible on this background. It outlines the services offered on the site. The list of services is styled in a different colour to the rest of the text to help it to stand out(#F1E5E5). There are two links in the final paragraph; one to the Bookings Section and one to the Restaurants Section. As usual, these links are in light brown but turn dark brown when hovered.

Bookings Section

  • Booking Section Background
    The colourful image used here is fixed when scrolled, similar to the Land Page Hero Image.

  • EmailJS Section
    The main feature of the Bookings Section is the central Contact Form. This was created using Bootstrap's Form Component which I amended to suit the site. The Form consists of 'input-name', 'input-email' and 'text-input' 'form-groups', along with a 'Form-Check' radio section with three options. All of these input fields validate and the information will not send unless each field has been filled out correctly. Email contact functionality was set up through the EmailJS CSN. The Javascript I used for EmailJS can be found in sendEmail.js. A Template Email was created, with all information from the separate form input fields feeding directly into the template's parameters. The email's 'response' or 'error' is logged to the Console. I used code from SweetAlert to create a dynamic and colourful success or failure alert for the user, letting them know how their email has fared upon clicking the 'Send' button at the bottom of the form. This was made possible through SweetAlert's 'swal' function, which I placed into the 'response' and 'error' functions in the EMailJS code.

Restaurants Section

  • Restaurant Flipcards
    These were chosen as a way to put more content and information on the site, without cluttering up the clean design aesthetic. The cards for each restaurant in the Restaurants Section have 3-D transition 'flip' functionality. The code I used to create the flipcard effect was amended from code by Arjun Khara (found here). Each flip card has extra information about the restaurant on the back, with the main image and title on the front. This makes the site more dynamic and visually enjoyable for the user. The restaurant name is in the exact same position on both sides for visual continuity. The colourful and striking images chosen for each restaurant stand out clearly on the muted dark brown background (#594C45) of the Restaurants Section (see Images). The usual contrasting background colour (#426A8C) was used for the rear of the flipcards. On touchscreen devices the cards flip when selected, on all other devices they flip when hovered. The 'background-position' of the Cliff House Image was set to 'bottom', so the tables and restaurant elements at the bottom of the image would not be lost. Using the Bootstrap Grid Break-points, the cards display in one single-card vertical column on Mobile, two-abreast on Tablet, whereas there are three columns of cards on Desktop. By setting up the grid in this way, all six restaurant cards are continuously displayed in a way that looks good on any device. There are links to each restaurant's web page on the rear of the cards; these links were styled in a slightly different colour (#F1E5E5) to the other text so as to make them stand out for the user.

About Us Section

  • About Us Section Background
    The colourful image used here is fixed when scrolled, similar to the Land Page Hero Image and the Bookings Section.

  • About Us Text
    This is a simple biography of the site and how it came about. It uses the main text colour and the same header and paragraph fonts used elsewhere. There is an opaque background behind the text.

Footer

  • Copyright Text
    The Copyright Text is a simple part of the Bootstrap grid, occupying the left-hand side of the Footer on small device sizes and up. It is a basic text element and does not display on XS resolutions. This de-clutters the screen on mobile devices.

  • Social Media Links
    These are fully functional, and link to Cork food culture media on various platforms: the Facebook icon links to this page, the Instagram icon links to this page and the YouTube icon links to this video. The icons for each social media platform were provided by Font Awesome. Media links display to the middle of the Footer on XS devices, and then to the right on all sizes from small upwards.

Future Features

  • Internationalisation
    As this site would be popular with tourists, a useful future feature would be to add language functionality to the site. It would be possible to use a platform such as Crowdin to give the site Internationalisation (i18n), so that a user in another region would get the site automatically translated into their own language.

Technologies Used

(PQ - Check most recent versions!! NB)

All the technologies used to create this project are listed below, along with their usage. Simply click on the title for a link to the main site. When there were separate instances where a technology was used, I have listed each link below.

HTML - This project's structure is based on HTML 5.

CSS - This project's style was created using CSS 3.

Javascript - A number of elements on the site have Javascript functionality (JS 1.8.5).

  • There were three plugins required so that Bootstrap would function; jQuery, Popper.js and Bootstrap's own min.js.
  • I copied and modified Javascript code from Js Fiddle to create transitions while scrolling.
  • I copied Javascript code from Stack Overflow to make the Navbar collapse after an option was selected.
  • I used Javascript to get the Google Maps API to function in the Services Section.
  • I also used Javascript to give EmailJS functionality to my Bookings Section.

SweetAlert - I found a dynamic alert for the Contact Form on SweetAlert's website.

Adobe XD - The wireframes and mockups for this site were designed in Adobe XD.

VSCode - All code for this site (including this README file), and all Github versioning of this code, was done using VSCode.

Git - I used Git to create this project's local repository and to maintain version control.

Github - The remote repository was done through Github.

Github Pages - The site was deployed live on Github Pages.

Bootstrap - The site was built using Bootstrap's grid system (Bootstrap 4.5.0).

  • I also modified several Bootstrap components with my own targeted styles (e.g. Navbar & Contact Form).

Pixabay - I sourced all the images used in the site's construction from this royalty-free website.

JPEG Optimizer - The site's images were compressed here.

Canva - I found my colour palette by uploading the main landing page Hero Image to Canva and I added to this with my own colours.

Flaticon - A food-themed map marker for Google Maps was found here.

Gimp - I used this open-sourced image-manipulation program to create my Favicon.

Font Awesome - The Social Media Icons were supplied using Font Awesome (version 5).

HTML Code Checker - I checked my HTML with the W3C Markup Validation Service.

CSS Code Checker - I checked my CSS with the W3C CSS Validation Service.

CSS Auto-prefixer - The CSS Online Auto-prefixer provided a Vendor Prefix check for my code.

Javascript Code Checker - I checked my Javascript with the JS Hint.

ARIA Checker - I used Wave (Web Accessibility Evaluation Tool) to check that my code was accessible to all users.

BrowserStack - Any platform that I couldn't test in developer tools or on my own devices, I tested here.


Testing

Testing Devices

The site was tested on various devices, including on mobile, laptop and desktop platforms. I list these below:

Mobile Devices

  • Galaxy A5 (Running Android Oreo 8.0.0)
  • Fairphone 3 (Running Fairphone OS C20134228)
  • iPhone XR (Running iOS 13)
  • iPhone SE (Running iOS 13)
  • iPhone 7 (Running iOS 13.4.1)
  • iPhone 6 (Running iOS 12.4.4)

Laptop Devices

  • HP Pavilion (Running Windows 10)
  • Dell Latitude (Running Windows 10)
  • MacBook Air (Running Mojave)

Desktop Devices

  • Asus G20CB-UK032T Core i7-6700 (Running Windows 10)

Developer Tools

I tested the site in Developer Tools on six internet browsers (Chrome, Firefox, Opera, Edge, Internet Explorer & Safari). Bugs and errors were tackled successfully in this way throughout the development process, using Live Server in VSCode and the deployed version of the site on Github Pages.

I used the full gamut of responsivity in Developer Tools, but I also tested on the specific resolutions shown below:

Mobile Resolutions

  • iPhone 4 (320 x 480)
  • Galaxy S5 (360 x 640)
  • iPhone X (375 x 812)

Tablet Resolutions

  • iPad (768 x 1024)
  • iPad Pro (1024 x 1366)

Desktop Resolutions

  • Laptop with MDPI Screen (1280 x 800)
  • Laptop with HiDPI Screen (1440 x 900)
  • Gaming Desktop (2560 x 1440)
  • 4K Monitor (3840 x 2160)
  • 4k Plus (4000 x 2200)

Media Queries

There are 21 separate Media Queries in the CSS code. Every imaginable variation, from the smallest phone to the largest 4K monitor, was used to test the responsivity of the site. There are often multiple elements, functions and attributes being targeted and styled within in any one Media Query. These ensure that the site looks like it should from 240px in width to over 4000px.

User Scenarios

Seeking Fine Dining Information for Ireland

  • Navbar

    1. Go to the Landing Page section.
    2. Click on the Navbar on the top left of the screen.
    3. Click on the links to either Services, Restaurants of About Us for more information.
  • Scroll:

    1. Go to the Landing Page section.
    2. Scroll down the page to either the Services, Restaurants or About Us sections for information.

Specifically Looking for Michelin Starred Restaurants

  • Restaurants Section:
    1. Use either the Navbar link to Restaurants or scroll down from the Landing Page to the Restaurants Section.
    2. Read through the information for each restaurant partner, including their cuisine, philosophy and location.

Locating the Six Restaurant Partners of Elite Gourmet

  • Google Maps API:
    1. Use either the Navbar link to Services or scroll down from the Landing Page to the Services Section.
    2. Use the Google Maps API to locate the Michelin starred restaurants.
    3. Click on each location Marker Pin for a Google Maps Place ID and the restaurant address.

Booking a Fine Dining Experience

  • Booking Section:
    1. Use either the Navbar link to Booking or scroll down from the Landing Page to the Booking Section.
    2. Use the Contact Form in the EmailJS Section to contact Elite Gourmet and organise your culinary experience.

Finding Out About Elite Gourmet

  • About Us:
    1. Use either the Navbar link to Services or scroll down from the Landing Page to the About Us Section.
    2. Read the text outlining the origins and goals of Elite Gourmet.

Outstanding Bugs

Mobile Bugs

  • Galaxy A5 Using Android - Stutter on Scroll
    On a Galaxy A5 running Samsung's Internet Browser on Android Oreo (8.0.0) there was a strange stutter effect on scroll. This seemed to be caused by the main Hero Image which forms the background for the landing page. It appears as if the image resizes as the user scrolls. I was unable to find a fix for this, or to find reference to it elsewhere. This did not happen on other devices, and did not greatly impact on the UI.

Desktop Bugs

  • Internet Explorer - Radio Selection Buttons Pushed to Far Left
    On an Asus G20CB-UK032T running Internet Explorer on Windows 10 there was a problem with the Radio Selection Buttons, which appeared to the extreme left of the element. This happened on no other browser, and is probably caused by Internet Explorer's lack of compatibility with the most recent effects and transitions.

  • Internet Explorer - Flipcards Not Working
    On an Asus G20CB-UK032T running Internet Explorer on Windows 10 there was a problem with the Restaurant Section Flipcards, where the flip effect wouldn't work at all. This happened on no other browser, and occurs because Internet Explorer does not currently support the 3-D Transform effect.


Deployment

Local

  • This project is deployed live on Github Pages.

  • You can run the code in your chosen local Integrated Development Environment (IDE, e.g. VS Code, AWS CLoud9).

    1. Open the Project Repository in Github.

    2. Look for the green Clone or Download button at the top right of the repository.

    3. If using Github Desktop, chose to Open in Desktop.

    4. If you want to Clone the files into a Git repository, chose to copy the URL from the same menu (# 2.). Open your chosen Command Line Interface (CLI, e.g. Gitbash) and use the following command:

      git clone https://github.com/an-slua-sidhe/milestone-2.git
    5. To set up the files manually in a local repository, chose to Download ZIP and remove the files from the ZIP folder. Place them into the chosen location. If desired, set up a Git repository in this folder in your CLI with the following command:

      git init
    6. You can check the state of your repository after initialising it by using this command:

      git status

Remote

  • To push the code to a remote repository, follow the steps below (I use Github as an example).

    1. After using the command 'git status' (see step 6 above) in the command line, check that the console reads:

      Nothing to commit
      working tree clean
    2. Next, link your remote repository. For Github, open your Github account and select Repositories. At the top right of the screen select New.

    3. Give your repository a name. Keep it short and avoid underscores.

    4. You can now choose a few different ways to link the local and remote repositories. The one we want here is "โ€ฆor push an existing repository from the command line". Copy the code this option gives you and paste it into your command line. It should look something like this:

      git remote add origin https://github.com/an-slua-sidhe/milestone-2
      git push -u origin master
    5. Now you can push any changes from the command line with:

      git push
    6. If you check the status of of your local repository now (using 'git status') it should give you something like this:

      On branch master
      Your branch is up-to-date with 'origin/master'.
      nothing to commit, working tree clean
    7. Finally, to deploy the code live with Github Pages, open the repository in your Github account and select 'settings' at the top right of the page. Scroll down to the Github Pages section. Click on the 'None' button. Select the correct branch from the menu. Now click on the URL link to visit the deployed site.


Credits

Code Used

  • Navbar Collapse when link selected
    Copied from a snippet found on Stack Overflow.

  • Styling on Scroll
    I found and modified code found on JS Fiddle to create style changes on scroll.

  • Flipcards
    I modified code by Arjun Khara to create a flipcard transition, which I found here.

Images Used

Restaurants Used

  • Specific restaurant images and all restaurant information was sourced from the respective sites.

    1. The Ichigo Ichie site can be found here.

    2. The Cliff House site can be found here.

    3. The L'Ecrivain site can be found here.

    4. The Ox site can be found here.

    5. The Kai Restaurant site can be found here.

    6. The Chart House site can be found here.

Acknowledgements

  • I received inspiration for this project from the many wonderful cafes, restaurants and bars that are thriving in Cork and the surrounding regions. The passion for food and the constant raising of standards that are displayed year-on-year by the indigenous hospitality industry are incredible. As this project was finalised during the pandemic of 2020, I think it is fitting to wish all culinary creatives a fruitful and prosperous future.

elite-gourmet's People

Contributors

an-slua-sidhe avatar

Watchers

 avatar  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.