Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save niazangels/a308b52d271c7afd1ac92a17139a6521 to your computer and use it in GitHub Desktop.
Save niazangels/a308b52d271c7afd1ac92a17139a6521 to your computer and use it in GitHub Desktop.

Navigation

  • Home
  • Activities (@activity-listing)
  • Events (@event-listing)
  • About
  • Contact

Home

  • Hero
  • Upcoming events panels
  • Featured activities
    • @activity.tag includes "featured"
    • @activity in upcoming @events

Activities (@activity-listing)

// These are auto populated whenever a new entry is made to @activity

  • Land
    • @activity.tag includes "land"
  • Air
    • @activity.tag includes "air"
  • Water
    • @activity.tag includes "water"

Activity Component (@activity)

  • Title
    • "Rappeling"
  • Face Image
    • Image shown in activity listings page
  • Other Images
    • Other images user can view when on this event's page
  • Overview
    • Max 2 para about the activity
  • Tags
    • ["land", "valley", "rope"]
  • Suggested places
    • List places where this can be done

Events

// These are auto populated whenever a new entry is made to @events

  • Upcoming
    • @event.date >= today
  • Past
    • @event.date < today

Event Component (@event)

  • Title
    • "One day mountain climbing experience"
  • Activities
    • @activity[id="trekking"]
    • @activity[id="rappeling"]
    • @activity[id="valley-crossing"]
  • Overview
    • Max 2 para about the event
  • Event date & time
  • Event venue
  • Book
    • Link to booking
  • Links
    • Links to social media posts etc.
  • Contact

About

  • About AMAS

Contact

  • Address, Email, phone
  • Social media accounts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment