Skip to content

Col-R/golf-journal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golf Journal

My favorite sport, in my favorite places.

Table of Contents

  • General info
  • Demo
  • Technologies
  • Setup
  • Features
  • Inspiration
  • Contact

General Info

Golf Journal is a simple app I made to get some practice in with React props, as well as help keep track of some of my bucket list courses.

Golf Journal

Project Demo

Click to view site

Technologies

  • HTML5
  • CSS3
  • Bootstrap
  • React - version 18.2
  • React-Dom - version 18.2
  • React-Scripts - version 5.0.1

Setup

To try this project out yourself:

  1. Clone this repository to your computer
  2. In the command line, navigate to the root directory and type: $ npm install
  3. Then type: $ npm start
  4. Navigate to http://localhost:3000 in your browser

Code Example

React.js

const Card = (props) => {

    return (
        <section className = "card">
            <div className = "card__left">
                <img className = "card__img" src={props.course.imageUrl} alt="golf course"/>
            </div>
            <div className = "card__right">
                <p className="card__location"> <img id = "map__icon" src = {map_icon} alt = "map"/>{props.course.location} <span>|</span> <a href={props.course.googleMapsUrl} className="card__mapsUrl" target="_blank" rel="noreferrer">View on Google Maps</a></p>
                <h1 className="card__title">{props.course.title}</h1>
                {/*Only displays if isPlayed == true in data.js*/}
                {props.course.isPlayed && <p className="card__played">Played <img src = {checkmark} alt = "checkmark" id="checkmark"/></p> }
                <p className="card__description">{props.course.description}</p>
            </div>
        </section>
  )
}

Status

Project is: finished, but will likely be built out to include full CRUD functionality and backend database connection.

Inspiration

This project was inspired by the combination of my two favorite things to do in my free time; travel the world, and play golf. I seldom travel to a new place without my golf clubs, and this app will help me keep track of the places I've played and have yet to play.

Contact

Created by Cole Robinson (https://www.linkedin.com/in/cwrobinson-/) Let me know what you think! All feedback welcome.

License

Click to view

About

Travel journal of my favorite golf courses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published