package models import "gorm.io/gorm" // AboutPage stores the "O klubu" (About Club) page content type AboutPage struct { gorm.Model Title string `json:"title"` // Page title Subtitle string `json:"subtitle"` // Optional subtitle Style string `json:"style" gorm:"default:'default'"` // Style: default, modern, timeline, custom Content string `json:"content" gorm:"type:text"` // HTML content HeroImage string `json:"hero_image"` // Hero/banner image URL Sections string `json:"sections" gorm:"type:text"` // JSON array of sections for structured styles Published bool `json:"published" gorm:"default:false"` // Whether page is published SEOTitle string `json:"seo_title"` // SEO meta title SEODesc string `json:"seo_description" gorm:"type:text"` // SEO meta description } func (AboutPage) TableName() string { return "about_pages" }