feat: recent tracks
This commit is contained in:
parent
9ba4931ca3
commit
ca94df3b61
7 changed files with 92 additions and 10 deletions
|
@ -20,7 +20,7 @@ export const img = async (
|
|||
sizes = '90vw',
|
||||
formats = ['avif', 'webp', 'jpeg']
|
||||
) => {
|
||||
const widths = [200, 320, 570, 880, 1024, 1248].filter(width => width <= maxWidth);
|
||||
const widths = [80, 200, 320, 570, 880, 1024, 1248].filter(width => width <= maxWidth);
|
||||
const metadata = await Image(src, {
|
||||
widths: [...widths],
|
||||
formats: [...formats],
|
||||
|
|
Reference in a new issue