Skip to content

Commit ed4bb55

Browse files
committed
web: reference our github
1 parent e0b4756 commit ed4bb55

2 files changed

Lines changed: 20 additions & 4 deletions

File tree

src/TTX.Web/routes/_app.tsx

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ export default define.page((ctx) => {
5656
Copyright © {new Date().getFullYear()} - All right reserved.
5757
</p>
5858
<div class="flex flex-row gap-4">
59+
<a href="/privacy" class="text-purple-500 hover:underline">
60+
Privacy Policy
61+
</a>
5962
<ExternalLink
6063
clientId={ctx.state.discordId}
6164
href={Deno.env.get("FRESH_PUBLIC_DISCORD_URL")!}
@@ -64,9 +67,14 @@ export default define.page((ctx) => {
6467
>
6568
Join our Discord!
6669
</ExternalLink>
67-
<a href="/privacy" class="text-purple-500 hover:underline">
68-
Privacy Policy
69-
</a>
70+
<ExternalLink
71+
clientId={ctx.state.discordId}
72+
href="https://github.com/ttxdev/ttx"
73+
target="_blank"
74+
class="w-fit text-purple-500 hover:underline"
75+
>
76+
We're open-source!
77+
</ExternalLink>
7078
</div>
7179
</aside>
7280
</footer>

src/TTX.Web/routes/team.tsx

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export default define.page((ctx) => {
246246
))}
247247
<span>and the original ATX Team.</span>
248248
</div>
249-
<div class="my-6 flex w-full flex-row justify-center md:my-10">
249+
<div class="my-6 flex w-full flex-row gap-4 justify-center md:my-10">
250250
<ExternalLink
251251
clientId={ctx.state.discordId}
252252
href={Deno.env.get("FRESH_PUBLIC_DISCORD_URL")!}
@@ -255,6 +255,14 @@ export default define.page((ctx) => {
255255
>
256256
Join our Discord!
257257
</ExternalLink>
258+
<ExternalLink
259+
clientId={ctx.state.discordId}
260+
href="https://github.com/ttxdev/ttx"
261+
target="_blank"
262+
class="rounded bg-gray-500 px-6 py-3 text-center font-bold text-white transition hover:bg-gray-600"
263+
>
264+
GitHub
265+
</ExternalLink>
258266
</div>
259267
</section>
260268
</div>

0 commit comments

Comments
 (0)