NUSSeafarers / NUSSeafarers.github.io

Website of NUS Seafarers, showcasing our best documents, photos and videos.
https://nusseafarers.github.io/
2 stars 0 forks source link
four-friends sailing south-china-sea

NUS Seafarers' Website

This is the website documenting the voyages of NUS Seafarers, in which we showcase our best stories, photos, videos, and explore interesting topics like celestial navigation, SEA culture and sailing.

Contribution

We welcome contributions and suggestions from all voyagers. Whether you are a programmer or not, you can always write your blog post, report bugs, or make suggestions under the Issues page of this repository.

If you want to add blog posts by yourself, please contact our team or ask in the telegram group, so that we can add you into the NUS Seafarers organization on GitHub.

Please avoid posting personal information and other sensitive stuff on the website.

General

Adding blog posts

Creating blog posts is very simple and can be done on the GitHub website directly.

FAQ

  1. Q: How can we add our own images?

    A: please add all images under the /images/ directory. For images of individual voyages, put them under separate subdirectories under /images/voyages.

    To import an image in a page, you may copy the following code.

    <figure class="blog_figure">
       <img src="https://s3.eu-west-1.amazonaws.com/presspage-production-content/uploads/2580/Infographic_VoyageMap-633264.jpg">
       <figcaption>The week-long 400-kilometre voyage started off from Batam, with stops on the islands of Benan, Sebangka, Lingga, Gojong, before anchoring at Pulau Telang on their return.</figcaption>
    </figure>

    where the link to the image (online or local) should be put after img src=, the caption (optional) should be written between <figcaption>, and the figure size can be adjusted by modifying the max-width parameter.

  2. Q: How to use custom fonts?

    A: You may select font families in Google fonts (by clicking the + signs on the right of individual styles), then press the View Selected Families button on the top right of the webpage. Under the Use on the web section, copy the line of code starting with @import url(...) into /assets/css/app.scss. You may now use the font by adding

    font-family: 'Name of the new font';

    in the CSS style.