Add stuff
This commit is contained in:
@ -25,7 +25,7 @@ templ Capture(capture *models.Capture, table models.ResultTable) {
|
||||
</div>
|
||||
<div class="flex w-full justify-around items-center gap-5">
|
||||
if len(table.Rows) >= 1 {
|
||||
@Medal("1. Platz", table.Rows[0].Name, "text-yellow-600")
|
||||
@Medal("1. Platz", table.Rows[0].Name, "text-yellow-400")
|
||||
}
|
||||
if len(table.Rows) >= 2 {
|
||||
@Medal("2. Platz", table.Rows[1].Name, "text-gray-500")
|
||||
|
||||
@ -74,7 +74,7 @@ func Capture(capture *models.Capture, table models.ResultTable) templ.Component
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
if len(table.Rows) >= 1 {
|
||||
templ_7745c5c3_Err = Medal("1. Platz", table.Rows[0].Name, "text-yellow-600").Render(ctx, templ_7745c5c3_Buffer)
|
||||
templ_7745c5c3_Err = Medal("1. Platz", table.Rows[0].Name, "text-yellow-400").Render(ctx, templ_7745c5c3_Buffer)
|
||||
if templ_7745c5c3_Err != nil {
|
||||
return templ_7745c5c3_Err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user