Skip to content

Commit 6db6c92

Browse files
committed
Tweaks to the additional CTA.
1 parent a2f3a22 commit 6db6c92

File tree

2 files changed

+19
-7
lines changed

2 files changed

+19
-7
lines changed

FrontEnd/styles/home.scss

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,12 +73,20 @@ body.home {
7373
}
7474

7575
.ccta-availability {
76-
padding: 10px;
76+
padding: 15px;
7777
font-size: 13px;
7878
background-color: var(--panel-button-background);
7979

80+
p {
81+
margin: 5px 0;
82+
}
83+
8084
.support {
8185
margin: 0 0 5px;
8286
font-weight: bold;
8387
}
88+
89+
.cta {
90+
text-align: right;
91+
}
8492
}

Sources/App/Views/Home/HomeIndex+View.swift

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -116,12 +116,16 @@ enum HomeIndex {
116116
.class("support"),
117117
.text("Support the Swift Package Index")
118118
),
119-
.text("We currently have availability for one additional homepage sponsor. "),
120-
.a(
121-
.href(ExternalURL.contactMailto),
122-
.text("Get in touch for details")
123-
),
124-
.text(".")
119+
.p(
120+
.text("We have one homepage sponsorship spot available. Support the project while promoting your company.")
121+
),
122+
.p(
123+
.class("cta"),
124+
.a(
125+
.href(ExternalURL.contactMailto),
126+
.text("Get in touch for details →")
127+
)
128+
)
125129
))
126130
)
127131
}

0 commit comments

Comments
 (0)