Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
12 changes: 10 additions & 2 deletions src/frontend/apps/web/app/(main)/[stockSlug]/page.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import { ChatContainer } from '@/src/features/chat';
import { StockDetailLayout } from '@/src/features/stock';
import { ChevronLeft } from 'lucide-react';
import Link from 'next/link';

// 주식데이터를 가지고 올수있는 방법이 필요합니다.

Expand All @@ -18,8 +20,14 @@ export default function StockDetailsPage({ params }) {
// console.log(1, params);

return (
<div className="flex bg-gray-700 py-6 px-[30px] h-full">
<div className="pr-2 w-[45vw]">
<div className="flex py-6 px-[30px] h-full">
<div className="pr-2 w-[45vw] flex flex-col">
<Link
href={'/'}
className="w-fit"
>
<ChevronLeft size={28} />
</Link>
<StockDetailLayout />
</div>

Expand Down
23 changes: 18 additions & 5 deletions src/frontend/apps/web/src/shared/components/header/header.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,30 @@
'use client';

import { Avatar, AvatarFallback, AvatarImage, Popover, PopoverContent, PopoverTrigger } from '@workspace/ui/components';
import {
Avatar,
AvatarFallback,
AvatarImage,
Popover,
PopoverContent,
PopoverTrigger,
} from '@workspace/ui/components';
import ProfileContainer from './profile-container';
import { CircleUserRound } from 'lucide-react';
import Link from 'next/link';

//로고 이미지 경로 변경 필요
const Header = () => {
return (
<>
<Avatar variant="square">
<AvatarImage src="https://github.com/shadcn.png" />
<AvatarFallback className="text-primary font-bold">주톡피아</AvatarFallback>
</Avatar>
<Link href={'/'}>
<Avatar variant="square">
<AvatarImage src="https://github.com/shadcn.png" />
<AvatarFallback className="text-primary font-bold">
주톡피아
</AvatarFallback>
</Avatar>
</Link>

<Popover>
<PopoverTrigger asChild>
<Avatar
Expand Down
Loading