Skip to content

Commit

Permalink
Tweaks to the additional CTA.
Browse files Browse the repository at this point in the history
  • Loading branch information
daveverwer committed Jan 20, 2025
1 parent a2f3a22 commit 6db6c92
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 7 deletions.
10 changes: 9 additions & 1 deletion FrontEnd/styles/home.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,12 +73,20 @@ body.home {
}

.ccta-availability {
padding: 10px;
padding: 15px;
font-size: 13px;
background-color: var(--panel-button-background);

p {
margin: 5px 0;
}

.support {
margin: 0 0 5px;
font-weight: bold;
}

.cta {
text-align: right;
}
}
16 changes: 10 additions & 6 deletions Sources/App/Views/Home/HomeIndex+View.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,12 +116,16 @@ enum HomeIndex {
.class("support"),
.text("Support the Swift Package Index")
),
.text("We currently have availability for one additional homepage sponsor. "),
.a(
.href(ExternalURL.contactMailto),
.text("Get in touch for details")
),
.text(".")
.p(
.text("We have one homepage sponsorship spot available. Support the project while promoting your company.")
),
.p(
.class("cta"),
.a(
.href(ExternalURL.contactMailto),
.text("Get in touch for details →")
)
)
))
)
}
Expand Down

0 comments on commit 6db6c92

Please sign in to comment.