Add host admin GUI template with sidebar and content layout #3
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
PR Feedback (click)
Description
This PR adds a host admin GUI template with a sidebar on the left and content on the right. The template is designed to be used in Svelte applications and follows the existing component-based architecture of the project.
Summary of Changes
sidebar.svelte
in theapps/www/src/lib/registry/default/ui
directory to represent the sidebar layout.main-content.svelte
in theapps/www/src/lib/registry/default/ui
directory to represent the main content area layout.host-admin-layout.svelte
in theapps/www/src/routes
directory to serve as the layout template for the host admin GUI.sidebar.svelte
andmain-content.svelte
components into thehost-admin-layout.svelte
component to achieve the desired sidebar and content layout.These changes provide a reusable template for creating host admin GUIs with a consistent sidebar and content layout. The template can be customized by passing different components or content to the sidebar and main content slots.
Fixes #2.
🎉 Latest improvements to Sweep:
💡 To get Sweep to edit this pull request, you can: