feat: scaffold Tauri v2 + Svelte 5 project with base layout and utilities
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
16
src/lib/components/ClipList.svelte
Normal file
16
src/lib/components/ClipList.svelte
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="clip-list">
|
||||
<div class="placeholder-text">No clips yet — press I to mark in-point</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.clip-list {
|
||||
padding: 8px 12px;
|
||||
background: var(--bg-secondary);
|
||||
min-height: 80px;
|
||||
border-top: 1px solid var(--border);
|
||||
}
|
||||
.placeholder-text {
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
16
src/lib/components/StatusBar.svelte
Normal file
16
src/lib/components/StatusBar.svelte
Normal file
@@ -0,0 +1,16 @@
|
||||
<div class="status-bar">
|
||||
<span class="status-text">Ready</span>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.status-bar {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 4px 12px;
|
||||
background: var(--bg-tertiary);
|
||||
border-top: 1px solid var(--border);
|
||||
font-size: 12px;
|
||||
color: var(--text-secondary);
|
||||
min-height: 24px;
|
||||
}
|
||||
</style>
|
||||
17
src/lib/components/Timeline.svelte
Normal file
17
src/lib/components/Timeline.svelte
Normal file
@@ -0,0 +1,17 @@
|
||||
<div class="timeline">
|
||||
<div class="placeholder-text">Timeline</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.timeline {
|
||||
height: 160px;
|
||||
background: var(--timeline-bg);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
.placeholder-text {
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
19
src/lib/components/TransportControls.svelte
Normal file
19
src/lib/components/TransportControls.svelte
Normal file
@@ -0,0 +1,19 @@
|
||||
<div class="transport-controls">
|
||||
<span class="placeholder-text">Transport controls</span>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.transport-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px 12px;
|
||||
background: var(--bg-secondary);
|
||||
border-top: 1px solid var(--border);
|
||||
border-bottom: 1px solid var(--border);
|
||||
min-height: 40px;
|
||||
}
|
||||
.placeholder-text {
|
||||
color: var(--text-muted);
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
12
src/lib/components/UrlInput.svelte
Normal file
12
src/lib/components/UrlInput.svelte
Normal file
@@ -0,0 +1,12 @@
|
||||
<div class="url-input">
|
||||
<input type="text" placeholder="Paste a video URL..." />
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.url-input {
|
||||
flex: 1;
|
||||
}
|
||||
.url-input input {
|
||||
width: 100%;
|
||||
}
|
||||
</style>
|
||||
18
src/lib/components/VideoPlayer.svelte
Normal file
18
src/lib/components/VideoPlayer.svelte
Normal file
@@ -0,0 +1,18 @@
|
||||
<div class="video-player">
|
||||
<div class="placeholder">Paste a URL above to load a video</div>
|
||||
</div>
|
||||
|
||||
<style>
|
||||
.video-player {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background: #000;
|
||||
min-height: 200px;
|
||||
}
|
||||
.placeholder {
|
||||
color: var(--text-muted);
|
||||
font-size: 16px;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user