✨feature: Scaffold project
This commit is contained in:
21
src/pages/index.astro
Normal file
21
src/pages/index.astro
Normal file
@@ -0,0 +1,21 @@
|
||||
---
|
||||
import "../styles/global.css";
|
||||
import MainLayout from '../layouts/MainLayout.astro';
|
||||
import Sidebar from '../components/Sidebar.astro';
|
||||
import SearchBar from '../components/SearchBar.astro';
|
||||
import PromptList from '../components/PromptList.astro';
|
||||
---
|
||||
|
||||
<MainLayout>
|
||||
<div class="flex h-screen bg-gray-50 text-gray-900">
|
||||
<Sidebar />
|
||||
|
||||
<div class="flex-1 flex flex-col overflow-hidden">
|
||||
<SearchBar />
|
||||
|
||||
<main class="flex-1 overflow-y-auto p-4">
|
||||
<PromptList />
|
||||
</main>
|
||||
</div>
|
||||
</div>
|
||||
</MainLayout>
|
||||
Reference in New Issue
Block a user