You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/App/Views/Home/HomeIndex+View.swift
+62-40Lines changed: 62 additions & 40 deletions
Original file line number
Diff line number
Diff line change
@@ -56,51 +56,73 @@ enum HomeIndex {
56
56
}
57
57
58
58
overridefunc content()->Node<HTML.BodyContext>{
59
-
.section(
60
-
.class("two-column"),
59
+
.if(Current.environment()==.production,
61
60
.section(
62
-
.if(Current.environment()==.production,
63
-
.panelButton(cssClass:"podcast",
64
-
linkUrl:ExternalURL.podcast,
65
-
bodyNode:.podcastPanelBody(includeHeading:false),
66
-
cta:"Listen Now",
67
-
analyticsEvent:"Home - Podcast CTA"),
68
-
else:
69
-
.panelButton(cssClass:"rfs6",
70
-
linkUrl:SiteURL.readyForSwift6.relativeURL(),
71
-
bodyNode:.group(
72
-
.p(
73
-
.strong("Are the packages you use safe from data races?"),
74
-
.text(""),
75
-
.text("We’re tracking progress towards data race safety this summer. Find out which packages are “Ready for Swift 6” and check for packages marked as “Safe from data races” when browsing the index.")
.strong("Are the packages you use safe from data races?"),
91
+
.text(""),
92
+
.text("We’re tracking progress towards data race safety this summer. Find out which packages are “Ready for Swift 6” and check for packages marked as “Safe from data races” when browsing the index.")
0 commit comments