studio-helpers.ts

src/utils/studio-helpers.ts
import studioData from '@/../_data/_studio.json'
type ImageSize = 'small' | 'medium' | 'large' | 'full'
type ImageResult = {
url: string
width: number
height: number
}
// Matches studio's Dimensions type
interface Dimensions {
w: number
h: number
}
// Matches studio's MetaEntry type (subset used by helpers)
type MetaEntry = {
o?: Dimensions // original dimensions {w, h}
sm?: Dimensions // small thumbnail (300px width)

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC