finished navbar and blog. todo: finishing touches

This commit is contained in:
2025-08-21 02:03:21 +02:00
parent 519eb1ff2a
commit da67406b5f
49 changed files with 3260 additions and 626 deletions

View File

@@ -41,6 +41,13 @@
},
"optional": true
},
"publishedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"headerSection": {
"type": "objectAttribute",
"value": {
@@ -51,6 +58,524 @@
}
}
},
{
"name": "blog",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "blog"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"author": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"publishedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"tags": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "string"
}
},
"optional": true
},
"excerpt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"mainImage": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"media": {
"type": "objectAttribute",
"value": {
"type": "unknown"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"alt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "imageWithAlt"
}
}
}
},
"optional": true
},
"body": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "union",
"of": [
{
"type": "object",
"attributes": {
"children": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"marks": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "string"
}
},
"optional": true
},
"text": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "span"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
},
"style": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "normal"
},
{
"type": "string",
"value": "h1"
},
{
"type": "string",
"value": "h2"
},
{
"type": "string",
"value": "h3"
},
{
"type": "string",
"value": "h4"
},
{
"type": "string",
"value": "blockquote"
}
]
},
"optional": true
},
"listItem": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "bullet"
}
]
},
"optional": true
},
"markDefs": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "union",
"of": [
{
"type": "object",
"attributes": {
"href": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "link"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "link"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
},
"rest": {
"type": "inline",
"name": "textColor"
}
},
{
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
},
"rest": {
"type": "inline",
"name": "highlightColor"
}
}
]
}
},
"optional": true
},
"level": {
"type": "objectAttribute",
"value": {
"type": "number"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "block"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
},
"rest": {
"type": "inline",
"name": "button"
}
},
{
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.imageAsset"
},
"optional": true
},
"media": {
"type": "objectAttribute",
"value": {
"type": "unknown"
},
"optional": true
},
"hotspot": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageHotspot"
},
"optional": true
},
"crop": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "sanity.imageCrop"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "image"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
},
{
"type": "object",
"attributes": {
"asset": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "sanity.fileAsset"
},
"optional": true
},
"media": {
"type": "objectAttribute",
"value": {
"type": "unknown"
},
"optional": true
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "file"
}
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
]
}
},
"optional": true
}
}
},
{
"name": "faqSection",
"type": "type",
@@ -1151,6 +1676,270 @@
}
}
},
{
"name": "navbar",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "navbar"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"links": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"text": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"link": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "link"
},
"optional": true
},
"sublinks": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "object",
"attributes": {
"type": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "auto"
},
{
"type": "string",
"value": "tag"
},
{
"type": "string",
"value": "manual"
}
]
},
"optional": true
},
"pageType": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "custom"
},
{
"type": "string",
"value": "blog"
}
]
},
"optional": true
},
"text": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"link": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "link"
},
"optional": true
},
"tagFilter": {
"type": "objectAttribute",
"value": {
"type": "object",
"attributes": {
"_ref": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "reference"
}
},
"_weak": {
"type": "objectAttribute",
"value": {
"type": "boolean"
},
"optional": true
}
},
"dereferencesTo": "tag"
},
"optional": true
},
"tagPageType": {
"type": "objectAttribute",
"value": {
"type": "union",
"of": [
{
"type": "string",
"value": "custom"
},
{
"type": "string",
"value": "blog"
}
]
},
"optional": true
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
}
},
"rest": {
"type": "object",
"attributes": {
"_key": {
"type": "objectAttribute",
"value": {
"type": "string"
}
}
}
}
}
},
"optional": true
}
}
},
{
"name": "tag",
"type": "document",
"attributes": {
"_id": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_type": {
"type": "objectAttribute",
"value": {
"type": "string",
"value": "tag"
}
},
"_createdAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_updatedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"_rev": {
"type": "objectAttribute",
"value": {
"type": "string"
}
},
"title": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"slug": {
"type": "objectAttribute",
"value": {
"type": "inline",
"name": "slug"
},
"optional": true
},
"description": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
}
}
},
{
"name": "settings",
"type": "document",
@@ -2318,6 +3107,23 @@
},
"optional": true
},
"tags": {
"type": "objectAttribute",
"value": {
"type": "array",
"of": {
"type": "string"
}
},
"optional": true
},
"publishedAt": {
"type": "objectAttribute",
"value": {
"type": "string"
},
"optional": true
},
"body": {
"type": "objectAttribute",
"value": {