Skip to content

mgm1313/devierdedimensie.nl

Repository files navigation

De Vierde Dimensie

This repo houses the assets used to build the 'De Vierde Dimensie' website, available at https://devierdedimensie.nl.
Goal of this project was to serve members of our student society media assets, that where generated during our anniversary year.

Features

Tools

The website is built and developed using the Gatsby static site generator, and styled with help of the CSS framework TailwindCSS.

Hosting

This site is hosted on Zeit Now.

Caution: you're required to create a Zeit account before being able to access above links.

Photo's

Optimizations

Images that are uploaded to the storage bucket automatically trigger a cloud function (which can be found in the /functions folder). This function creates image thumbnails using sharp, as well as extracts metadata from the file. Links to the thumbnails and the metadata are stored in a Google Firestore database.

Storage & delivery

All image assets that live inside the gallery pages, are hosted via Cloud Storage for Firebase.
References to the images live inside a Google Firestore database. On request I'm able to provide you access to this database to query the data. The database follows the following schema:

{
  "id" : {
    "name" : "filename",
    "category" : "string",
    "labels" : [ {
      "confidence" : "integer",
      "description" : "string",
      "locale" : "",
      "mid" : "string",
      "score" : "integer",
      "topicality" : "integer"
    } ],
    "metadata" : {
      "format" : "mime type",
      "width" : "integer",
      "height" : "integer",
      "size" : "string",
      "timestamp" : {
        "_nanoseconds" : "integer",
        "_seconds" : "integer"
      }
    },
    "placeholder" : "base64 representation of a 32x32px version of the image",
    "thumbnail" : "location to 200px width version of the image",
    "small" : "location to 400px width version of the image",
    "medium" : "location to 800px width version of the image",
    "large" : "location to 1200px width version of the image",
    "big" : "location to 1600px width version of the image",
    "original" : "location to original (unmodified) version of the image"
  }
}

Contributing

Any and all contributions are welcome. Simply open an issue or submit a pull request.

License

MIT

About

Memorial website for the celebration of the 120th anniversary of our student society KSV Sanctus Virgilius. Made with Gatsby, hosted on ZEIT Now.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published