GithubHelp home page GithubHelp logo

litcal-anniversari-frontend's Introduction

Liturgical Anniversary Calculator

This frontend is a Next.js application using Yarn v4.

After cloning the repo, you must run corepack enable in the project folder in order to be able to use the local yarn.

Then run yarn install to install dependencies.

Getting Started

Run the development server:

yarn dev

Open http://localhost:3000 with your browser to see the result.

You can start editing the page by modifying app/page.js. The page auto-updates as you edit the file.

To build the project to static resources that can be uploaded to a remote server, run:

yarn build

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Translating

This frontend application is using Next I18n for translations. There are two namespaces:

  • translation: this is for all of the UI elements in the application
  • anniversary: this is specifically for the names of anniversaries

Because there are two namespaces, there are also two translation components on our weblate service (click on either image to go the translation page):

translation ns anniversary ns
Translation status Translation status

However the data that is displayed for each anniversary event cannot be translated on the frontend application, this data comes from the backend and must be translated in the translation components for the backend. The backend also has two translation components, one for common strings (error messages and translations of the anniversary 'type'); the other for the actual data for each event.

common event data
Translation status Translation status

litcal-anniversari-frontend's People

Contributors

dependabot[bot] avatar johnrdorazio avatar kanefreeman avatar

Watchers

 avatar

Forkers

kanefreeman

litcal-anniversari-frontend's Issues

migrate to Next JS

Seeing that Create React App has reached end of life, it would be useful to migrate to a newer framework such as Next JS.

Sidebar close persistence on mobile

Currently, the left sidebar will stay closed once it is closed a first time. On a desktop, there is a small icon which allows to reopen the sidebar, however on mobile the small icon disappears, making it effectively impossible to reopen the sidebar.
Either make sure the icon appears on mobile, or the open/closed state should not be persistent.

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.