Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Improve project structure #145

Open
9 tasks
vladwulf opened this issue Feb 8, 2022 · 1 comment
Open
9 tasks

Improve project structure #145

vladwulf opened this issue Feb 8, 2022 · 1 comment
Labels
enhancement New feature or request

Comments

@vladwulf
Copy link
Contributor

vladwulf commented Feb 8, 2022

There are a couple of things we can do to make the repo leaner.

  • Move from styled-components to tailwindcss
    Less boilerplate and more clarity with utility styles

  • Create an assets folder and move inside:

    • svg folder (now named resources)
    • fonts folder
    • ethnocentricRg.tff
  • Adopt a better file naming convention

    • Functional components start with capital letter (eg: InfoWidget.tsx), everything else including folders should be in lowercase kebab-case. (apart from hooks which should respect the “usePascalCase” patter)
  • move interface folder to types/interface.ts

  • use pages file name instead of view

@vladwulf vladwulf added the enhancement New feature or request label Feb 8, 2022
@canhtrinh
Copy link
Collaborator

restructure it, simplify it, enhance it, go!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants