Skip to content

Commit 4055352

Browse files
authored
add theme input field (#285)
1 parent 7012bde commit 4055352

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

api/index.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,13 @@ async function app(req: Request): Promise<Response> {
8181
<form action="https://github-profile-trophy.vercel.app/" method="get">
8282
<label for="username">GitHub Username</label>
8383
<input type="text" name="username" id="username" placeholder="Ex. gabriel-logan" required>
84+
<label for="theme">Theme (Optional)</label>
85+
<input type="text" name="theme" id="theme" placeholder="Ex. onedark" value="light">
86+
<text>
87+
See all the available themes
88+
<a href="https://github.com/ryo-ma/github-profile-trophy?tab=readme-ov-file#apply-theme" target="_blank">here</a>
89+
</text>
90+
<br>
8491
<button type="submit">Get Trophy&apos;s</button>
8592
</form>
8693
</div>

0 commit comments

Comments
 (0)