Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 623ae9e

Browse files
Change icon button
1 parent b20ea7b commit 623ae9e

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

src/App.fs

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,19 +106,20 @@ let searchBox (model:Model) dispatch =
106106
let resourceItem =
107107
FunctionComponent.Of((fun (p: {| key: string; resource: Resource|}) ->
108108
let reportLink =
109-
"https://github.com/fable-compiler/community/issues/new?title="
110-
+ JS.encodeURIComponent(p.resource.title + " is obsolete")
109+
"https://github.com/fable-compiler/community/issues/new"
110+
+ "?title=" + JS.encodeURIComponent(p.resource.title + " needs edit")
111+
+ "&body=" + JS.encodeURIComponent("Please explain the reason.")
112+
111113
let category = p.resource.category.ToString().ToLower()
112114

113-
114115
div [ Class "resource-item" ]
115116
[ Heading.h5 [] [
116117
a [Href p.resource.link] [str p.resource.title]
117118
str " "
118119
Tag.tag [ Tag.CustomClass (sprintf "is-%s" category)] [str category ]
119120
str " "
120121
a [Href reportLink; Target "_blank"]
121-
[Fa.i [ Fa.Regular.TrashAlt; Fa.Size Fa.FaExtraSmall ] []]
122+
[Fa.i [ Fa.Solid.PencilAlt; Fa.Size Fa.FaExtraSmall ] []]
122123
]
123124
Heading.h6 [Heading.IsSubtitle] [str p.resource.description] ]),
124125
displayName = "Resource",

0 commit comments

Comments
 (0)