+ {/* Pascal Logo - Link to Hub */}
+
+
+
+
+
+
+ Back to Hub
+
+
+ {/* Divider */}
+
+
{panels.map((panel) => {
const Icon = panel.icon;
const isActive = activePanel === panel.id;
diff --git a/apps/editor/features/community/components/community-hub.tsx b/apps/editor/features/community/components/community-hub.tsx
index 00954bc4..2841f3f8 100644
--- a/apps/editor/features/community/components/community-hub.tsx
+++ b/apps/editor/features/community/components/community-hub.tsx
@@ -1,17 +1,18 @@
'use client'
+import Image from 'next/image'
+import { useRouter } from 'next/navigation'
import { useEffect, useState } from 'react'
import { useAuth } from '../lib/auth/hooks'
-import { useRouter } from 'next/navigation'
-import { SignInDialog } from './sign-in-dialog'
-import { PropertyGrid } from './property-grid'
-import { CreatePropertyButton } from './create-property-button'
-import { ProfileDropdown } from './profile-dropdown'
-import { NewPropertyDialog } from './new-property-dialog'
-import { getPublicProperties, getUserProperties } from '../lib/properties/actions'
-import { getLocalProperties, createLocalProperty } from '../lib/local-storage/property-store'
-import type { Property } from '../lib/properties/types'
import type { LocalProperty } from '../lib/local-storage/property-store'
+import { createLocalProperty, getLocalProperties } from '../lib/local-storage/property-store'
+import { getPublicProperties, getUserProperties } from '../lib/properties/actions'
+import type { Property } from '../lib/properties/types'
+import { CreatePropertyButton } from './create-property-button'
+import { NewPropertyDialog } from './new-property-dialog'
+import { ProfileDropdown } from './profile-dropdown'
+import { PropertyGrid } from './property-grid'
+import { SignInDialog } from './sign-in-dialog'
export default function CommunityHub() {
const { isAuthenticated, isLoading: authLoading, user } = useAuth()
@@ -94,7 +95,6 @@ export default function CommunityHub() {
router.push(`/viewer/${propertyId}`)
}
-
if (authLoading || loading) {
return (
@@ -109,7 +109,16 @@ export default function CommunityHub() {
-
Hub
+
+
+
Hub
+
{!isAuthenticated ? (