Skip to content
Open
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,9 @@ insert_permissions:
- created_at
- is_approved
- is_blocked
- is_pro
- is_public
- model
- parent_thread_id
- short_link
- slug
- thread_id
- updated_at
Expand All @@ -60,11 +58,9 @@ insert_permissions:
- created_at
- is_approved
- is_blocked
- is_pro
- is_public
- model
- parent_thread_id
- short_link
- slug
- thread_id
- updated_at
Expand All @@ -78,7 +74,6 @@ select_permissions:
- created_at
- is_approved
- is_blocked
- is_pro
- is_public
- metadata
- model
Expand All @@ -98,7 +93,6 @@ select_permissions:
- created_at
- is_approved
- is_blocked
- is_pro
- is_public
- metadata
- model
Expand All @@ -118,7 +112,6 @@ select_permissions:
- created_at
- is_approved
- is_blocked
- is_pro
- is_public
- metadata
- model
Expand Down
1 change: 1 addition & 0 deletions apps/pro-web/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@
}

.profile-hero-bg {
background-image: url("/hero-bg.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion apps/pro-web/components/layout/profile/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function Hero({ user }: { user: User }) {
if (!user) return null
return (
<div className="profile-hero-bg" id="hero-section">
<div className="relative z-[2] md:px-0 px-5">
<div className="relative z-[2] md:px-0 px-5 py-5">
<UserCard user={user} loading={false} />
</div>
</div>
Expand Down
5 changes: 1 addition & 4 deletions apps/pro-web/components/routes/thread/user-thread-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -483,10 +483,7 @@ export default function UserThreadPanel({
>
{showChatbotDetails ? (
page === 'profile' ? (
<EmptyState
title="No Threads Available"
description={`There are no threads available for ${userProps?.username} yet.`}
/>
<EmptyState title="No public threads" description={''} />
) : (
isProRoute && <ChatChatbotDetails />
)
Expand Down
1 change: 1 addition & 0 deletions apps/web/app/globals.css
Original file line number Diff line number Diff line change
Expand Up @@ -861,6 +861,7 @@
}

.profile-hero-bg {
background-image: url("/hero-bg.jpg");
background-size: cover;
background-position: center;
background-repeat: no-repeat;
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/layout/header/user-menu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ export function UserMenu({ user }: UserMenuProps) {
<DropdownMenuSeparator />
<DropdownMenuGroup>
<DropdownMenuItem className="flex items-center justify-between w-full py-0 px-0">
<ThemeToggle className="py-3 px-2" />
<ThemeToggle className="px-2 text-sm py-3 h-11" />
</DropdownMenuItem>
<DropdownMenuItem className="flex items-center justify-between w-full py-0 px-0">
<Link
Expand Down
2 changes: 1 addition & 1 deletion apps/web/components/layout/profile/hero.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ export function Hero({ user }: { user: User }) {
if (!user) return null
return (
<div className="profile-hero-bg" id="hero-section">
<div className="relative z-[2] md:px-0 px-5">
<div className="relative z-[2] md:px-0 px-5 py-5">
<UserCard user={user} loading={false} />
</div>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export function BrowseChatbotDesktopDetails({

return (
<div className="profile-hero-bg" id="hero-section">
<div className="relative z-10 max-w-screen-lg mx-auto px-4">
<div className="relative z-10 max-w-screen-lg mx-auto px-4 py-5">
<Link
href="/"
className="w-max mr-auto my-2 flex items-center leading-none gap-2 text-[#09090Baf] hover:text-[#09090B]"
Expand Down
5 changes: 1 addition & 4 deletions apps/web/components/routes/thread/user-thread-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -484,10 +484,7 @@ export default function UserThreadPanel({
>
{showChatbotDetails ? (
page === 'profile' ? (
<EmptyState
title="No Threads Available"
description={`There are no threads available for ${userProps?.username} yet.`}
/>
<EmptyState title="No public threads" description={''} />
) : (
isChatRoute && <ChatChatbotDetails />
)
Expand Down
1 change: 1 addition & 0 deletions apps/web/lib/url.ts
Original file line number Diff line number Diff line change
Expand Up @@ -317,6 +317,7 @@ export const urlBuilders = {

// Return the URL with the thread slug
const pathParts = basePath ? ['', basePath] : ['']

pathParts.push(
normalizeCategorySlug(category),
normalizeDomainSlug(domain, raw),
Expand Down