This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set the `immutable` cache control options only for assets with a cache busting `v` argument | |
map $arg_v $asset_immutable { | |
"" ""; | |
default "immutable"; | |
} | |
## | |
# Connection header for WebSocket reverse proxy | |
## | |
map $http_upgrade $connection_upgrade { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const fs = require("node:fs"); | |
const PromiseThrottle = require("promise-throttle"); | |
const FormData = require("form-data"); | |
const { traverse } = require("object-traversal"); | |
const sizeOf = require("image-size"); | |
const StoryblokClient = require("storyblok-js-client"); | |
const { v4: uuidv4 } = require("uuid"); | |
const jsonpointer = require("jsonpointer"); | |
const designSystemPresets = require("@kickstartds/ds-agency-premium/presets.json"); | |
const generatedComponents = require("../cms/components.123456.json"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function isStoryblokAsset(object: unknown): object is AssetStoryblok { | |
return (object as AssetStoryblok)?.filename !== undefined; | |
} | |
const Picture = forwardRef< | |
HTMLImageElement, | |
PictureProps & ImgHTMLAttributes<HTMLImageElement> | |
>(({ src, lazy, ...props }, ref) => { | |
const internalRef = useRef<HTMLImageElement>(null); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"$schema": "http://json-schema.org/draft-07/schema#", | |
"$id": "http://schema.redacted.de/hero.schema.json", | |
"title": "Hero", | |
"description": "Prominente Bild- oder Videodarstellung mit Option für Text und Cta", | |
"type": "object", | |
"properties": { | |
"textPosition": { | |
"type": "string", | |
"title": "Textposition", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"definitions": {}, | |
"$schema": "http://json-schema.org/draft-06/schema#", | |
"$id": "https://ruhmesmeile.com/rm-dist.json", | |
"type": "object", | |
"title": "ruhmesmeile Basiswebsite / rm-dist configuration", | |
"required": [ | |
"project", | |
"configuration", | |
"remote", |
OlderNewer