Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Admin] Component: Navigation Top List Bar - UI component #272 #327

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

n-y-kim
Copy link
Contributor

@n-y-kim n-y-kim commented Sep 16, 2024

Screenshot 2024-09-16 at 10 53 43 PM Screenshot 2024-09-16 at 10 53 49 PM

Copy link
Contributor

@justinyoo justinyoo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

코멘트 남겨뒀습니다~

{
<div class="sidebar">
<NavMenu />
<FluentLayout Style="margin-top: 10px;">
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Layout 컴포넌트하고 MainLayout 컴포넌트하고 어떤게 더 맞을 것 같은가요? 저는 MainLayout 같아 보이긴 하는데... 어떻게 생각하세요?

<FluentLayout Style="margin-top: 10px;">

<FluentHeader>
Azure OpenAI Proxy Playground
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

여기서 Playground는 어드민 화면에서는 맞지 않으니... 그냥 빼거나 아니면 URL에 따라 /admin 페이지일 경우 Azure OpenAI Proxy &ndash Dashboard하고 /playground 페이지일 경우에는 Azure OpenAI Proxy &ndash; Playground 처럼 다이나믹하게 구성할 수 있나요?

Comment on lines +8 to +10
<FluentButton IconEnd="@(new Icons.Regular.Size20.Person().WithColor("Blue"))">
Login
</FluentButton>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • 이 아이콘을 GitHub 아이콘으로 바꿀 수도 있나요?
  • 그리고 문자열은 Login with로 바꾸면 좋을 듯?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

https://simpleicons.org 여기 참조해 보면 좋을 듯?

Comment on lines +15 to 25
<div>
<FluentNavMenu Width="250">
<FluentNavLink Icon="@(new Icons.Regular.Size24.Globe())" Href="/">AOAI Proxy Playground
</FluentNavLink>
<FluentNavLink Icon="@(new Icons.Regular.Size24.Home())" Href="/">Home</FluentNavLink>
@if (this._isAdmin == true)
{
<FluentNavLink Icon="@(new Icons.Regular.Size24.Board())" Href="/admin">Admin Dashboard</FluentNavLink>
}
</FluentNavMenu>
</div>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

이 네비 메뉴는 어드민 페이지에서만 보이게 해 주세욥. 플레이그라운드에서는 화면을 풀로 다 쓸 수 있으면 좋겠습니다.

Comment on lines 3 to +7
<PageTitle>Admin Page</PageTitle>
@*
<AdminTopListBar /> *@

<h1>Admin Dashboard Page</h1>
<h3>Admin Dashboard Page</h3>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

앞서 남긴 코멘트대로 하면 여기서 살짝 논리를 바꾸면 될 듯?

@justinyoo justinyoo linked an issue Sep 17, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Admin] Component: Navigation Top List Bar - UI component
2 participants