App notes
This commit is contained in:
parent
f82f72ec1c
commit
73cf59ff86
@ -9,6 +9,15 @@ A truly proper website this time™
|
|||||||
- Dynamically make domains for other branches
|
- Dynamically make domains for other branches
|
||||||
- Make a generic page component, so that you don't have to add the standard panels every time (such as navbar, leftbar, header, etc)
|
- Make a generic page component, so that you don't have to add the standard panels every time (such as navbar, leftbar, header, etc)
|
||||||
|
|
||||||
|
App notes:
|
||||||
|
- leftbar (under nav) is default always the same.
|
||||||
|
This is in a standardized "page" component.
|
||||||
|
it can be changed by specifying it when creating the "page" component, or maybe in a prerender/onnav (or both).
|
||||||
|
Structure will be:
|
||||||
|
Generic page component IS IMPLEMENTED BY "specific page" WHERE OnNav/OnPreRender specify its details WHICH IS CREATED with its own "newXPage()" function. See https://github.com/maxence-charriere/go-app/blob/master/docs/src/actions-page.go for example.
|
||||||
|
- "main content" is an array of app.UI elements.
|
||||||
|
This can also be further abstracted using "block" components (the ones with the cool color)
|
||||||
|
- THOSE BLOCK COMPONENTS' CONTENT can be set manually on creation, OR by passing HTML/MarkDown (not decided yet)
|
||||||
|
|
||||||
This website will be done with this:
|
This website will be done with this:
|
||||||
- Backend written in Golang
|
- Backend written in Golang
|
||||||
|
Loading…
Reference in New Issue
Block a user