mirror of
https://github.com/hex248/sprint.git
synced 2026-02-08 10:33:01 +00:00
added Welcome Back ___ and improved footer styling
This commit is contained in:
@@ -11,9 +11,16 @@ export default function Landing() {
|
|||||||
<div className="text-3xl font-basteleur font-700">Issue</div>
|
<div className="text-3xl font-basteleur font-700">Issue</div>
|
||||||
<nav className="absolute right-2 flex items-center gap-4">
|
<nav className="absolute right-2 flex items-center gap-4">
|
||||||
{!isLoading && user ? (
|
{!isLoading && user ? (
|
||||||
<Button asChild variant="outline" size="sm">
|
<>
|
||||||
<Link to="/app">Open app</Link>
|
{user && (
|
||||||
</Button>
|
<h1 className="text-xl font-basteleur font-400">
|
||||||
|
Welcome back {user.name.split(" ")[0]}!
|
||||||
|
</h1>
|
||||||
|
)}
|
||||||
|
<Button asChild variant="outline" size="sm">
|
||||||
|
<Link to="/app">Open app</Link>
|
||||||
|
</Button>
|
||||||
|
</>
|
||||||
) : (
|
) : (
|
||||||
<Button asChild variant="outline" size="sm">
|
<Button asChild variant="outline" size="sm">
|
||||||
<Link to="/login">Sign in</Link>
|
<Link to="/login">Sign in</Link>
|
||||||
@@ -48,20 +55,20 @@ export default function Landing() {
|
|||||||
</div>
|
</div>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
<footer className="flex justify-center gap-2 items-center py-2 border-t">
|
<footer className="flex justify-center gap-2 items-center py-1 border-t">
|
||||||
<span className="font-300 text-sm text-muted-foreground">
|
<span className="font-300 text-lg text-muted-foreground font-goudy">
|
||||||
Built by{" "}
|
Built by{" "}
|
||||||
<a
|
<a
|
||||||
href="https://ob248.com"
|
href="https://ob248.com"
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
className="hover:text-personality"
|
className="hover:text-personality font-goudy font-700"
|
||||||
>
|
>
|
||||||
Oliver Bryan
|
Oliver Bryan
|
||||||
</a>
|
</a>
|
||||||
</span>
|
</span>
|
||||||
<a href="https://ob248.com" target="_blank" rel="noopener noreferrer">
|
<a href="https://ob248.com" target="_blank" rel="noopener noreferrer">
|
||||||
<img src="oliver-bryan.svg" alt="Oliver Bryan" className="w-3 h-3" />
|
<img src="oliver-bryan.svg" alt="Oliver Bryan" className="w-4 h-4" />
|
||||||
</a>
|
</a>
|
||||||
</footer>
|
</footer>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user