diff --git a/lumina/app/profile/[pubkey]/page.tsx b/lumina/app/profile/[pubkey]/page.tsx index 48c4d51..d4f0562 100644 --- a/lumina/app/profile/[pubkey]/page.tsx +++ b/lumina/app/profile/[pubkey]/page.tsx @@ -6,6 +6,7 @@ import ProfileInfoCard from "@/components/ProfileInfoCard"; import ProfileFeed from "@/components/ProfileFeed"; import { useParams } from 'next/navigation' import { nip19 } from "nostr-tools"; +import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs" const relayUrls = [ "wss://relay.damus.io", @@ -35,7 +36,16 @@ export default function Home() {
- + + + Feed + QuickView + + + + + QuickView coming soon. + diff --git a/lumina/bun.lockb b/lumina/bun.lockb index 6a4b013..cacccdc 100755 Binary files a/lumina/bun.lockb and b/lumina/bun.lockb differ diff --git a/lumina/components/ProfileFeed.tsx b/lumina/components/ProfileFeed.tsx index b50ae74..b3cedcf 100644 --- a/lumina/components/ProfileFeed.tsx +++ b/lumina/components/ProfileFeed.tsx @@ -26,7 +26,7 @@ const ProfileFeed: React.FC = ({ pubkey }) => { return ( <> -

Profile Feed

+ {/*

Profile Feed

*/} {filteredEvents.length === 0 ? (
diff --git a/lumina/components/ui/tabs.tsx b/lumina/components/ui/tabs.tsx new file mode 100644 index 0000000..26eb109 --- /dev/null +++ b/lumina/components/ui/tabs.tsx @@ -0,0 +1,55 @@ +"use client" + +import * as React from "react" +import * as TabsPrimitive from "@radix-ui/react-tabs" + +import { cn } from "@/lib/utils" + +const Tabs = TabsPrimitive.Root + +const TabsList = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +TabsList.displayName = TabsPrimitive.List.displayName + +const TabsTrigger = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +TabsTrigger.displayName = TabsPrimitive.Trigger.displayName + +const TabsContent = React.forwardRef< + React.ElementRef, + React.ComponentPropsWithoutRef +>(({ className, ...props }, ref) => ( + +)) +TabsContent.displayName = TabsPrimitive.Content.displayName + +export { Tabs, TabsList, TabsTrigger, TabsContent } diff --git a/lumina/package.json b/lumina/package.json index 8a71a1c..546a0f1 100644 --- a/lumina/package.json +++ b/lumina/package.json @@ -13,6 +13,7 @@ "@radix-ui/react-dialog": "^1.0.5", "@radix-ui/react-navigation-menu": "^1.1.4", "@radix-ui/react-slot": "^1.0.2", + "@radix-ui/react-tabs": "^1.0.4", "@radix-ui/react-tooltip": "^1.0.7", "class-variance-authority": "^0.7.0", "clsx": "^2.1.0",