mirror of
https://github.com/lux-tel/websites.git
synced 2026-10-30 20:31:36 +00:00
14 lines
487 B
TypeScript
14 lines
487 B
TypeScript
import { defineField } from 'sanity';
|
|
import type { SchemaFieldsType } from '../../types';
|
|
|
|
export const anchorFields = [
|
|
defineField({
|
|
name: 'anchorId',
|
|
title: 'Anchor Tag Identifier',
|
|
type: 'string',
|
|
description: 'Adds a navigable #tag. Adding this tag to the end of a url will scroll the screens so the top of the page is at this point. The value here should not include the # symbol.'
|
|
}),
|
|
];
|
|
|
|
export type AnchorSchemaType = SchemaFieldsType<typeof anchorFields>;
|