Skip to content
/ nyilund Public

πŸ’š Ny i Lund - Student guide for new students studying in Lund

License

Notifications You must be signed in to change notification settings

esek/nyilund

Repository files navigation

πŸ’š Ny i Lund - Student guide

A website for new students at Lund University in order for them to get a head start in understanding the city, the university and the student life.

πŸ’» Technologies

πŸš€ Getting started

Make sure you have Node.js 16 and pnpm installed before continuing.

  1. Clone the repository
git clone [email protected]:esek/nyilund.git
  1. Install dependencies
pnpm install
  1. Start the development server
pnpm dev

🌏 Localization

Internationalization is done using a custom built solution.

The <MainLayout /> component has a locale prop that is used to determine which language to use. Then, all subcomponents that require translations also have a locale prop. This can then be used in conjuction with the getTranslations function to retrieve a tuple of the translation function as well as the routes for the current locale.

Translations

The translations are placed in the locales folder, and exported from the index.ts file.

❓ FAQ

The FAQ section is built using markdown files in the content/faq folder. These are placed in their relative language folder, and are then imported in the <FAQ /> component. This is done in order to be able to use more advanced markdown features, such as links and headings.

About

πŸ’š Ny i Lund - Student guide for new students studying in Lund

Topics

Resources

License

Stars

Watchers

Forks

Languages