File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11type Feature = {
22 title : string ;
3- description : string ;
3+ description : ReactNode ;
44 icon : "sparkle" | "bolt" | "gauge" | "branch" | "heart" ;
55} ;
66
@@ -29,7 +29,19 @@ const features: Feature[] = [
2929 } ,
3030 {
3131 title : "Open source" ,
32- description : "Have an idea for a feature? Send a contribution." ,
32+ description : (
33+ < >
34+ Have an idea for a feature?{ " " }
35+ < a
36+ className = "font-semibold text-snek-olive underline underline-offset-2 transition hover:text-snek-olivedark"
37+ href = "https://github.com/funsaized/PowerSnek"
38+ rel = "noopener noreferrer"
39+ target = "_blank"
40+ >
41+ Send a contribution.
42+ </ a >
43+ </ >
44+ ) ,
3345 icon : "branch" ,
3446 } ,
3547] ;
@@ -333,4 +345,4 @@ function BoltIcon({ className }: { className?: string }) {
333345 </ svg >
334346 ) ;
335347}
336- import type { CSSProperties } from "react" ;
348+ import type { CSSProperties , ReactNode } from "react" ;
Load diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments