enzostvs HF Staff commited on
Commit
357c712
·
1 Parent(s): e0f04f0
Files changed (1) hide show
  1. components/main/index.tsx +31 -31
components/main/index.tsx CHANGED
@@ -71,37 +71,37 @@ export const Main = () => {
71
  )}
72
  </div>
73
  </div>
74
- <div
75
- className={classNames(
76
- "flex items-center justify-center lg:justify-end text-right gap-1 mt-4 lg:mt-0",
77
- {
78
- "text-gray-300 text-xs": !user?.sub,
79
- "text-white text-sm": user?.sub,
80
- }
81
- )}
82
- >
83
- {user?.sub ? (
84
- <>
85
- Logged as
86
- <Link
87
- href={user?.profile}
88
- target="_blank"
89
- className="hover:text-blue-500 flex items-center justify-end gap-2"
90
- >
91
- @{user?.preferred_username}
92
- <Image
93
- src={user?.picture}
94
- width={24}
95
- height={24}
96
- className="rounded-full ring-1 ring-white/60 border border-black"
97
- alt={user?.preferred_username}
98
- />
99
- </Link>
100
- </>
101
- ) : (
102
- "to save your generations in your own gallery"
103
- )}
104
- </div>
105
  </div>
106
  <p
107
  className="text-white/70 font-medium text-sm flex items-center justify-center lg:justify-start gap-2 hover:text-white cursor-pointer mt-3"
 
71
  )}
72
  </div>
73
  </div>
74
+ </div>
75
+ <div
76
+ className={classNames(
77
+ "flex items-center justify-center lg:justify-end text-right gap-1 mt-4 lg:mt-0 pr-2 lg:pr-4",
78
+ {
79
+ "text-gray-300 text-xs": !user?.sub,
80
+ "text-white text-sm": user?.sub,
81
+ }
82
+ )}
83
+ >
84
+ {user?.sub ? (
85
+ <>
86
+ Logged as
87
+ <Link
88
+ href={user?.profile}
89
+ target="_blank"
90
+ className="hover:text-blue-500 flex items-center justify-end gap-2"
91
+ >
92
+ @{user?.preferred_username}
93
+ <Image
94
+ src={user?.picture}
95
+ width={24}
96
+ height={24}
97
+ className="rounded-full ring-1 ring-white/60 border border-black"
98
+ alt={user?.preferred_username}
99
+ />
100
+ </Link>
101
+ </>
102
+ ) : (
103
+ "to save your generations in your own gallery"
104
+ )}
105
  </div>
106
  <p
107
  className="text-white/70 font-medium text-sm flex items-center justify-center lg:justify-start gap-2 hover:text-white cursor-pointer mt-3"