All Projects → krashnamusika → krashna-site

krashnamusika / krashna-site

Licence: MIT license
Website for Krashna Musika - Student Society for Classical Music in Delft

Programming Languages

javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to krashna-site

Gatsby Universal
🔮 An opinionated Gatsby v2 starter for state-of-the-art marketing sites.
Stars: ✭ 617 (+3529.41%)
Mutual labels:  gatsby, static-site
Rw
Ryan Wiemer's Digital Portfolio
Stars: ✭ 87 (+411.76%)
Mutual labels:  gatsby, static-site
Gatsby Starter Ghost
A starter template to build lightning fast websites with Ghost & Gatsby
Stars: ✭ 752 (+4323.53%)
Mutual labels:  gatsby, static-site
www
🦁 Source files for my personal site
Stars: ✭ 64 (+276.47%)
Mutual labels:  gatsby, static-site
Gatsby Theme Superstylin
💅 A Gatsby Theme with styled-components
Stars: ✭ 165 (+870.59%)
Mutual labels:  gatsby, static-site
Devblog
A lightweight, customizable personal blog template built with GatsbyJS and React
Stars: ✭ 312 (+1735.29%)
Mutual labels:  gatsby, static-site
Gatsby Starter Alchemy
A Gatsby starter with PostCSS powers ✨🔮
Stars: ✭ 23 (+35.29%)
Mutual labels:  gatsby, static-site
gatsby-attila-theme-ghost
A Gatsby theme plugin for creating blogs from headless Ghost CMS.
Stars: ✭ 16 (-5.88%)
Mutual labels:  gatsby, static-site
Gatsby Starter Try Ghost
Publish flaring fast blogs with Gatsby and Ghost
Stars: ✭ 137 (+705.88%)
Mutual labels:  gatsby, static-site
Gatsby Plugin Advanced Sitemap
Advanced XML Sitemaps for Gatsby.js
Stars: ✭ 94 (+452.94%)
Mutual labels:  gatsby, static-site
gatsby-starter-landing-page
🖱 A simple, minimal Gatsby starter for quick and easy landing pages
Stars: ✭ 132 (+676.47%)
Mutual labels:  gatsby, static-site
Gatsby Docker
Develop & Build GatsbyJS static sites within Docker.
Stars: ✭ 184 (+982.35%)
Mutual labels:  gatsby, static-site
gatsby-theme-amsterdam
A Gatsby theme for artists, photographers and other creative folks 👨‍🎨
Stars: ✭ 133 (+682.35%)
Mutual labels:  gatsby, static-site
Gatsby Starter Gcn
A starter template to build amazing static websites with Gatsby, Contentful and Netlify
Stars: ✭ 488 (+2770.59%)
Mutual labels:  gatsby, static-site
subtle-ui
A collection of clever yet understated user interactions found on the web
Stars: ✭ 39 (+129.41%)
Mutual labels:  gatsby, static-site
Netlify Rebuild
WordPress Plugin to trigger Netlify rebuild
Stars: ✭ 19 (+11.76%)
Mutual labels:  gatsby, static-site
gatsby-starter-typescript
A Gatsby starter the way I like it.
Stars: ✭ 62 (+264.71%)
Mutual labels:  gatsby, static-site
static-web-apps-gallery-code-samples
A community showcase of projects built with Azure Static Web Apps 🎉 Visit: https://microsoft.github.io/static-web-apps-gallery-code-samples/
Stars: ✭ 96 (+464.71%)
Mutual labels:  gatsby, static-site
Gatsby Theme Try Ghost
A Gatsby theme to build flaring fast blogs from headless Ghost CMS
Stars: ✭ 88 (+417.65%)
Mutual labels:  gatsby, static-site
Startup Landing
Collection of free top of the line startup landing templates built using react/nextjs/gatsby. Free to download, simply edit and deploy! Updated weekly!
Stars: ✭ 176 (+935.29%)
Mutual labels:  gatsby, static-site

Krashna Musika
Krashna Musika Website

Static site generator for the site of Delft's student music association Krashna Musika, built with React and Gatsby.js.

Installation

To get started, you'll need the Node.js environment and the Yarn package manager. Once you have those installed, run the following commands from the root directory of this repo:

yarn
yarn global add gatsby-cli

Running

Development

To start a development server (with live-reloading), run:

yarn develop

There will now be a server listening on localhost:8000!

Production

To build a production bundle, run:

yarn build

Changes to the master branch are automatically deployed to the live site (at krashna.nl), through the Netlify build service.

Documentation

Overall Structure

In general, this project follows the common Gatsby.js folder structure:

  • Pages are defined in /src/pages. The file name of each JS file (excluding the .js extension) is used as the URL of the corresponding page.
  • Page templates (boilerplate structures for how different types of pages should look) are located in /src/templates.
  • Components which these pages and templates use are contained in the /src/components folder.

However, there are some ways in which it differs, to offer internationalization and other features:

  • All translations are contained in the YAML files of the /src/locales folder. Each sub-folder contains a copy of each translation definition file, in a specific language. These translation files are compiled down to JSON, which is served alongside the rest of the content and dynamically inserted into the page at runtime. We use the react-intl library, integrated by gatsby-plugin-intl, for translation.
  • All data on which page generation is based, such as the list of concerts, is contained in /src/data.

Adding Content

Adding content can be done easily by adding text or some other data to predefined files, some examples are given below. All content is written in Markdown. If you are not familiar with Markdown, or need some help, check out this handy link

Adding a Page

To add a page...

  1. Add a JS file in /src/pages with as name the URL you want to put that page on. When in doubt on how to structure this file, have a look at the other existing pages in that folder.
  2. Add the needed translations for any translation keys you use, in /src/locales. Refer to existing pages and translations for examples of how one can access such a translation key in the page file and how this can be defined in the translation file.

Adding a Concert

To add a concert...

  1. Add an entry to the /src/data/concerts.yaml list following the same format as the other entries.
  2. Add language-dependent texts to the concerts.yaml files in the /src/locales folder, in both languages.

Adding a News Post

To add a news post...

  1. Add an entry to the /src/data/news.yaml list following the same format as the other entries.
  2. Add language-dependent texts to the news.yaml files in the /src/locales folder, in both languages.
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].