Skip to content

Commit

Permalink
add theme input field (#285)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jay-Karia authored Aug 13, 2024
1 parent 7012bde commit 4055352
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,13 @@ async function app(req: Request): Promise<Response> {
<form action="https://github-profile-trophy.vercel.app/" method="get">
<label for="username">GitHub Username</label>
<input type="text" name="username" id="username" placeholder="Ex. gabriel-logan" required>
<label for="theme">Theme (Optional)</label>
<input type="text" name="theme" id="theme" placeholder="Ex. onedark" value="light">
<text>
See all the available themes
<a href="https://github.com/ryo-ma/github-profile-trophy?tab=readme-ov-file#apply-theme" target="_blank">here</a>
</text>
<br>
<button type="submit">Get Trophy&apos;s</button>
</form>
</div>
Expand Down

0 comments on commit 4055352

Please sign in to comment.