Skip to content

Commit

Permalink
Honesty evertything
Browse files Browse the repository at this point in the history
  • Loading branch information
IhsenBouallegue committed Jun 27, 2024
1 parent 1ac5cdc commit 93a6ad9
Show file tree
Hide file tree
Showing 30 changed files with 774 additions and 427 deletions.
6 changes: 6 additions & 0 deletions customtypes/page/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,12 @@
"fieldset": "Slice Zone",
"config": {
"choices": {
"sponsors": {
"type": "SharedSlice"
},
"info_grid": {
"type": "SharedSlice"
},
"subsections": {
"type": "SharedSlice"
},
Expand Down
59 changes: 59 additions & 0 deletions customtypes/sponsors/index.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
{
"format": "custom",
"id": "sponsors",
"label": "Sponsors",
"repeatable": false,
"status": true,
"json": {
"Main": {
"sponsors": {
"type": "Group",
"config": {
"label": "Sponsors",
"repeat": true,
"fields": {
"name": {
"type": "Text",
"config": {
"label": "Name",
"placeholder": ""
}
},
"highlight": {
"type": "Boolean",
"config": {
"label": "Highlight",
"default_value": false,
"placeholder_true": "true",
"placeholder_false": "false"
}
},
"category": {
"type": "Select",
"config": {
"label": "Category",
"placeholder": "",
"options": [
"TUDSaT Sponsors",
"TRACE Prime Sponsor",
"TRACE Sponsors",
"RAPID Prime Sponsor",
"RAPID Sponsors"
],
"default_value": "TUDSaT Sponsors"
}
},
"logo": {
"type": "Image",
"config": {
"label": "Logo",
"constraint": {},
"thumbnails": []
}
}
}
}
}
}
}
}
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
},
"devDependencies": {
"@biomejs/biome": "1.7.1",
"@slicemachine/adapter-next": "^0.3.38",
"@slicemachine/adapter-next": "^0.3.42",
"@tailwindcss/typography": "^0.5.12",
"@types/node": "20.8.9",
"@types/react": "18.2.32",
Expand All @@ -61,7 +61,7 @@
"eslint": "^8",
"eslint-config-next": "13.5.4",
"postcss": "^8",
"slice-machine-ui": "^1.26.0",
"slice-machine-ui": "^2.2.1",
"tailwindcss": "^3",
"typescript": "5.2.2"
},
Expand Down
Loading

0 comments on commit 93a6ad9

Please sign in to comment.