File tree Expand file tree Collapse file tree 2 files changed +28
-3
lines changed
organizations/api/src/domaines Expand file tree Collapse file tree 2 files changed +28
-3
lines changed Original file line number Diff line number Diff line change
1
+ //
2
+
3
+ import type { JSX } from "hono/jsx" ;
4
+
5
+ //
6
+ // From https://icon-sets.iconify.design/ph/copy-thin/
7
+ //
8
+ export function PhCopyThin ( props : JSX . HTMLAttributes ) {
9
+ return (
10
+ < svg
11
+ xmlns = "http://www.w3.org/2000/svg"
12
+ fill = "none"
13
+ className = "size-4"
14
+ viewBox = "0 0 256 256"
15
+ { ...props }
16
+ >
17
+ < path
18
+ fill = "currentColor"
19
+ d = "M216 36H88a4 4 0 0 0-4 4v44H40a4 4 0 0 0-4 4v128a4 4 0 0 0 4 4h128a4 4 0 0 0 4-4v-44h44a4 4 0 0 0 4-4V40a4 4 0 0 0-4-4m-52 176H44V92h120Zm48-48h-40V88a4 4 0 0 0-4-4H92V44h120Z"
20
+ > </ path >
21
+ </ svg >
22
+ ) ;
23
+ }
Original file line number Diff line number Diff line change 1
1
import { hyper_ref } from "@~/app.core/html" ;
2
2
import { Pagination_Schema } from "@~/app.core/schema" ;
3
- import { button } from "@~/app.ui/button" ;
4
3
import { copy_text_content_to_clipboard } from "@~/app.ui/button/scripts" ;
5
4
import { Foot } from "@~/app.ui/hx_table" ;
5
+ import { PhCopyThin } from "@~/app.ui/icon/Copy" ;
6
6
import { row } from "@~/app.ui/table" ;
7
7
import { urls } from "@~/app.urls" ;
8
8
import type { get_unverified_domains_dto } from "@~/organizations.repository/get_unverified_domains" ;
@@ -138,10 +138,12 @@ function Row({
138
138
< td >
139
139
< span id = { $domain } > { domain } </ span >
140
140
< button
141
- class = { button ( { intent : "ghost" } ) }
141
+ aria-hidden = "true"
142
+ class = "leading-none"
143
+ title = "Copier le nom de domaine"
142
144
_ = { copy_text_content_to_clipboard ( `#${ $domain } ` ) }
143
145
>
144
- 📋
146
+ < PhCopyThin />
145
147
</ button >
146
148
</ td >
147
149
< td > { organization . siret } </ td >
You can’t perform that action at this time.
0 commit comments