diff --git a/_data/settings/latest-announcements.yml b/_data/settings/latest-announcements.yml index 4c50ecbccc..09d4b16e0b 100644 --- a/_data/settings/latest-announcements.yml +++ b/_data/settings/latest-announcements.yml @@ -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: / \ No newline at end of file + buttonText: Test + buttonLink: https://www.starknet.io/test diff --git a/_data/settings/latestAnnouncements.yml b/_data/settings/latestAnnouncements.yml deleted file mode 100644 index 09d4b16e0b..0000000000 --- a/_data/settings/latestAnnouncements.yml +++ /dev/null @@ -1,6 +0,0 @@ -announcements: - - isActive: false - text: Test - image: https://www.starknet.io/assets/guide-image-3-.jpg - buttonText: Test - buttonLink: https://www.starknet.io/test diff --git a/workspaces/cms-config/src/collections/settings.ts b/workspaces/cms-config/src/collections/settings.ts index a5853f44ce..3c47e2ce71 100644 --- a/workspaces/cms-config/src/collections/settings.ts +++ b/workspaces/cms-config/src/collections/settings.ts @@ -383,7 +383,7 @@ export const settingsCollectionConfig = { }, { label: "Latest Announcements", - name: "LatestAnnouncements", + name: "latest-announcements", file: `_data/settings/latest-announcements.yml`, crowdin: false, fields: [