Skip to content

Commit b5d2cf4

Browse files
Fix link in frontpage that was directing to Open Collective (#78)
1 parent d0f9781 commit b5d2cf4

File tree

2 files changed

+6
-3
lines changed

2 files changed

+6
-3
lines changed

src/lib/components/MediaSection.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,8 +98,8 @@
9898
{#if innerColumn.link}
9999
<a
100100
href={innerColumn.link}
101-
target="_blank"
102-
rel="noopener noreferrer"
101+
target={innerColumn.target || "_self"}
102+
rel={innerColumn.rel || "noopener noreferrer"}
103103
class="card-link md:grid w-full h-full items-center"
104104
>
105105
<Card

src/lib/config/data/frontpage.yaml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,13 +78,16 @@
7878
innerColumns:
7979
- icon: BsYoutube
8080
link: https://www.youtube.com/c/spyderide
81+
target: "_blank"
8182
aspect: xl:aspect-square
8283
- icon: BsBookHalf
8384
link: https://docs.spyder-ide.org
85+
target: "_blank"
8486
aspect: xl:aspect-square
8587
- icon: BsGithub
8688
link: https://github.com/spyder-ide/spyder
89+
target: "_blank"
8790
aspect: xl:aspect-square
8891
- icon: BsHeartFill
89-
link: https://opencollective.com/spyder
92+
link: https://www.spyder-ide.org/donate
9093
aspect: xl:aspect-square

0 commit comments

Comments
 (0)