Skip to content

Commit

Permalink
add flying window mode
Browse files Browse the repository at this point in the history
  • Loading branch information
jbilcke-hf committed Jul 28, 2024
1 parent 6084b21 commit ef0ddb6
Show file tree
Hide file tree
Showing 22 changed files with 1,014 additions and 870 deletions.
645 changes: 11 additions & 634 deletions package-lock.json

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "clapper",
"version": "0.0.5",
"version": "0.0.6",
"private": true,
"description": "🎬 Clapper",
"license": "GPL-3.0-only",
Expand Down Expand Up @@ -38,9 +38,9 @@
"dependencies": {
"@aitube/broadway": "0.1.2",
"@aitube/clap": "0.1.2",
"@aitube/clapper-services": "0.1.2-4",
"@aitube/clapper-services": "0.1.2-7",
"@aitube/engine": "0.1.2",
"@aitube/timeline": "0.1.2-0",
"@aitube/timeline": "0.1.2-1",
"@fal-ai/serverless-client": "^0.13.0",
"@ffmpeg/ffmpeg": "^0.12.10",
"@ffmpeg/util": "^0.12.1",
Expand Down
7 changes: 3 additions & 4 deletions src/app/embed/embed.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,12 @@ import { Monitor } from '@/components/monitor'
import { SettingsDialog } from '@/components/settings'
import { LoadingDialog } from '@/components/dialogs/loader/LoadingDialog'
import { TopBar } from '@/components/toolbars/top-bar'
import { useTheme } from '@/services'

export function Embed() {
const ref = useRef<HTMLDivElement>(null)
const isEmpty = useTimeline((s) => s.isEmpty)
const theme = useTheme()

return (
<TooltipProvider>
Expand All @@ -23,10 +25,7 @@ export function Embed() {
className={cn(
`dark fixed flex h-screen w-screen select-none flex-col items-center justify-center overflow-hidden font-light text-stone-900/90 dark:text-stone-100/90`
)}
style={{
backgroundImage:
'repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #37353455, #373534 )',
}}
style={{ backgroundImage: theme.wallpaperBgImage }}
>
<TopBar />
<div
Expand Down
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ export default function RootLayout({
className={cn(`overflow-none dark h-full w-full`, inter.className)}
style={{
overscrollBehaviorX: 'none',
backgroundImage:
'repeating-radial-gradient( circle at 0 0, transparent 0, #000000 7px ), repeating-linear-gradient( #37353455, #373534 )',
}}
>
{children}
Expand Down
Loading

0 comments on commit ef0ddb6

Please sign in to comment.