style: format frontend with prettier
Mechanical one-shot pass of pnpm format over src/, tests/, tools/, and root configs. No functional changes; build and type-check verified.
This commit is contained in:
@@ -1,22 +1,22 @@
|
||||
import { motion } from "framer-motion";
|
||||
import type { ExploreMode } from "../../store";
|
||||
import { motion } from 'framer-motion'
|
||||
import type { ExploreMode } from '../../store'
|
||||
|
||||
function Spinner() {
|
||||
return (
|
||||
<motion.div
|
||||
className="explore-spinner h-5 w-5 rounded-full border-2 border-white/15 border-t-white/50"
|
||||
animate={{ rotate: 360 }}
|
||||
transition={{ duration: 0.85, repeat: Infinity, ease: "linear" }}
|
||||
transition={{ duration: 0.85, repeat: Infinity, ease: 'linear' }}
|
||||
/>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
export function ExploreLoadingPanel({ mode }: { mode: ExploreMode }) {
|
||||
const title = mode === "visual" ? "Building visual clusters" : "Reading tag frequencies";
|
||||
const title = mode === 'visual' ? 'Building visual clusters' : 'Reading tag frequencies'
|
||||
const subtitle =
|
||||
mode === "visual"
|
||||
? "Grouping similar images into browsable clusters."
|
||||
: "Collecting tags from the current library scope.";
|
||||
mode === 'visual'
|
||||
? 'Grouping similar images into browsable clusters.'
|
||||
: 'Collecting tags from the current library scope.'
|
||||
|
||||
return (
|
||||
<div className="flex flex-1 items-center justify-center px-8">
|
||||
@@ -30,12 +30,10 @@ export function ExploreLoadingPanel({ mode }: { mode: ExploreMode }) {
|
||||
<motion.div
|
||||
className="h-full w-16 rounded-full bg-white/25"
|
||||
animate={{ x: [-72, 184] }}
|
||||
transition={{ duration: 1.4, repeat: Infinity, ease: "easeInOut" }}
|
||||
transition={{ duration: 1.4, repeat: Infinity, ease: 'easeInOut' }}
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
);
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user