-
Notifications
You must be signed in to change notification settings - Fork 18
[Admin] Component: Navigation Top List Bar - UI component #272 #327
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
base: main
Are you sure you want to change the base?
Conversation
justinyoo
left a comment
There was a problem hiding this 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;"> |
There was a problem hiding this comment.
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 |
There was a problem hiding this comment.
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 – Playground 처럼 다이나믹하게 구성할 수 있나요?
| <FluentButton IconEnd="@(new Icons.Regular.Size20.Person().WithColor("Blue"))"> | ||
| Login | ||
| </FluentButton> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- 이 아이콘을 GitHub 아이콘으로 바꿀 수도 있나요?
- 그리고 문자열은
Login with로 바꾸면 좋을 듯?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://simpleicons.org 여기 참조해 보면 좋을 듯?
| <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> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
이 네비 메뉴는 어드민 페이지에서만 보이게 해 주세욥. 플레이그라운드에서는 화면을 풀로 다 쓸 수 있으면 좋겠습니다.
| <PageTitle>Admin Page</PageTitle> | ||
| @* | ||
| <AdminTopListBar /> *@ | ||
|
|
||
| <h1>Admin Dashboard Page</h1> | ||
| <h3>Admin Dashboard Page</h3> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
앞서 남긴 코멘트대로 하면 여기서 살짝 논리를 바꾸면 될 듯?
MainLayout.razor수정