Giter VIP home page Giter VIP logo

2024-website's Introduction

PyCon AU 2024 website

This website is built with Astro.

Yes, we're fully aware of the irony of building the website for a Python conference with JavaScript tooling ;) Previous versions of this site were built with Statik, and Astro is very similar in spirit while being more actively maintained.

Installing and running

You'll need to install Node.js (which you can usually get from your friendly local system package manager) and PNPM. Then, run:

pnpm install
pnpm start

Dynamically updated data

While this repo is the source of truth for most content on the website, talk data and speaker bios are synced from Pretalx.

This is done by a script that loads data using the Pretalx API and commits it to this repo. This lets us ensure that remote services don't block us from being able to rebuild the website, and also makes it easier to archive the website once the conference is over.

Repository structure

  • scripts
    • schedule_sync.py: This is the script that handles syncing data from Pretalx.
  • src
    • content: Astro content collections root.
      • pages: Most static prose content is in here. The structure of this directory mirrors the website's URL structure.
      • people, sessions: These directories are auto-populated by the Pretalx sync script. Manual changes made here may be overwritten.
      • sponsors: Sponsor data is in here. This populates the website footer and the /sponsor/ page.
      • tracks: Prose about specialist tracks is in here.
    • pages: This is the root of Astro's file-based routing. The structure of this directory mirrors the website's URL structure.
      • index.astro: This is the home page. Its content is directly written in HTML in the template; it's not pulled from anywhere else.
      • [...slug].astro: This is the route that generates the actual HTML for the files in src/content/pages/.
    • components
      • Navigation.astro: Top-of-page navigation.
    • layouts
      • Base.astro: Base layout used for every page.
      • Page.astro: Layout used for most pages with prose content on them.

2024-website's People

Contributors

daisylb avatar glasnt avatar mattcen avatar devjack avatar attacus avatar jeamland avatar fphhotchips avatar dependabot[bot] avatar yaakov-h avatar xfxf avatar libbyberrie avatar elena avatar mause avatar dependabot-preview[bot] avatar urcheraus avatar charles-turner-1 avatar nickyringland avatar caitelatte avatar auscompgeek avatar firstyear avatar jpwarren avatar rachelbunder 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.