2023-05-18 20:04:55 -06:00
package pages
import (
"atri.dad/lib"
"github.com/labstack/echo/v4"
)
type TalkProps struct {
Talks [ ] lib . CardLink
}
func Talks ( c echo . Context ) error {
talks := [ ] lib . CardLink {
{
Name : "Hypermedia as the engine of application state - an Introduction" ,
Description : "A talk on building reactive websites using tools like HTMX instead of JSON + JS. Will be presented at the Dev Edmonton Fabruary 2024 JS/Ruby/Python Meetup" ,
2024-09-08 23:42:36 -06:00
Href : "/public/files/hypermedia_talk_atridad.pdf" ,
2023-05-18 20:04:55 -06:00
Tags : [ ] string { "golang" , "htmx" , "ssr" } ,
Date : "February 01, 2024" ,
} ,
2024-10-23 00:44:50 -06:00
{
Name : "Introduction to Social Network Analysis (SNA)" ,
Description : "Understanding Relationships in Social Structures" ,
Href : "/public/files/Understanding_Relationships_in_Social_Structures.pdf" ,
2024-10-23 01:23:59 -06:00
Tags : [ ] string { "graphs" , "social" , "lecture" } ,
2024-10-23 00:44:50 -06:00
Date : "October 08, 2024" ,
} ,
2023-05-18 20:04:55 -06:00
}
props := TalkProps {
Talks : talks ,
}
// Specify the partials used by this page
partials := [ ] string { "header" , "navitems" , "cardlinks" }
// Render the template
return lib . RenderTemplate ( c . Response ( ) . Writer , "base" , partials , props )
}