added github link to landing page

This commit is contained in:
Oliver Bryan
2026-01-09 06:50:04 +00:00
parent 67f87b7d27
commit 121ace9541
6 changed files with 26 additions and 9 deletions

View File

@@ -1,6 +1,6 @@
import { useState } from "react";
import { Button } from "./button";
import { Dialog, DialogClose, DialogContent, DialogHeader, DialogTitle } from "./dialog";
import { Button } from "@/components/ui/button";
import { Dialog, DialogClose, DialogContent, DialogHeader, DialogTitle } from "@/components/ui/dialog";
export function ConfirmDialog({
open,

View File

@@ -1,10 +1,10 @@
import { Edit } from "lucide-react";
import { useRef, useState } from "react";
import Avatar from "@/components/avatar";
import { Button } from "@/components/ui/button";
import { Label } from "@/components/ui/label";
import { user } from "@/lib/server";
import { cn } from "@/lib/utils";
import Avatar from "./avatar";
export function UploadAvatar({
name,

View File

@@ -1,3 +1,4 @@
import { Icon } from "@iconify/react";
import { Link } from "react-router-dom";
import { useSession } from "@/components/session-provider";
import { Button } from "@/components/ui/button";
@@ -42,7 +43,7 @@ export default function Landing() {
</p>
</div>
<div className="flex gap-4">
<div className="flex flex-col items-center gap-8">
{!isLoading && user ? (
<Button asChild size="lg">
<Link to="/app">Open app</Link>
@@ -52,6 +53,16 @@ export default function Landing() {
<Link to="/login">Get started</Link>
</Button>
)}
<a
href="https://github.com/hex248/issue"
target="_blank"
rel="noopener noreferrer"
className="inline-flex gap-2 text-muted-foreground hover:text-personality"
>
<Icon icon="mdi:github" className="h-7 w-7" />
<span className="font-goudy font-700 text-2xl">GitHub</span>
</a>
</div>
</main>