Skip to content

Commit 3c319b5

Browse files
authored
fix: Add ZMK links to the about modal. (#56)
1 parent 5c01a06 commit 3c319b5

File tree

1 file changed

+19
-9
lines changed

1 file changed

+19
-9
lines changed

src/AboutModal.tsx

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ import mekiboDarkMode from "./assets/mekibo-dark-mode.png";
4141
import splitkb from "./assets/splitkb.png";
4242
import splitkbDarkMode from "./assets/splitkb-dark-mode.png";
4343
import { GenericModal } from "./GenericModal";
44+
import { ExternalLink } from "./misc/ExternalLink";
4445

4546
export interface AboutModalProps {
4647
open: boolean;
@@ -178,16 +179,18 @@ export const AboutModal = ({ open, onClose }: AboutModalProps) => {
178179
const ref = useModalRef(open, true);
179180

180181
return (
181-
<GenericModal
182-
ref={ref}
183-
className="min-w-min w-[70vw]"
184-
onClose={onClose}
185-
>
182+
<GenericModal ref={ref} className="min-w-min w-[70vw]" onClose={onClose}>
186183
<div className="flex justify-between items-start">
187-
<p className="py-1 mr-2">
188-
ZMK Studio is made possible thanks to the generous donation of time
189-
from our contributors, as well as the financial sponsorship from the
190-
following vendors:
184+
<p>
185+
The ZMK Project:{" "}
186+
<ExternalLink href="https://zmk.dev/">website</ExternalLink>,{" "}
187+
<ExternalLink href="https://github.com/zmkfirmware/zmk/issues/">
188+
GitHub Issues
189+
</ExternalLink>
190+
,{" "}
191+
<ExternalLink href="https://zmk.dev/community/discord/invite">
192+
Discord Server
193+
</ExternalLink>
191194
</p>
192195
<button
193196
className="p-1.5 rounded-md bg-gray-100 text-black hover:bg-gray-300"
@@ -196,6 +199,13 @@ export const AboutModal = ({ open, onClose }: AboutModalProps) => {
196199
Close
197200
</button>
198201
</div>
202+
<div>
203+
<p className="py-1 mr-2">
204+
ZMK Studio is made possible thanks to the generous donation of time
205+
from our contributors, as well as the financial sponsorship from the
206+
following vendors:
207+
</p>
208+
</div>
199209
<div className="grid gap-2 auto-rows-auto grid-cols-[auto_minmax(min-content,1fr)] justify-items-center items-center">
200210
{sponsors.map((s) => {
201211
const heightVariants = {

0 commit comments

Comments
 (0)