File tree Expand file tree Collapse file tree 9 files changed +25
-22
lines changed
Expand file tree Collapse file tree 9 files changed +25
-22
lines changed Original file line number Diff line number Diff line change 11import React , { useState , useEffect } from 'react' ;
2- import { Heart } from 'lucide-react' ;
2+
33import { useTranslation } from 'react-i18next' ;
44import axios from 'axios' ;
55
@@ -74,11 +74,7 @@ const AboutSettings: React.FC = () => {
7474 </ div >
7575 </ div >
7676
77- < div className = "text-xs opacity-70 mt-4 text-center" >
78- < div className = "text-xs opacity-70 mt-4 text-center flex justify-center items-center gap-1" >
79- { t ( 'settings.madeWith' ) } < Heart size = { 12 } className = "text-error" fill = "currentColor" /> { t ( 'settings.by' ) } < a href = "https://github.com/jeanball" target = "_blank" rel = "noopener noreferrer" className = "link link-hover" > Jeanball</ a >
80- </ div >
81- </ div >
77+
8278 </ div >
8379 </ div >
8480 ) ;
Original file line number Diff line number Diff line change 11@tailwind base;
22@tailwind components;
3- @tailwind utilities;
3+ @tailwind utilities;
4+
5+ @layer components {
6+ .modal-box {
7+ background-color : oklch (var (--b1 ) / 0.75 ) !important ;
8+ backdrop-filter : blur (8px ) !important ;
9+ }
10+ }
Original file line number Diff line number Diff line change 226226 "selectFormat" : " Format zum Hinzufügen auswählen" ,
227227 "goBack" : " Zurück" ,
228228 "confirmAddTitle" : " Zur Sammlung hinzufügen?" ,
229- "confirmAddYes" : " Ja, hinzufügen "
229+ "confirmAddYes" : " Hinzufügen "
230230 },
231231 "search" : {
232232 "placeholder" : " Suchen Sie nach Künstlern oder Alben..." ,
Original file line number Diff line number Diff line change 244244 "selectFormat" : " Select a format to add" ,
245245 "goBack" : " Go Back" ,
246246 "confirmAddTitle" : " Add to your collection?" ,
247- "confirmAddYes" : " Yes, add it "
247+ "confirmAddYes" : " Add "
248248 },
249249 "search" : {
250250 "placeholder" : " Search for artists or albums..." ,
Original file line number Diff line number Diff line change 226226 "selectFormat" : " Selecciona un formato para añadir" ,
227227 "goBack" : " Volver" ,
228228 "confirmAddTitle" : " ¿Añadir a tu colección?" ,
229- "confirmAddYes" : " Sí, añadir "
229+ "confirmAddYes" : " Añadir "
230230 },
231231 "search" : {
232232 "placeholder" : " Buscar artistas o álbumes..." ,
Original file line number Diff line number Diff line change 244244 "selectFormat" : " Sélectionnez un format à ajouter" ,
245245 "goBack" : " Retour" ,
246246 "confirmAddTitle" : " Ajouter à votre collection ?" ,
247- "confirmAddYes" : " Oui, ajouter "
247+ "confirmAddYes" : " Ajouter "
248248 },
249249 "search" : {
250250 "placeholder" : " Rechercher des artistes ou des albums..." ,
Original file line number Diff line number Diff line change 226226 "selectFormat" : " Selecione um formato para adicionar" ,
227227 "goBack" : " Voltar" ,
228228 "confirmAddTitle" : " Adicionar à sua coleção?" ,
229- "confirmAddYes" : " Sim, adicionar "
229+ "confirmAddYes" : " Adicionar "
230230 },
231231 "search" : {
232232 "placeholder" : " Buscar artistas ou álbuns..." ,
Original file line number Diff line number Diff line change 226226 "selectFormat" : " 选择要添加的格式" ,
227227 "goBack" : " 返回" ,
228228 "confirmAddTitle" : " 添加到您的收藏?" ,
229- "confirmAddYes" : " 是的, 添加"
229+ "confirmAddYes" : " 添加"
230230 },
231231 "search" : {
232232 "placeholder" : " 搜索艺术家或专辑..." ,
Original file line number Diff line number Diff line change @@ -293,14 +293,14 @@ const AlbumDetailPage: React.FC = () => {
293293
294294 { /* Tracklist Section */ }
295295 { tracklist . length > 0 && (
296- < div className = "card bg-base-200 shadow-xl mb-8" >
297- < div className = "card-body " >
298- < h2 className = "card-title text-2xl mb-4 flex items-center gap-2 " >
299- < svg xmlns = "http://www.w3.org/2000/svg" className = "h-6 w-6" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor" >
300- < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3" / >
301- </ svg >
302- { t ( 'album.tracklist' ) } ( { t ( 'album.trackCount' , { count : tracklist . length } ) } )
303- </ h2 >
296+ < details className = "collapse collapse-arrow bg-base-200 shadow-xl mb-8" >
297+ < summary className = "collapse-title text-2xl font-bold flex items-center gap-2 " >
298+ < svg xmlns = "http://www.w3.org/2000/svg" className = "h-6 w-6 shrink-0" fill = "none" viewBox = "0 0 24 24" stroke = "currentColor ">
299+ < path strokeLinecap = "round" strokeLinejoin = "round" strokeWidth = { 2 } d = "M9 19V6l12-3v13M9 19c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zm12-3c0 1.105-1.343 2-3 2s-3-.895-3-2 1.343-2 3-2 3 .895 3 2zM9 10l12-3" / >
300+ </ svg >
301+ { t ( 'album.tracklist' ) } ( { t ( 'album.trackCount' , { count : tracklist . length } ) } )
302+ </ summary >
303+ < div className = "collapse-content" >
304304 < div className = "overflow-x-auto" >
305305 < table className = "table table-zebra" >
306306 < thead >
@@ -327,7 +327,7 @@ const AlbumDetailPage: React.FC = () => {
327327 </ table >
328328 </ div >
329329 </ div >
330- </ div >
330+ </ details >
331331 ) }
332332
333333 { /* Rematch Modal */ }
You can’t perform that action at this time.
0 commit comments