diff --git a/views/employee/employee.templ b/views/employee/employee.templ index 80f81e8..adeb7bd 100644 --- a/views/employee/employee.templ +++ b/views/employee/employee.templ @@ -2,6 +2,7 @@ package employee import ( "github.com/emarifer/go-templ-project-structure/views/layout" + "github.com/emarifer/go-templ-project-structure/views/under_development" ) templ MainEmployee(cardServiceComponent templ.Component) { @@ -26,20 +27,25 @@ templ MainEmployee(cardServiceComponent templ.Component) { /> - - @HeadingEmployee("PT. Sadhana Abiyasa Sampoerna") - - -
-
-
- - @cardServiceComponent - +
+ @under_development.UnderDevelopment() +
+
+ + @HeadingEmployee("PT. Sadhana Abiyasa Sampoerna") + + +
+
+
+ + @cardServiceComponent + +
+
-
} diff --git a/views/employee/employee_templ.go b/views/employee/employee_templ.go index f91b28c..4b9ce17 100644 --- a/views/employee/employee_templ.go +++ b/views/employee/employee_templ.go @@ -12,6 +12,7 @@ import "bytes" import ( "github.com/emarifer/go-templ-project-structure/views/layout" + "github.com/emarifer/go-templ-project-structure/views/under_development" ) func MainEmployee(cardServiceComponent templ.Component) templ.Component { @@ -27,7 +28,15 @@ func MainEmployee(cardServiceComponent templ.Component) templ.Component { templ_7745c5c3_Var1 = templ.NopComponent } ctx = templ.ClearChildren(ctx) - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + templ_7745c5c3_Err = under_development.UnderDevelopment().Render(ctx, templ_7745c5c3_Buffer) + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -43,7 +52,7 @@ func MainEmployee(cardServiceComponent templ.Component) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } diff --git a/views/mcu/peserta/mcupeserta_templ.go b/views/mcu/peserta/mcupeserta_templ.go index 1ec87e5..0d537a2 100644 --- a/views/mcu/peserta/mcupeserta_templ.go +++ b/views/mcu/peserta/mcupeserta_templ.go @@ -36,7 +36,7 @@ func MainMcuPeserta(divPesertaMcu string, dataPesertaMcu string, divKepesertaanM if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Data Kepesertaan MCU

") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Data Kepesertaan MCU

") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } @@ -60,7 +60,7 @@ func MainMcuPeserta(divPesertaMcu string, dataPesertaMcu string, divKepesertaanM if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }