moved to templ
This commit is contained in:
parent
24722ee61c
commit
303d9703f1
28 changed files with 1522 additions and 853 deletions
66
templates/wyroby_slodkie_stoly_templ.go
Normal file
66
templates/wyroby_slodkie_stoly_templ.go
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Code generated by templ - DO NOT EDIT.
|
||||
|
||||
// templ: version: v0.3.1020
|
||||
package templates
|
||||
|
||||
//lint:file-ignore SA4006 This context is only used if a nested component is present.
|
||||
|
||||
import "github.com/a-h/templ"
|
||||
import templruntime "github.com/a-h/templ/runtime"
|
||||
|
||||
func WyrobySlodkieStoly() templ.Component {
|
||||
return templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
|
||||
if templ_7745c5c3_CtxErr := ctx.Err(); templ_7745c5c3_CtxErr != nil {
|
||||
return templ_7745c5c3_CtxErr
|
||||
}
|
||||
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W)
|
||||
if !templ_7745c5c3_IsBuffer {
|
||||
defer func() {
|
||||
templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err == nil {
|
||||
templ_7745c5c3_Err = templ_7745c5c3_BufErr
|
||||
}
|
||||
}()
|
||||
}
|
||||
ctx = templ.InitializeContext(ctx)
|
||||
templ_7745c5c3_Var1 := templ.GetChildren(ctx)
|
||||
if templ_7745c5c3_Var1 == nil {
|
||||
templ_7745c5c3_Var1 = templ.NopComponent
|
||||
}
|
||||
ctx = templ.ClearChildren(ctx)
|
||||
templ_7745c5c3_Var2 := templruntime.GeneratedTemplate(func(templ_7745c5c3_Input templruntime.GeneratedComponentInput) (templ_7745c5c3_Err error) {
|
||||
templ_7745c5c3_W, ctx := templ_7745c5c3_Input.Writer, templ_7745c5c3_Input.Context
|
||||
templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templruntime.GetBuffer(templ_7745c5c3_W)
|
||||
if !templ_7745c5c3_IsBuffer {
|
||||
defer func() {
|
||||
templ_7745c5c3_BufErr := templruntime.ReleaseBuffer(templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err == nil {
|
||||
templ_7745c5c3_Err = templ_7745c5c3_BufErr
|
||||
}
|
||||
}()
|
||||
}
|
||||
ctx = templ.InitializeContext(ctx)
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 1, "<main id=\"slodkie_stoly\">")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
templ_7745c5c3_Err = wyrobyHeader("wyroby_slodkie_stoly").Render(ctx, templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 2, "<section id=\"cennik\"><p>Aranżacja i transport słodkości ustalane są indywidualnie<br>Minimalna ilość zamówień: <strong>8szt</strong> z jednego rodzaju<br>W przypadku zamówień dla ilości osób powyżej 30, do wyboru są następujące konfiguracje bufetów:</p><div class=\"card-low\"><h3>Podstawowy</h3><span>28 PLN/osoba</span><p>3 szt. deseru na osobę<br>5 rodzajów do wyboru</p></div><div class=\"card-low\"><h3>Rozszerzony</h3><span>34 PLN/osoba</span><p>4-5 szt. deseru na osobę<br>7 rodzajów do wyboru</p></div><div class=\"card-low\"><h3>Premium</h3><span>39 PLN/osoba</span><p>6 szt. deseru na osobę<br>7 rodzajów do wyboru</p></div></section><section><div id=\"deserki\"><div><h2>W skład słodkiego stołu mogą wchodzić</h2><ul><li><div><span>Muffinki czekoladowe z kremem śmietankowym</span></div></li><li><div><span>Babeczki z kremem i piankami</span></div></li><li><div><span>Cake popsy</span><span>w czekoladzie</span></div></li><li><div><span>Ice popsy</span><span>w czekoladzie</span></div></li><li><div><span>Panna Cotta</span><span>Deser w pucharku </span></div></li><li><div><span>Tiramisu</span><span>Deser w pucharku </span></div></li><li><div><span>Leśny mech z musem truskawkowym</span><span>Deser w pucharku </span></div></li><li><div><span>Chia</span><span>Deser w pucharku </span></div></li><li><div><span>Serniczek cynamonowy lub oreo</span><span>na ciasteczkowym spodzie</span></div></li><li><div><span>Oreo</span><span>Deser w pucharku</span></div></li><li><div><span>Mini Pavlove z owocami</span><span>ok.7 cm średnicy</span></div></li><li><div><span>Monoporcja</span><span>półkula w polewie lustrzanej mango marakuja</span></div></li><li><div><span>Savarin</span><span>mus z białej czekolady i żelką malinową na migdałowym ciasteczku</span></div></li><li><div><span>Eklerki</span><span>z kremem śmietanowym/pattisiere</span></div></li><li><div><span>Tartaletki</span><span>z kremem i owocami</span></div></li><li><div><span>Mini tarta</span><span>z ganache czekoladowym i żelką malinową</span></div></li><li><div><span>Profiterol</span><span>z kruszonką i kremem porzeczkowym/śmietankowym</span></div></li><li><div><span>Ciasta</span></div></li></ul></div></div></section></main>")
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
return nil
|
||||
})
|
||||
templ_7745c5c3_Err = layout("wyroby").Render(templ.WithChildren(ctx, templ_7745c5c3_Var2), templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
return nil
|
||||
})
|
||||
}
|
||||
|
||||
var _ = templruntime.GeneratedTemplate
|
||||
Loading…
Add table
Add a link
Reference in a new issue