-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Apply dark mode to remote as well as to the host application.
- Loading branch information
Showing
4 changed files
with
46 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,20 @@ | ||
|
||
<div class="flex justify-end p-4"> | ||
<button | ||
(click)="toggleDarkMode()" | ||
class="bg-gray-200 dark:bg-gray-700 text-black dark:text-white px-4 py-2 rounded" | ||
> | ||
Toggle Dark Mode | ||
</button> | ||
</div> | ||
<div class="min-h-screen w-full bg-gray-100 dark:bg-gray-900 text-black dark:text-gray-200"> | ||
<div class="flex justify-end p-4"> | ||
<button | ||
(click)="toggleDarkMode()" | ||
class="bg-gray-200 dark:bg-gray-700 text-black dark:text-white px-4 py-2 rounded" | ||
> | ||
Toggle Dark Mode | ||
</button> | ||
</div> | ||
|
||
<div class="dashboard-nav">Admin Dashboard</div> | ||
<!-- This is the chat bot component that is exposed by the shared library --> | ||
<ac-chat-bot></ac-chat-bot> | ||
@if (isLoggedIn$ | async) { | ||
You are authenticated so you can see this content. | ||
} @else { | ||
<router-outlet></router-outlet> | ||
} | ||
<div class="dashboard-nav">Admin Dashboard</div> | ||
<!-- This is the chat bot component that is exposed by the shared library --> | ||
<ac-chat-bot></ac-chat-bot> | ||
@if (isLoggedIn$ | async) { | ||
You are authenticated so you can see this content. | ||
} @else { | ||
<router-outlet></router-outlet> | ||
} | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters