Skip to content

Commit

Permalink
Fix latest announcements CMS
Browse files Browse the repository at this point in the history
  • Loading branch information
igalst committed Apr 4, 2024
1 parent efd0c64 commit 3239c8b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 16 deletions.
14 changes: 5 additions & 9 deletions _data/settings/latest-announcements.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
- isActive: true
image: https://www.starknet.io/assets/final-.jpeg
text: What are onramps and cross rollup bridges?
buttonText: See more
buttonLink: /
- isActive: true
announcements:
- isActive: false
text: Test
image: https://www.starknet.io/assets/guide-image-3-.jpg
text: What are onramps and cross rollup bridges?
buttonText: See more
buttonLink: /
buttonText: Test
buttonLink: https://www.starknet.io/test
6 changes: 0 additions & 6 deletions _data/settings/latestAnnouncements.yml

This file was deleted.

2 changes: 1 addition & 1 deletion workspaces/cms-config/src/collections/settings.ts
Original file line number Diff line number Diff line change
Expand Up @@ -383,7 +383,7 @@ export const settingsCollectionConfig = {
},
{
label: "Latest Announcements",
name: "LatestAnnouncements",
name: "latest-announcements",
file: `_data/settings/latest-announcements.yml`,
crowdin: false,
fields: [
Expand Down

0 comments on commit 3239c8b

Please sign in to comment.