Funktioner och Variabler: camelCase
Klasser: PascalCase
CSS: camelCase
FilNamn och MappNamn: camelCase
HTML och Typescript: 4 spaces
Next => React => Typescript
CSS
✨ Introduce new features.
📝 Add or update documentation.
💄 Add or update the UI and style files.
✅ Add, update, or pass tests.
🐛 Fix a bug.
function test() {
console.log("notice the blank line before this function?")
}
src(
app(
api(
api koppling
)
components(
navbar och andra komponenter
)
lib(
databas saker
)
pages(
mapp för olika sidor
)
styleguide(
sida för style instruktioner
)
pages.tsx : landing page
layout.tsx : global layout för alla sidor
)
)