Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions src/content/navigation-menu.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,6 @@ menuItems:
link: /grants
- title: Online communities
link: /communities
button:
title: Bridge
link: https://bridge.alephium.org/
socialIcons:
- Twitter/X
- Discord
Expand Down
60 changes: 60 additions & 0 deletions static/admin/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,66 @@ collections:
hint: 'Related posts listed at the bottom of the article. You can search by post title.'
required: false
- { label: 'Body', name: 'body', widget: 'markdown' }
- name: 'menus'
label: 'Menus'
files:
- label: 'Main navigation menu'
name: 'navigation-menu'
file: "src/content/navigation-menu.md"
fields:
- label: 'Menu items'
name: 'menuItems'
widget: 'list'
summary: '{{fields.title}}'
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- label: 'Items'
name: 'items'
widget: 'list'
summary: '{{fields.title}}'
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- { label: 'Link', name: 'link', widget: 'string', required: false }
- label: 'Social platforms icons'
name: 'socialIcons'
widget: 'select'
multiple: true
options:
- Discord
- Telegram
- Twitter/X
- GitHub
- label: 'Footer menu'
name: 'footer'
file: "src/content/footer.md"
fields:
- label: 'Columns'
name: 'columns'
widget: 'list'
summary: '{{fields.title}}'
fields:
- { label: 'Title', name: 'title', widget: 'string' }
- label: 'Items'
name: 'links'
widget: 'list'
summary: '{{fields.text}}'
fields:
- { label: 'Title', name: 'text', widget: 'string' }
- { label: 'Link', name: 'url', widget: 'string' }
- label: 'Bottom'
name: 'bottom'
widget: 'object'
fields:
- label: 'Social platforms icons'
name: 'socials'
widget: 'select'
multiple: true
options:
- Discord
- Telegram
- Twitter/X
- GitHub
- { label: 'Text', name: 'text', widget: 'string' }
- name: 'roadmap'
label: 'Roadmap'
folder: 'src/content/roadmap'
Expand Down
Loading