Skip to content

Commit 5ecae2d

Browse files
committed
Update sponsor links
1 parent dc26b35 commit 5ecae2d

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

src/website/page.gleam

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,10 @@ pub fn page_layout(
174174

175175
// Page elements
176176

177-
fn head_elements(page: PageMeta, ctx: site.Context) -> List(element.Element(a)) {
177+
fn head_elements(
178+
page: PageMeta,
179+
ctx: site.Context,
180+
) -> List(element.Element(a)) {
178181
let metatag = fn(property, content) {
179182
html.meta([attr("property", property), attr("content", content)])
180183
}
@@ -295,7 +298,7 @@ fn footer(ctx: site.Context) -> element.Element(a) {
295298
#("Language tour", "https://tour.gleam.run"),
296299
#("Playground", "https://playground.gleam.run"),
297300
#("Documentation", "/documentation"),
298-
#("Sponsor", "https://github.com/sponsors/lpil"),
301+
#("Sponsor", "/sponsor"),
299302
#("Packages", "https://packages.gleam.run/"),
300303
#("Gleam Weekly", "https://gleamweekly.com/"),
301304
#("Roadmap", "/roadmap"),
@@ -3465,7 +3468,7 @@ pub fn register_event_handler() {
34653468
html.h2([], [html.text("Lovely people")]),
34663469
html.p([], [
34673470
html.text("If you enjoy Gleam consider "),
3468-
html.a([attr.href("https://github.com/sponsors/lpil")], [
3471+
html.a([attr.href("/sponsor")], [
34693472
html.text("becoming a sponsor"),
34703473
]),
34713474
html.text(" (or tell your boss to)"),

0 commit comments

Comments
 (0)