You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Proposal
There is a need to display videos in the Hero given a url for the video source. The video would be located in the same place as the Hero.Image and follow the same positioning logic. A Hero could only have an image or a video. If a Hero is given both, the Hero.Image would take priority.
Possible Solution
Create a Hero.Video component that has videoSrc as a parameter. The Hero.Video would be placed in the same Grid.Column as the Hero.Image so that it would adhere to the imagePosition logic.
Only render the Hero.Video if there is no Hero.Image component.
Example Video in Hero
The text was updated successfully, but these errors were encountered:
Proposal
There is a need to display videos in the
Hero
given a url for the video source. The video would be located in the same place as theHero.Image
and follow the same positioning logic. A Hero could only have an image or a video. If a Hero is given both, theHero.Image
would take priority.Possible Solution
Create a
Hero.Video
component that hasvideoSrc
as a parameter. TheHero.Video
would be placed in the sameGrid.Column
as theHero.Image
so that it would adhere to theimagePosition
logic.Only render the
Hero.Video
if there is noHero.Image
component.Example Video in Hero
The text was updated successfully, but these errors were encountered: