diff --git a/src/css/custom.css b/src/css/custom.css index 9c60fae..9f52169 100644 --- a/src/css/custom.css +++ b/src/css/custom.css @@ -71,6 +71,11 @@ li{ height: 75px; } +.centered { + margin-left: auto; + margin-right: auto; +} + [id='Code of Conduct'] > p, [id='Privacy Policy'] > p{ padding: .5% 4% .5% 4%; @@ -79,4 +84,4 @@ li{ [id='Code of Conduct'] > h3, [id='Privacy Policy'] > h3{ font-weight: bold; -} \ No newline at end of file +} diff --git a/src/lib/speakers.go b/src/lib/speakers.go index ad4188f..816661e 100644 --- a/src/lib/speakers.go +++ b/src/lib/speakers.go @@ -8,7 +8,7 @@ import ( // Segment Number refers to how one wishes to break down // cards const ( - SEGMENT_NUM = 5 + SEGMENT_NUM = 1 ) type SpeakerStruct struct { @@ -16,7 +16,7 @@ type SpeakerStruct struct { Name string Position string Talk string - Time string + Time string } // Copy and Paste Add @@ -30,62 +30,65 @@ type SpeakerStruct struct { func GetSpeakers() []SpeakerStruct { return []SpeakerStruct{ - { - Pic: "JohnHammond.png", - Name: "John Hammond", - Position: "Cybersecurity Researcher, Educator & Content Creator", - Talk: "Cybersecurity Shop Talk", - Time: "", - }, - { - Pic: "CelinePedalino.jpg", - Name: "Celine Pedalino", - Position: "SOC Analyst at the NJCCIC", - Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", - Time: "", - }, - { - Pic: "SeonukKim.jpg", - Name: "Seonuk Kim", - Position: "SOC Analyst at the NJCCIC", - Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", - Time: "", - }, - { - Pic: "TrentMeyers.jpg", - Name: "Trent Meyers", - Position: "SOC Analyst at the NJCCIC", - Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", - Time: "", - }, - { - Pic: "SwathiParthibha.jpg", - Name: "Swathi Parthibha", - Position: "Security Analyst at the NJCCIC", - Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", - Time: "", - }, - { - Pic: "personPlaceholder.png", - Name: "Andrew Garcia", - Position: "Security Analyst at the NJCCIC", - Talk: "Two-Factor Authentication: Not as Secure as You Think", - Time: "", - }, - { - Pic: "IlanPonimansky.jpg", - Name: "Ilan Ponimansky", - Position: "Staff Cloud Security Engineer at Block", - Talk: "Acing your Cloud Security Interviews AMA", - Time: "", - }, - { - Pic: "personPlaceholder.png", - Name: "Kevin Conklin", - Position: "Cyber National Security Supervisory Special Agent at FBI Newark", - Talk: "Inside the FBI Cyber Program", - Time: "", - }, + {}, + /* + { + Pic: "JohnHammond.png", + Name: "John Hammond", + Position: "Cybersecurity Researcher, Educator & Content Creator", + Talk: "Cybersecurity Shop Talk", + Time: "", + }, + { + Pic: "CelinePedalino.jpg", + Name: "Celine Pedalino", + Position: "SOC Analyst at the NJCCIC", + Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", + Time: "", + }, + { + Pic: "SeonukKim.jpg", + Name: "Seonuk Kim", + Position: "SOC Analyst at the NJCCIC", + Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", + Time: "", + }, + { + Pic: "TrentMeyers.jpg", + Name: "Trent Meyers", + Position: "SOC Analyst at the NJCCIC", + Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", + Time: "", + }, + { + Pic: "SwathiParthibha.jpg", + Name: "Swathi Parthibha", + Position: "Security Analyst at the NJCCIC", + Talk: "Behind the Scenes of Cyber Defense: A Look into the SOC", + Time: "", + }, + { + Pic: "personPlaceholder.png", + Name: "Andrew Garcia", + Position: "Security Analyst at the NJCCIC", + Talk: "Two-Factor Authentication: Not as Secure as You Think", + Time: "", + }, + { + Pic: "IlanPonimansky.jpg", + Name: "Ilan Ponimansky", + Position: "Staff Cloud Security Engineer at Block", + Talk: "Acing your Cloud Security Interviews AMA", + Time: "", + }, + { + Pic: "personPlaceholder.png", + Name: "Kevin Conklin", + Position: "Cyber National Security Supervisory Special Agent at FBI Newark", + Talk: "Inside the FBI Cyber Program", + Time: "", + }, + */ } } @@ -104,8 +107,6 @@ func Speaker(w http.ResponseWriter, tpl *template.Template) { tpl.ExecuteTemplate(w, "speaker-start", nil) - - tpl.ExecuteTemplate(w, "speaker-card-group-start", nil) for _, speaker := range speakers { @@ -114,7 +115,6 @@ func Speaker(w http.ResponseWriter, tpl *template.Template) { tpl.ExecuteTemplate(w, "speaker-div-end", nil) - tpl.ExecuteTemplate(w, "speaker-div-end", nil) } diff --git a/src/lib/sponsors.go b/src/lib/sponsors.go index b6e2cb2..5cc1da5 100644 --- a/src/lib/sponsors.go +++ b/src/lib/sponsors.go @@ -1,9 +1,9 @@ package lib type Tier struct { - Spons []Sponsor + Spons []Sponsor TierName string - CSSName string + CSSName string } type Sponsor struct { @@ -26,67 +26,67 @@ func GetSponsors() Sponsors { Width: "200", }, } - - ciso := []Sponsor{ - } - - manager := []Sponsor{ - } + + ciso := []Sponsor{} + + manager := []Sponsor{} analyst := []Sponsor{ - { - HREF: "https://www.paloaltonetworks.com/", - Source: "palo_alto_logo.png", - ALT: "Palo Alto", - Width: "400", - }, - { - HREF: "https://cloud.google.com/", - Source: "google_logo.gif", - ALT: "Google", - Width: "200", - }, - { - HREF: "https://www.github.com/", - Source: "github_logo.png", - ALT: "GitHub", - Width: "150", - }, - { - HREF: "https://www.offsec.com/", - Source: "offsec_logo.jpg", - ALT: "OffSec", - Width: "400", - }, - { - HREF: "https://www.specterops.io", - Source: "specterops_logo.png", - ALT: "SpecterOps", - Width: "400", - }, + /* + { + HREF: "https://www.paloaltonetworks.com/", + Source: "palo_alto_logo.png", + ALT: "Palo Alto", + Width: "400", + }, + { + HREF: "https://cloud.google.com/", + Source: "google_logo.gif", + ALT: "Google", + Width: "200", + }, + { + HREF: "https://www.github.com/", + Source: "github_logo.png", + ALT: "GitHub", + Width: "150", + }, + { + HREF: "https://www.offsec.com/", + Source: "offsec_logo.jpg", + ALT: "OffSec", + Width: "400", + }, + { + HREF: "https://www.specterops.io", + Source: "specterops_logo.png", + ALT: "SpecterOps", + Width: "400", + }, + */ } - + tiers := []Tier{ { - Spons: title, + Spons: title, TierName: "Title Sponsor", - CSSName: "sponsor-title", + CSSName: "sponsor-title", }, - + { - Spons: ciso, + Spons: ciso, TierName: "CISO Sponsor", - CSSName: "sponsor-ciso", + CSSName: "sponsor-ciso", }, { - Spons: manager, + Spons: manager, TierName: "Security Manager Sponsor", - CSSName: "sponsor-manager", + CSSName: "sponsor-manager", }, { - Spons: analyst, + Spons: analyst, TierName: "Security Analyst Sponsor", - CSSName: "sponsor-analyst", + CSSName: "sponsor-analyst", }, } diff --git a/src/templates/schedule.html b/src/templates/schedule.html index 2320f42..43b0008 100644 --- a/src/templates/schedule.html +++ b/src/templates/schedule.html @@ -1,7 +1,10 @@ {{block "schedule" .}}
{{.Position}}
- {{if .Talk}} -Speaker Topic: {{.Talk}}
- {{end}} - -{{.Position}}
+ {{if .Talk}} +Speaker Topic: {{.Talk}}
+ {{end}} +