dmytroshved's avatar

Dynamic home page

Hello, I'm having trouble organizing and choosing an approach for implementing a dynamic homepage on my website with recipes, and I'd like to get your advice.

Problem description

I need to achieve this:

  1. Avoid a "static" homepage so it doesn't look dead.
  2. Showing user recipes, but there is some nuances:
    • poor quality photos
    • irrelevant proportions (by format)
    • inability to dynamically control appearance

What sections do I have on the page?

My project has several sections that look identical but differ in their set of recipes.

  • Popular Recipes
  • Latest Recipes
  • Meat dishes
  • ...

How other sites handles their pages?

To further clarify my question, I'd like to know how other websites manage their pages. It would be strange if the source code had to be changed every time a new section was created.

Does the admin panel manage the pages? (Filament)

If the page changes, then this behavior should be specified somewhere. If the control comes from the admin panel, how can you achieve that the admin panel controls the view of the website's homepage? My choice is Filament as the admin panel.

I hope everything is clear and you haven't gotten bored reading this post.

I would appreciate your advice, thank you.

0 likes
6 replies
srushti_kansagara's avatar

so you are putting users recipes or users are putting recipes themselves ?

Snapey's avatar

Not sure why there is doubt? If you feel that quality could suffer, you could implement admin approval or based on a number of likes.

One of my sites has a mixture of static and dynamic elements. The site itself mostly decides what should appear on the home page. See https://speakernet.co.uk

  • Static Image
  • Static text
  • 'latest' user submissions (automatic)
  • call to action
  • latest sponsors (automatic)
  • call to action
  • kind words

Latest Sponsors is based on donations. One issue I have here is that not everyone submits their image.

The 'kind words' section is a randomised collection of reviews. I add these to the database through a crud page on the backend.

Only the static elements are placed there by code.

1 like
martinbean's avatar

@dmytro_shved Sites like you’ve described will have a way to “group” items into collections, and then some sort of content management system that allows them to pick and order which collections are presented on the home page.

I do something similar for a video on demand platform. The home page has a “most recent videos” section, but then I can also collate videos into curated collections, and select and order which collections then appear on the home page. It means I can feature videos based on current events.

1 like

Please or to participate in this conversation.