Skip to content
This repository has been archived by the owner on Aug 13, 2020. It is now read-only.
/ ns-links Public archive

(Head over to https://github.com/ninest/nsr) Links and resources to help people serving National Service in Singapore

License

Notifications You must be signed in to change notification settings

ns-r/ns-links

Repository files navigation

NSR has been moved to ninest/nsr

This repository will be archived soon

Made with Nuxt PRs Welcome GitHub HitCount

Links and resources to help people serving National Service in Singapore.

🎆 Gallery (WIP)

desktop view desktop view desktop view

Built with

  • Nuxt
  • Vue
  • Pug + SCSS ❤️

All the content can be found in pages/index.md. The links are in the markdown-link format, along with extra styling to make the unordered list look like a button group.

🛠️ Development features

Features

  • Create siteConfig.yml for site metadata
  • Use a single YAML plugin
  • Set up pre-rendering correctly

✏️ Contribution

🔗 Adding a link

All links will show up here. To add a link, you can either message me on reddit (u/themindstorm), or create an issue/pull request here if you have the technical knowledge.

All guides go in content/index.md, in the markdown links format. For example, if I want to add the website "https://www.example.com" under the category "General", sub-category "Free time", I will do it like so:

## General
### Free time
- [Making use of free time (1)](https://www.reddit.com/r/singapore/comments/9lwo39/how_much_free_time_are_u_given_during_ns_and_how/)
- [Making use of free time (2)](https://www.reddit.com/r/singapore/comments/ds06fe/what_can_i_do_to_make_best_use_of_free_time_in/)
- [LINK DESCRIPTION](https://www.example.com)

Change LINK DESCRIPTION to an appropriate description.

📄 Adding a guide

All guides show up All links will show up here. If you do not know you to use Git/GitHub and markdown, you can message me on Reddit here. Any information in the guide must be non-confidential.

First, look for your category in siteConfig.yml. Each category has a name and slug. If the category is not there, add it like so:

# pages list
list:
  ...
  # all previous categories here
  ...
  - name: Technology
    slug: technology
    pages:

The slug should be the slugified name. See these examples:

  • "BMT" -> "bmt"
  • "Vocation" -> "vocation"
  • "Intersting discussions" -> "intersting-discussions"

Leave pages empty for now, we will fill it later.

Create a folder in the content directory. The folder's name should be the category's slug. In this case, it should be technology (lower case).

To be completed ...