-
Notifications
You must be signed in to change notification settings - Fork 135
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add hosted footer functionality #162
Conversation
SariSaar
commented
May 15, 2023
- Create FooterContainer
- Add new section for footer
- Add new blocks for footer and social media link
- Add new primitives for SocialMediaLink and Text
- Replace old Footer component with dynamic FooterContainer
- Remove hard-coded Footer component
- Add code splitting to default content page PageBuilder imports
and restrict editing if both listingType and unitType do not match
src/containers/LandingPage/__snapshots__/LandingPage.test.js.snap
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/BlockBuilder/BlockSocialMediaLink/BlockSocialMediaLink.js
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.js
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.js
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.js
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.module.css
Outdated
Show resolved
Hide resolved
} | ||
|
||
.linkList { | ||
list-style-type: none; |
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.
Add something about Footer to SectionBuilder/README.md
There are some special rules like this one. I.e. "list-item" doesn't look like a default bullet point list, because the expected use case is to create a list of links with that particular markdown syntax.
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.
Have you tested other markdown syntax in the footer - does it look OK?
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 tested markdown syntax in the footer, and bolding, italics and block quotes work. Heading levels work apart from font size, i.e. headings get bolding and added margin but stay the same size.
How detailed should the README.md explanation be on SectionFooter?
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.module.css
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.module.css
Outdated
Show resolved
Hide resolved
src/containers/PageBuilder/SectionBuilder/SectionFooter/SectionFooter.module.css
Outdated
Show resolved
Hide resolved
Cherry-picked comments to a new PR #163 |