Feat: save waveform as file (#118)

* package rpm

* cache waveform data as file in library

* clear waveform data in db

* fix some css
This commit is contained in:
an-lee
2024-01-15 16:57:44 +08:00
committed by GitHub
parent 187038c42e
commit b545ea2362
25 changed files with 133 additions and 48 deletions

View File

@@ -165,7 +165,7 @@ const WavesurferPlayer = (props: {
<div
ref={ref}
className="bg-white rounded-lg grid grid-cols-9 items-center relative h-[80px]"
className="bg-background rounded-lg grid grid-cols-9 items-center relative h-[80px]"
>
{!initialized && (
<div className="col-span-9 flex flex-col justify-around h-[80px]">

View File

@@ -20,7 +20,7 @@ export const PostCard = (props: {
const { user } = useContext(AppSettingsProviderContext);
return (
<div className="rounded p-4 bg-white space-y-3">
<div className="rounded p-4 bg-background space-y-3">
<div className="flex items-center justify-between">
<div className="flex items-center space-x-2">
<Avatar>