2024-03-12 16:16:49 +01:00
|
|
|
package link
|
2024-03-12 15:49:08 +01:00
|
|
|
|
|
|
|
import (
|
|
|
|
"gitlab.unjx.de/flohoss/godash/services"
|
|
|
|
)
|
|
|
|
|
|
|
|
templ Link(link services.Link) {
|
|
|
|
<a href={ templ.URL(link.URL) } class="hover-effect">
|
|
|
|
<div class="uppercase truncate">{ link.Name }</div>
|
|
|
|
</a>
|
|
|
|
}
|