Skip to content

itsmepravin/constitution-project

Repository files navigation

A personal project to make the Constitution of Nepal into a website. The official pdf provides all the information about the Constitution of Nepal but going through 240 pages just to find "What are my rights as a citizen?" is not optimal. That is why I started this project. This also helps people to stay away from misinformation rabbithole, portrayed by online medias, influencers and people with agendas. This is still a work-in-progress and I do the best of my ability to keep updating the information inside.

First Commit

  1. Pushed the site to github.
  2. Contains part 1 - 8 and articles upto 108.

Second Commit

  1. Refactor some code into components folders.
  2. Added copyright info.

Third Commit

  1. Added part 9 - "Federal Legislative Procedures". Articles now upto 114.

Oct 27, 2022 Commit

  1. Refactor components to deal with odd structured articles that don't follow patterns like the rest. Like Article 48, 51, 91.
  2. Added missing informations on some articles.
  3. Data now comes from json file instead from js file.
  4. Added "Arima Madurai" font. Added hover effect on Articles Accordion.
  5. Yet to refactor the single Accordion components into individual components.

Oct 28, 2022 Commmit

  1. Added Part 10(A115-A125) and Part 11(A126-A156).

Oct 29, 2022 Commit

  1. Added Part 12(A157-A161), Part 13(A162-A174), Part 14(A175-A196) and Part 15(A197-A202).

Oct 30, 2022 Commit

  1. Added Part 16(A203-A213), Part 17(A214-A220), Part 18(A221-A227).

Oct 31, 2022 Commit

  1. Added Part 19(A228-A230), Part 20(A231-A237), Part 21(A238-A239), Part 22(A240-A241). Part 23(A242-A244), Part 24(A245-A247) and Part 25(A248-A249).
  2. Theme is dark by default now.
  3. Accordion Details now retains the border left size and color when expanded.

Nov 04, 2022 Commit

  1. Added Part 26(A250-A251) to Part 35(A307-A308).

Nov 06, 2022 Commit

  1. Added Preamble and all the Schedules(1-9).
  2. All the data from the Constitution pdf and the website are in sync and complete, i.e. no more data remains to be added.
  3. Preamble and Schedules are served as static individual components. Will be made dynamic as I figure out how to structure those data.
  4. Select now has list subheaders.
  5. Schedules has been made to portray as closely as possible to the Constitution pdf.
  6. The Schedules are not the best looking on mobile devices, will be worked on later.
  7. Added link to the original pdf in Dev Note.

March 04, 2023 Commit

  1. Added search functionality.
  2. Made the search UI inline with other elements/made it responsive.
  3. Some changes to MUI theme.

January 29, 2024

  1. Added TypeScript.
  2. Fixing the breaking changes.