Skip to content

krissy/sydney-zouk-scene

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


Sydney Brazilian Zouk Scene website 🇦🇺🇧🇷

Find this live at sydneybrazilianzoukscene.com

👯‍♂️ About

This is the source code for the Sydney Brazilian Zouk Scene website, a responsive single page website that lists Brazilian Zouk dance events in Sydney.

To keep information up-to-date, its data source is a public google spreadsheet, with edit access given to event organisers. You can find an example of the required spreadsheet format here.

It uses vanilla HTML, JS and CSS and is hosted on Vercel on a free tier, utilising its convenient server functions for fetching data.

You’re welcome to copy this project and make one for your local dance scene! See the instructions below.

(back to top)

✨ Features

  • Responsive and lightweight layout with vanilla HTML, JS and CSS only (no frameworks required)
  • Integration with Google Spreadsheets to allow local organisers to keep event content up-to-date
  • Mobile-friendly burger menu
  • Smooth scroll links to sections and back to top
  • Easy to customise and expand

(back to top)

🌱 Getting Started

To get a local copy up and running follow these steps. This project is beginner-friendly but assumes you have basic coding knowledge and your machine setup for development.

If you are new to coding and curious to learn, Free Code Camp is a great starting point!

✂️ Prerequisites

  1. Set up a GitHub account to host your code if you haven't already.

  2. Make sure you have node package manager installed:

  • npm
    npm install npm@latest -g
  1. Create a vercel account and set up the vercel CLI to run the site locally.

  2. Create your own Google Spreadsheet in the correct format, and make it publicly viewable to anyone with the link. You can copy the example spreadsheet here.

🔨 Installation

  1. Click the Fork button at the top-right of this page to copy it to your GitHub account.

  2. Clone your repository to your local machine using:

    git clone https://github.com/YOUR-USERNAME/YOUR-REPOSITORY-NAME.git
  3. Install package dependencies using NPM (Node Package Manager):

    npm install
  4. Create a .env file in your root directory and add your SPREADSHEET_URL to it. You can copy the .env.example provided, and use the example spreadsheet to start, but to make edits and play with real data please replace the spreadsheet ID with your own copy. Note: This .env file you create will be excluded from being tracked in git for privacy's sake.

    cp .env.example .env
    SPREADSHEET_URL=https://docs.google.com/spreadsheets/d/YOUR_SPREADSHEET_ID/gviz/tq?tqx=out:json&sheet=Sheet1
    
  5. Run it locally using vercel's dev server

    vercel dev 
  6. View it in your browser at http://localhost:3000

  7. Customise away!

  • Update HTML content: Replace any text, images, links, colours, or icons in the HTML and CSS.
  • Update the menu: Add your own links to the navbar.
  • Update embedded content: Update YouTube or Instagram embed codes with your content.
  • Update SEO and social share content: Replace the metatags used for SEO (search engine optimisation) keywords and link sharing
  • Customise the spreadsheet and data: Add different fields to your spreadsheet and update the content accordingly.
  • Expand: Optionally add more pages or features or even plug in a content management system if you're feeling fancy

Find more details in the How To Use section below.

(back to top)

🛠️ How to Use

📁 Main Files

  • index.html — The homepage for all main content, SEO keywords and metadata
  • styles.css — All your custom styles
  • /images folder - please replace the main banner images/banner.png with your own (we used Canva to create ours)
  • favicon.ico - please replace the favicon.ico with your own (you can use sites like favicon.io to create one)
  • .env - copy of your environment variables including your JSON-formatted spreadsheet URL (see .env.example). NB: You will need to add these environment variables in Vercel once hosted.
  • fetchData.js - this makes the server call to your Google spreadsheet. You shouldn't have to make edits to this.

💡 Embeds

To embed a YouTube or Instagram video:

(back to top)

📤 Sharing Your Version

  • Prepare your data: Create your dance scene data Google spreadsheet (you can copy the example Google spreadsheet here).

  • Host your website: Once you've customised your site, you can host it for free on vercel, and it will be available on a free yourchosensubdomain.vercel.app URL. You can optionally choose to purchase a .com domain or equivalent on a domain name registrar like Namecheap and set it up to point to your vercel site.

  • Update your enviroment variables: Don't forget to copy your SPREADSHEET_URL to your environment variables in vercel

  • Make it searchable: Once it's up and running, add your URL to the Google Search Console so it can be discovered on Google using all your Search Engine Optimisation (SEO) keywords and content.

  • Share it!: Share your new space with your local community and give your local organisers Edit access to the Google spreadsheet to ensure your events stay up to date!

(back to top)

🤗 Contributing

This site was made very quickly in my spare time and very much prioritised getting it out there over perfection! Any contributions you make to this project to clean it up or make it better are greatly appreciated. ☺️

  1. Fork this repository and create a Feature Branch inf your project (git checkout -b feature/AmazingFeature)
  2. Commit your Changes (git commit -m 'Add some AmazingFeature')
  3. Push to the Branch (git push origin feature/AmazingFeature)
  4. Open a Pull Request in this repository based off your repo's feature branch
  5. Let me know and I'll review and merge it which will deploy it to production

(back to top)

Acknowledgments

  • Lucien - for SEO content
  • Ana - for festival and DJ links

(back to top)

About

Website listing events for the Sydney Brazilian Zouk dance scene

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published