Giter VIP home page Giter VIP logo

website's Introduction

DSMUN '19

The Doon School Model United Nations 2019 website.

Structure

We use eleventy, a static site generator. Eleventy is configured through .eleventy.js and .eleventyignore.

Most layouts and partials use pug. Most pages will use markdown.

Building

The following will build the site in dist/.

npm run build

Testing

We use npm to manage development dependencies (mainly linters).

Installing dependencies

Run the following in the project directory to install all dependencies.

npm install

Running tests locally

npm test

Deployment

We use now (version 2), a versatile serverless deployment service. Now settings are configured through now.json. Since this repository has now-Github integration installed, the site is deployed to production with each push to master. Additionally, all PRs are deployed to a link that is meant to be used for testing.

Contributing

Contributions are more than welcome. Please read through the contribution guidelines before opening a pull request.

License

Licensed under the MIT License.

website's People

Contributors

agrpaavan2 avatar arav648 avatar dependabot[bot] avatar shreyasminocha avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

arav648

website's Issues

Fix committees sorting

At the moment, committees are randomly ordered on /committees.

As a first step, sort them alphabetically. Eventually (and ideally), use priority keys in committee frontmatter to override committee order where necessary.

Standardize pug

Especially inconsistency in delimiting of attributes (, vs ). There must be a pug-lint rule for this.

Improve colour contrast

From Chrome Dev Tools' Audits panel:

Failing Elements:

<a class="button" href="/addresses/president">President's Address</a>
<a class="button" href="/addresses/secretary-general">Secretary General's Address</a>
<a class="button" href="/executive-board">Meet the rest of the Executive Board</a>
<a href="mailto:[email protected]">[email protected]</a>
<a href="tel:+91-9760013831">+91 9760013831</a>
<a href="mailto:[email protected]">[email protected]</a>
<a href="mailto:[email protected]">[email protected]</a>
<a href="mailto:[email protected]">[email protected]</a>
<a href="//shreyasminocha.me">Shreyas&nbsp;Minocha</a>
<a href="//github.com/shreyasminocha/dsmun19">Source code</a>
<a href="//shreyas.mit-license.org">MIT License</a>

hsl(198, 100%, 44%), DSMUN blue, is the problem colour.

Improve directory structure

… by moving folders with static files out of the root into a static/. I'm unsure manage this without having eleventy's pass-through copy output everything in a similar directory structure.

Add arrow buttons in the gallery

Ye know, to scroll through the gallery with clicks rather than scrolls. We'd probably want to make it keyboard-accessible too.

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.