ConceptPortal-public/rsconcept/frontend
2024-02-03 15:49:23 +03:00
..
env Finalize portal URLs 2023-09-16 20:32:56 +03:00
public Minor UI fixes 2023-10-13 21:44:18 +03:00
src Refactor constituenta move functionality 2024-02-03 15:49:23 +03:00
.dockerignore Refactoring: implement aliases and use client 2023-12-13 14:32:57 +03:00
.env.local Setup dev and prod configurations for docker 2023-08-29 00:34:56 +03:00
.eslintignore Refactor help pages 2023-08-23 18:11:42 +03:00
.eslintrc.json UI update: new fonts and adjustments 2023-12-30 19:43:24 +03:00
.prettierrc.json Refactoring: apply prettier on save 2023-12-28 14:04:44 +03:00
Dockerfile Fix build system 2023-09-10 21:34:04 +03:00
Dockerfile.dev Setup dev and prod configurations for docker 2023-08-29 00:34:56 +03:00
index.html Optimize frontend for small screens 2024-01-16 13:47:29 +03:00
package-lock.json npm update 2024-01-29 14:58:59 +03:00
package.json npm update 2024-01-29 14:58:59 +03:00
postcss.config.js Minor format changes and fixes 2023-12-30 14:46:43 +03:00
README.md Refactoring: remove redundant flex classnames 2023-12-19 11:18:28 +03:00
tailwind.config.js Minor format changes and fixes 2023-12-30 14:46:43 +03:00
tsconfig.json Refactoring: implement aliases and use client 2023-12-13 14:32:57 +03:00
tsconfig.node.json Another attempt at chunking 2023-08-13 23:51:48 +03:00
vite.config.ts Minor format changes and fixes 2023-12-30 14:46:43 +03:00

Frontend Developer guidelines

Styling conventions

  • static > conditional static > props. All dynamic styling should go in styles props
  • dimensions = rectangle + outer layout
clsx className groupind and order
  - layer: z-position
  - outer layout: fixed bottom-1/2 left-0 -translate-x-1/2
  - rectangle: mt-3 min-w-fit min-w-10 flex-grow shrink-0
  - inner layout: px-3 py-2 flex flex-col gap-3 justify-between items-center
  - overflow behavior: overflow-scroll
  - border: borer-2 outline-none shadow-md
  - colors: clr-controls
  - text: text-start text-sm font-semibold whitespace-nowrap
  - behavior modifiers: select-none disabled:cursor-not-allowed
  - transitions: