Skip to content

Limit static pages to the managed set - #56

Merged
gheorghelupu17 merged 1 commit into
mainfrom
issue-51-static-pages
Oct 7, 2026
Merged

gheorghelupu17 merged 1 commit into
mainfrom
issue-51-static-pages

Conversation

@gheorghelupu17

Copy link
Copy Markdown
Collaborator

Summary

  • The static pages list is only terms, privacy, home, about, and contact. Cookie policy and accessibility are no longer in that list.
  • Administrators can edit the existing text and images. They cannot create or delete pages.
  • The public home, about, and contact pages use that saved copy.

Closes #51

Test plan

  • In admin, open Static pages and confirm only the five pages appear, with no create or delete action.
  • Edit the about page body and confirm /ro/about shows the new text.
  • php artisan test --compact tests/Feature/StaticPagesAdminTest.php

Made with Cursor

…copy editable.

Co-authored-by: Cursor <cursoragent@cursor.com>
@gheorghelupu17
gheorghelupu17 merged commit b373cf9 into main Oct 7, 2026
2 of 3 checks passed
@gheorghelupu17
gheorghelupu17 deleted the issue-51-static-pages branch October 7, 2026 12:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

(Admin) Add all static pages and adjust their way of working

1 participant