dscnitrourkela / project-dates

Backend Repository | Avenue for NITR
https://dates-docs.web.app/
MIT License
12 stars 16 forks source link

Announcements Section #22

Open HarishTeens opened 3 years ago

HarishTeens commented 3 years ago

A dynamic view on the home page which has the announcements that could be set from somewhere. The data entry interface is not decided yet. But the client should be able to retrieve the announcements.

Schema Suggestion

{type: "TEXT",Data:"something"}

The type of field denotes the type of announcement. It could be an image, document or plain text.

DesignrKnight commented 3 years ago

Operations Mandatory

Operations Optional

DesignrKnight commented 3 years ago

image

Everything below event sections is rendered based on announcement API. But the order in the UI may change in future, individual component will be same

DesignrKnight commented 3 years ago

PERCENTAGE: Will determine the location on the component from left edge COLOUR: Will determine the value of colour/alpha at that location

Response should be similar to

{
"banner": [{
}],
"notices": [{
}]