Skip to content

Instantly share code, notes, and snippets.

@bobinska-dev
bobinska-dev / ImageInput.tsx
Last active December 8, 2023 03:22
Sanity Guide enriched images in the studio
import {
Button,
Card,
Dialog,
Flex,
Label,
Stack,
TextInput,
useToast,
} from '@sanity/ui'
@bobinska-dev
bobinska-dev / wheel.js
Created February 10, 2022 15:49 — forked from julrich/wheel.js
import "@kickstartds/core/lib/container-queries";
import { Component, define } from "@kickstartds/core/lib/core";
import { windowEvents } from "@kickstartds/core/lib/utils";
const desktopImageOffsetAngle = 60;
const mobileImageOffsetAngle = 75;
const mobileOffsetRotateAngle = 45;
const backgroundRotateFactor = -0.25;
const maxBlur = 4;