Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(sandbox): card retrieval for a unique editorial dashboard #1154

Draft
wants to merge 29 commits into
base: main
Choose a base branch
from

Conversation

Fupete
Copy link
Collaborator

@Fupete Fupete commented Dec 20, 2023

Working on it.

I am testing a way to create a single centralized configuration file where editors can control the dynamic content featured on the Web site. See the new yaml of settings to understand my ultimate goal.

Currently on the home page you can see a new section with 4 dynamic loaded cards rendering. I use a global pageQuery on allContnt filtered by page titles. Currently the titles are hardcoded in gatsby-node.js. We need to load them from the settings YAML and move them to a dedicated part of the graphql schema.

Then: create different views on different pages.

FYI @bfabio @astagi

Ps. the cards images are currently not working/shown... maybe something about assets preparation in gatsby-node too.

@Fupete Fupete marked this pull request as draft December 20, 2023 12:27
@Fupete Fupete self-assigned this Dec 20, 2023
@Fupete Fupete added the feature label Dec 20, 2023
@Fupete Fupete linked an issue Dec 20, 2023 that may be closed by this pull request
1 task
Copy link
Contributor

github-actions bot commented Dec 21, 2023

⚡ Lighthouse report for the home page 🏠

Category Score
🟠 Performance 51
🟢 Accessibility 100
🟢 Best practices 92
🟢 SEO 100

See the full report...

Other pages

gatsby-node.js Outdated Show resolved Hide resolved
@Fupete Fupete requested review from bfabio and astagi February 2, 2024 16:01
@Fupete Fupete changed the title feat(sandbox): card retrieval for an unique editorial dashboard feat(sandbox): card retrieval for a unique editorial dashboard Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Centralize community cards management
1 participant