initial commit
This commit is contained in:
16
pages/components/timeline.templ
Normal file
16
pages/components/timeline.templ
Normal file
@@ -0,0 +1,16 @@
|
||||
package components
|
||||
|
||||
import "github.com/bakyazi/gotemplresume/dto"
|
||||
|
||||
templ Timeline(title string,items []dto.ExperienceItem) {
|
||||
<div class="timeline">
|
||||
<div class="timeline-title">
|
||||
{title}
|
||||
</div>
|
||||
<div class="timeline-items">
|
||||
for _, item := range items {
|
||||
@TimelineItem(item){}
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
Reference in New Issue
Block a user