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
Footer Section Revamp #2439
base: homepage-revamp
Are you sure you want to change the base?
Footer Section Revamp #2439
Conversation
8c4e061
to
ca7ac25
Compare
ca7ac25
to
8c4e061
Compare
50e0a90
to
cf40265
Compare
4324258
to
1b61d89
Compare
32c8e4b
to
be575b5
Compare
@brainzbot retest please |
be575b5
to
2ac5ae2
Compare
@brainzbot retest please |
e2de953
to
0532889
Compare
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.
Just to give some general feedback unrelated to my comments below: I think the font size of the footer is a few notches too big. :) Especially for something that will appear on every page. But let's hear what @reosarevok and @yvanzo think!
root/layout/components/Footer.js
Outdated
<span className="fs-4"> | ||
{l('Development IRC: ')} | ||
</span> | ||
<a | ||
className="fw-bold fs-4" | ||
href="https://kiwiirc.com/nextclient/irc.libera.chat/?#metabrainz" | ||
rel="noopener noreferrer" | ||
target="_blank" | ||
> | ||
{l('#metabrainz')} | ||
</a> |
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.
#musicbrainz
is the more general channel for the project, though I think it makes sense to just link to our IRC documentation, as the existing footer does, since that lists all of our channels and has other useful information. That would also allow people use their own IRC client.
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.
Right, added both the IRC channels and tweaked the UI a bit!
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.
Thanks, but that wasn't my suggestion. :) By "link to our IRC documentation, as the existing footer does," I meant https://musicbrainz.org/doc/Communication/IRC. This contains useful information and lets people connect with their own client. If I was looking to join a project's IRC channel, I wouldn't want a direct link to some web client: I'd want to read about what the purpose of each channel is first, and then connect with my own client.
root/layout/components/Footer.js
Outdated
<a | ||
className="fw-bold fs-4" | ||
href="mailto:support@metabrainz.org" | ||
> | ||
{l('support@metabrainz.org')} | ||
</a> |
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.
Similarly, we probably just want a contact link to https://metabrainz.org/contact
so that people read that before contacting us? @reosarevok would have more relevant input than me since he deals with support.
root/layout/components/Footer.js
Outdated
<div className="row mt-4"> | ||
<div className="col-md-3 border-top pt-4 d-none d-md-block fs-4"> | ||
<p> | ||
{l('OSS Geek? ')} |
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 noticed there are several strings with errant trailing whitespace (please search for them in your editor).
{l('OSS Geek? ')} | |
{l('OSS Geek?')} |
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.
Right!
root/layout/components/Footer.js
Outdated
true, | ||
)} | ||
</button> | ||
<ul aria-labelledby="languageDropdown" className="dropdown-menu"> |
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.
We use kebab-case for class names and identifiers.
<ul aria-labelledby="languageDropdown" className="dropdown-menu"> | |
<ul aria-labelledby="language-dropdown" className="dropdown-menu"> |
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.
RIght!
root/layout/components/Footer.js
Outdated
{l('Brought to you by')} | ||
<div className="image ms-1 me-1"> | ||
<img | ||
alt="MetaBrainz" | ||
height="24" | ||
src="../../static/images/meb-icons/MetaBrainz.svg" | ||
width="24" | ||
/> | ||
</div> | ||
<span> | ||
{l('MetaBrainz Foundation')} | ||
</span> |
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.
"Brought to you by MetaBrainz Foundation" should be one string; can we maybe inject a <span />
into the string and display the image with CSS instead?
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.
Fixed
root/layout/index.js
Outdated
<div className="bs"> | ||
<Footer /> | ||
</div> |
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.
It seems like we can add the bs
class inside Footer
and not have to wrap it in a div.
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.
Done
root/layout/components/Footer.js
Outdated
</div> | ||
<div className="col-sm-12 col-md-2"> | ||
<h3 className="fs-2 fw-bold color-black"> | ||
{l('Join Us')} |
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 wonder if this shouldn't come before "Fellow Projects," because this is more relevant to MusicBrainz.
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 have moved the Join Us column before fellow projects and shifted the Useful Links column to the last which solves this problem!
005e452
to
e78162e
Compare
ee25bf7
to
e9e5142
Compare
@brainzbot retest please |
b988ab9
to
94bd2a8
Compare
metabrainz/musicbrainz-server#2439 is copying a bunch of logo assets into musicbrainz-server, but I think they should just be published with design-system. I imagine other projects will find them useful too. I've left brand/icons/ npmignored for now until we have a use for it, and brand/logos/development/ too, which is only useful for development and historical purposes.
94bd2a8
to
76415c8
Compare
@brainzbot retest please |
@brainzbot please retest this. |
@brainzbot, retest this please |
de35777
to
ce5011f
Compare
ef8d841
to
75b1959
Compare
ebf8a37
to
cf62bc1
Compare
Co-authored-by: mwiencek
- Created a file with the raw input data used to build the footer - Most parts of the footer were moved to their own components
- Row-cols is used to define the layout on different breakpoints - Added margins on breakpoints < xl - Fixed margins in first block
- Added text about MusicBrainz - Change channel's list line-height - Added gray style - Removed <bold> from links
cf62bc1
to
4ac36d5
Compare
4ac36d5
to
940c74e
Compare
The Footer is a consistent layout present in all our pages hence it should make sure to highlight our fellow projects and important links.