File tree 7 files changed +24
-17
lines changed
7 files changed +24
-17
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ export default async function DashboardLayout({
21
21
const profile = await getProfile ( session ?. user . bskySession . handle ) ;
22
22
23
23
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 " >
25
25
{ profile && < Composer author = { profile } /> }
26
26
< SidePanel />
27
27
< section className = "w-full md:max-w-xl" >
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ export default function ProfileHeader(props: Props) {
55
55
< ProfileHeaderSkeleton />
56
56
) }
57
57
{ 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" >
59
59
< div className = "relative" >
60
60
{ isBlocked || hasBlockedYou ? (
61
61
< Image
@@ -140,7 +140,7 @@ export default function ProfileHeader(props: Props) {
140
140
</ div >
141
141
</ div >
142
142
) }
143
- < div className = "m-3 " >
143
+ < div className = "mx-3 mb-3 mt-1 " >
144
144
< div className = "flex flex-wrap items-center gap-x-2" >
145
145
< h1 className = "text-skin-base break-all text-2xl font-semibold" >
146
146
{ profile . displayName || profile . handle }
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ export default function JoinedDate(props: Props) {
10
10
return (
11
11
< div className = "flex items-center gap-1" >
12
12
< BiCalendar className = "text-skin-tertiary" />
13
- < span className = "text-skin-tertiary text-sm font-medium" >
13
+ < span className = "text-skin-tertiary font-medium" >
14
14
Joined { "" }
15
15
{ date . toLocaleDateString ( "en-US" , {
16
16
year : "numeric" ,
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ import useKnownFollowers from "@/lib/hooks/bsky/social/useKnownFollowers";
2
2
import Avatar from "../avatar/Avatar" ;
3
3
import Link from "next/link" ;
4
4
import { MAX_KNOWN_FOLLOWERS } from "@/lib/consts/general" ;
5
- import { usePathname } from "next/navigation" ;
6
5
import KnownFollowersSkeleton from "./KnownFollowersSkeleton" ;
7
6
8
7
interface Props {
@@ -11,7 +10,6 @@ interface Props {
11
10
12
11
export default function KnownFollowers ( props : Props ) {
13
12
const { handle } = props ;
14
- const pathname = usePathname ( ) ;
15
13
const {
16
14
knownFollowers,
17
15
isKnownFollowersEmpty,
Original file line number Diff line number Diff line change @@ -8,7 +8,7 @@ interface Props {
8
8
avatar ?: string ;
9
9
}
10
10
11
- export default async function Aside ( props : Props ) {
11
+ export default function Aside ( props : Props ) {
12
12
const { displayName, handle, avatar } = props ;
13
13
14
14
return (
Original file line number Diff line number Diff line change @@ -35,7 +35,7 @@ export default function Navbar() {
35
35
} ) ;
36
36
37
37
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" >
39
39
< NavItem
40
40
href = "/dashboard/home"
41
41
icon = { < BiHome className = "text-2xl md:text-3xl" /> }
Original file line number Diff line number Diff line change @@ -10,16 +10,25 @@ export default function SidePanel() {
10
10
< 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" >
11
11
< Button
12
12
onClick = { ( ) => window . scrollTo ( { top : 0 , behavior : "smooth" } ) }
13
- className = "inline mb-12 "
13
+ className = "inline mb-8 "
14
14
>
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 >
23
32
</ Button >
24
33
< Navbar />
25
34
< div className = "mt-20" >
You can’t perform that action at this time.
0 commit comments