Compare commits
2 Commits
21478caa3f
...
ad7a1e79e3
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ad7a1e79e3 | ||
|
|
43c2a5b20d |
@ -56,19 +56,19 @@ func EditProject(project *ent.Project) g.Node {
|
|||||||
b.ImgSq64,
|
b.ImgSq64,
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
Input(Type("hidden"), Value(strconv.Itoa(project.ID)), Name("project_id")),
|
Input(Type("hidden"), Value(strconv.Itoa(project.ID)), e.Name("project_id")),
|
||||||
//b.Label("ID: "+strconv.Itoa(project.ID), Name("project_id")),
|
//b.Label("ID: "+strconv.Itoa(project.ID), Name("project_id")),
|
||||||
b.Label("Name"),
|
b.Label("Name"),
|
||||||
b.Textarea(project.Name, b.Rows(1), Name("project_name")),
|
b.Textarea(project.Name, b.Rows(1), e.Name("project_name")),
|
||||||
b.Subtitle(
|
b.Subtitle(
|
||||||
6,
|
6,
|
||||||
b.Label("Repo"),
|
b.Label("Repo"),
|
||||||
b.Textarea(project.URL, b.Rows(1), Name("project_repo")),
|
b.Textarea(project.URL, b.Rows(1), e.Name("project_repo")),
|
||||||
b.Label("Docs"),
|
b.Label("Docs"),
|
||||||
b.Textarea(project.DocURL, b.Rows(1), Name("project_docs"))),
|
b.Textarea(project.DocURL, b.Rows(1), e.Name("project_docs"))),
|
||||||
),
|
),
|
||||||
b.Content(
|
b.Content(
|
||||||
b.Textarea(project.Description, Name("project_description")),
|
b.Textarea(project.Description, e.Name("project_description")),
|
||||||
),
|
),
|
||||||
|
|
||||||
//b.CardFooter(
|
//b.CardFooter(
|
||||||
|
|||||||
@ -26,7 +26,7 @@ func createHomeBody(w http.ResponseWriter, r *http.Request) g.Node {
|
|||||||
b.MediaLeft(
|
b.MediaLeft(
|
||||||
Figure,
|
Figure,
|
||||||
b.ImageImg("assets/images/darius_circle_noEdge_crop_upscayl_1x_realesrgan-x4plus-anime.png",
|
b.ImageImg("assets/images/darius_circle_noEdge_crop_upscayl_1x_realesrgan-x4plus-anime.png",
|
||||||
b.OnImg(Class("object-scale-down grayscale "+
|
b.OnImg(e.Class("object-scale-down grayscale "+
|
||||||
"max-h-[calc(25vh_-_3.75rem)] "+
|
"max-h-[calc(25vh_-_3.75rem)] "+
|
||||||
"sm:max-h-[calc(40vh_-_3.75rem)] "+
|
"sm:max-h-[calc(40vh_-_3.75rem)] "+
|
||||||
"md:max-h-[calc(60vh_-_3.75rem)] "+
|
"md:max-h-[calc(60vh_-_3.75rem)] "+
|
||||||
@ -37,7 +37,7 @@ func createHomeBody(w http.ResponseWriter, r *http.Request) g.Node {
|
|||||||
b.Section(
|
b.Section(
|
||||||
b.Margin(100),
|
b.Margin(100),
|
||||||
e.H1("Darius Klein",
|
e.H1("Darius Klein",
|
||||||
Class("title backdrop-blur "+
|
e.Class("title backdrop-blur "+
|
||||||
"text-2xl "+
|
"text-2xl "+
|
||||||
"sm:text-4xl "+
|
"sm:text-4xl "+
|
||||||
"md:text-6xl "+
|
"md:text-6xl "+
|
||||||
@ -45,7 +45,7 @@ func createHomeBody(w http.ResponseWriter, r *http.Request) g.Node {
|
|||||||
),
|
),
|
||||||
e.H2(
|
e.H2(
|
||||||
"Backend developer die zelf zijn servers kan opzetten.",
|
"Backend developer die zelf zijn servers kan opzetten.",
|
||||||
Class("subtitle backdrop-blur"),
|
e.Class("subtitle backdrop-blur"),
|
||||||
),
|
),
|
||||||
|
|
||||||
b.ButtonAHref("/projects", "Mijn projecten.", b.Primary, b.Centered, b.Large),
|
b.ButtonAHref("/projects", "Mijn projecten.", b.Primary, b.Centered, b.Large),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user