-
Notifications
You must be signed in to change notification settings - Fork 38
DX-2790 Update Landing Page #718
Conversation
* e911, edgemanagement, sipauthentication settings api spec (#701) Co-authored-by: ichesnov <ichesnov@cybervisiontech.com> * DX-2816 Updates to Voice About Page * workflow * branch * remove workflow change * Update hangup.mdx (#707) Fix a broken hyperlink * add stream panel * workflow * remove branch Co-authored-by: Ivan Chesnov <xxxlaykxxx@gmail.com> Co-authored-by: ichesnov <ichesnov@cybervisiontech.com> Co-authored-by: AJ Rice <53190766+ajrice6713@users.noreply.github.com>
site/src/components/Carousel.js
Outdated
width: `${itemContentWidth}px`, | ||
height: `${itemContentWidth * .51}px`, | ||
backgroundImage: `url(${imageUrl})`, | ||
backgroundSize: `cover`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not super well versed on CSS here- it seems that the returned tags below use both a CSS class and a style. I would assume this is so we can have dynamic aspects of our style determined in JS to apply to our components. If this is the case, should these static values be moved out to the static CSS classes?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
These static values can be moved to a static css class, but for the image div, I didn't define a class so this style object is the only thing affecting the div. I can pull these out into a static class though.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
that's a lie I do have a class for these 🤡
No description provided.