File tree Expand file tree Collapse file tree 2 files changed +10
-18
lines changed
Expand file tree Collapse file tree 2 files changed +10
-18
lines changed Original file line number Diff line number Diff line change 11.discord-button {
2+ display : flex ;
3+ align-items : center ;
4+ justify-content : center ;
25 height : 2.75rem ;
36 min-width : 2.75rem ;
47 margin-left : 0.275rem ;
Original file line number Diff line number Diff line change 11import React from "react" ;
2+ import DiscordIcon from "../icons/DiscordIcon" ;
23
34const DISCORD_URL = "https://discord.gg/NnXSESxWpA" ;
45
@@ -15,24 +16,12 @@ const DiscordButton: React.FC = () => {
1516 type = "button"
1617 style = { { padding : 0 , width : "2.5rem" } }
1718 >
18- < svg
19- aria-hidden = "true"
20- focusable = "false"
21- role = "img"
22- viewBox = "0 0 20 20"
23- fill = "none"
24- stroke = "currentColor"
25- strokeLinecap = "round"
26- strokeLinejoin = "round"
27- width = "24"
28- height = "24"
29- style = { { display : "block" , margin : "0 auto" , stroke : "#fff" } }
30- >
31- < g strokeWidth = "1.25" >
32- < path d = "M7.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM12.5 10.833a.833.833 0 1 0 0-1.666.833.833 0 0 0 0 1.666ZM6.25 6.25c2.917-.833 4.583-.833 7.5 0M5.833 13.75c2.917.833 5.417.833 8.334 0" > </ path >
33- < path d = "M12.917 14.167c0 .833 1.25 2.5 1.666 2.5 1.25 0 2.361-1.39 2.917-2.5.556-1.39.417-4.861-1.25-9.584-1.214-.846-2.5-1.116-3.75-1.25l-.833 2.084M7.083 14.167c0 .833-1.13 2.5-1.526 2.5-1.191 0-2.249-1.39-2.778-2.5-.529-1.39-.397-4.861 1.19-9.584 1.157-.846 2.318-1.116 3.531-1.25l.833 2.084" > </ path >
34- </ g >
35- </ svg >
19+ < DiscordIcon
20+ width = { 24 }
21+ height = { 24 }
22+ fill = "#fff"
23+ className = "discord-icon"
24+ />
3625 </ button >
3726 ) ;
3827} ;
You can’t perform that action at this time.
0 commit comments