Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit ec28541

Browse files
committedOct 26, 2024·
Merge branch 'preview'
2 parents 7e47d39 + f5e16f0 commit ec28541

File tree

7 files changed

+24
-17
lines changed

7 files changed

+24
-17
lines changed
 

‎src/app/dashboard/layout.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export default async function DashboardLayout({
2121
const profile = await getProfile(session?.user.bskySession.handle);
2222

2323
return (
24-
<main className="bg-skin-base flex justify-center gap-6 pb-20 md:mt-6 lg:gap-12">
24+
<main className="bg-skin-base flex justify-center gap-6 pb-20 md:mt-6 lg:gap-12 animate-fade">
2525
{profile && <Composer author={profile} />}
2626
<SidePanel />
2727
<section className="w-full md:max-w-xl">

‎src/components/contentDisplay/profileHeader/ProfileHeader.tsx

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ export default function ProfileHeader(props: Props) {
5555
<ProfileHeaderSkeleton />
5656
)}
5757
{profile && contentFilter && (
58-
<section className="border-skin-base overflow-hidden border-0 border-y md:rounded-t-2xl md:border-x">
58+
<section className="border-skin-base overflow-hidden border-0 md:border-y md:rounded-t-2xl md:border-x">
5959
<div className="relative">
6060
{isBlocked || hasBlockedYou ? (
6161
<Image
@@ -140,7 +140,7 @@ export default function ProfileHeader(props: Props) {
140140
</div>
141141
</div>
142142
)}
143-
<div className="m-3">
143+
<div className="mx-3 mb-3 mt-1">
144144
<div className="flex flex-wrap items-center gap-x-2">
145145
<h1 className="text-skin-base break-all text-2xl font-semibold">
146146
{profile.displayName || profile.handle}

‎src/components/dataDisplay/joinedDate/JoinedDate.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ export default function JoinedDate(props: Props) {
1010
return (
1111
<div className="flex items-center gap-1">
1212
<BiCalendar className="text-skin-tertiary" />
13-
<span className="text-skin-tertiary text-sm font-medium">
13+
<span className="text-skin-tertiary font-medium">
1414
Joined {""}
1515
{date.toLocaleDateString("en-US", {
1616
year: "numeric",

‎src/components/dataDisplay/knownFollowers/KnownFollowers.tsx

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import useKnownFollowers from "@/lib/hooks/bsky/social/useKnownFollowers";
22
import Avatar from "../avatar/Avatar";
33
import Link from "next/link";
44
import { MAX_KNOWN_FOLLOWERS } from "@/lib/consts/general";
5-
import { usePathname } from "next/navigation";
65
import KnownFollowersSkeleton from "./KnownFollowersSkeleton";
76

87
interface Props {
@@ -11,7 +10,6 @@ interface Props {
1110

1211
export default function KnownFollowers(props: Props) {
1312
const { handle } = props;
14-
const pathname = usePathname();
1513
const {
1614
knownFollowers,
1715
isKnownFollowersEmpty,

‎src/components/navigational/aside/Aside.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ interface Props {
88
avatar?: string;
99
}
1010

11-
export default async function Aside(props: Props) {
11+
export default function Aside(props: Props) {
1212
const { displayName, handle, avatar } = props;
1313

1414
return (

‎src/components/navigational/navbar/Navbar.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function Navbar() {
3535
});
3636

3737
return (
38-
<nav className="inline-flex flex-col gap-6 lg:ml-1.5">
38+
<nav className="inline-flex flex-col gap-5 lg:ml-1.5">
3939
<NavItem
4040
href="/dashboard/home"
4141
icon={<BiHome className="text-2xl md:text-3xl" />}

‎src/components/navigational/sidePanel/SidePanel.tsx

+18-9
Original file line numberDiff line numberDiff line change
@@ -10,16 +10,25 @@ export default function SidePanel() {
1010
<menu className="hidden md:inline-flex items-center lg:items-start flex-col sticky top-6 h-full max-h-[91svh] overflow-y-hidden hover:overflow-y-auto">
1111
<Button
1212
onClick={() => window.scrollTo({ top: 0, behavior: "smooth" })}
13-
className="inline mb-12"
13+
className="inline mb-8"
1414
>
15-
<Image
16-
src="/ouranos.svg"
17-
alt="Ouranos logo"
18-
width={44}
19-
height={44}
20-
priority
21-
className="block transition-transform ease-in-out duration-700 hover:rotate-180"
22-
/>
15+
<div className="flex items-center gap-3">
16+
<Image
17+
src="/ouranos.svg"
18+
alt="Ouranos logo"
19+
width={44}
20+
height={44}
21+
priority
22+
className="block transition-transform ease-in-out duration-700 hover:rotate-180"
23+
/>
24+
<Image
25+
src="/ouranosText.svg"
26+
alt="Ouranos text"
27+
width={84}
28+
height={26}
29+
className="hidden lg:block"
30+
/>
31+
</div>
2332
</Button>
2433
<Navbar />
2534
<div className="mt-20">

0 commit comments

Comments
 (0)
Please sign in to comment.