Giter Site home page Giter Site logo

msbandofchoctawindians / choctawindianfair Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 163.5 MB

Landing page for the Choctaw Indian Fair

Home Page: https://www.choctawindianfair.com/

Ruby 0.01% HTML 23.95% SCSS 74.10% JavaScript 1.94%
bootstrap github-pages jekyll liquid

choctawindianfair's Introduction

Choctaw Indian Fair Website

An event website built with Github Pages and Bootstrap 5.1.3.

See it live in action at https://www.choctawindianfair.com/

Home Page

Home page shows background video on desktop and tablets, but shows a static image on phones and devices without mouse pointers. Countdown timer is generated from _includes/countdown-timer.html with a message, end date, and border color css class.

Events Page

Events page uses a for loop and pulls information from YAML files in the _data/schedule/ folder. Event tabs will have an active css class for three scenarios:

  1. Current date is before or matches first day of fair schedule (current day <= first day of fair)
  2. Current date matches one of the days of fair schedule (current day = any day of fair)
  3. Current date is after or matches last day of fair schedule (current day >= last day of fair) These equations will allow for the active tab shown to be the most relevant.

Events are generated using a for loop and pulls information from YAML files in the _data/schedule/ + day# + events.yml.

All event cards link to their coresponding pages (ie. culture, stickball, pageant, competitions). But the card footers link to Visitor Info/ to see the fair map.

Stickball Page

Countdown timer is generated from _includes/countdown-timer.html with a message, end date, and border color css class.

Score cards are generated in html and css. The only image present is the WSS logo. Each division runs a for loop to generate score cards. Information for these score cards are pulled from '_data/games/' + division. Card colors are defined in 'assets/main.scss' where each team has a CSS class (ie. card-unified). Each score card also links to a modal that is generated after the for loop. Each modal is created in '_includes/modal/' + division + game##.html. Each of these includes runs a for loop to pull roster information on each teach from '_data.rosters/' + division + team + players.yml. Coaches for each team are also pulled from coaches.yml in the same folder.

Competitions Page

Competitions page uses a for loop and pulls information from YAML files in the _data/comp/ folder. firstAction and secondAction are used to generate the buttons for each card.

Footer

Footer is generated from _includes/footer.html and runs a for loop that is generated from _data/sponsors/cards.yml. Level defined in YAML file is used for the CSS class for background color (ie. card-platinum) and the text below each image (ie. PLATINUM SPONSOR).

choctawindianfair's People

Watchers

Sonny Mattera 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.