Skip to content
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

MEB-143: Update projects page v2 #452

Merged
merged 4 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions frontend/css/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ h1.page-title, h2.page-title {
}

// Projects page
#projects {
#projects-list > div {
.projects {
.projects-list > div {
padding: 10px;
.clearfix;
.logo-container {
Expand Down
49 changes: 29 additions & 20 deletions metabrainz/templates/index/projects.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

{% block content %}
<h1 class="page-title">{{ _('MetaBrainz Projects') }}</h1>
<div id="projects">
<div class="projects">

<div id="projects-list" class="row">
<div class="projects-list row">
<div class="col-md-6">
<div class="logo-container">
<a href="https://musicbrainz.org/">
Expand Down Expand Up @@ -68,23 +68,6 @@ <h1 class="page-title">{{ _('MetaBrainz Projects') }}</h1>
</div>
</div>

<div class="col-md-6">
<div class="logo-container">
<a href="https://acousticbrainz.org/">
<img src="{{ url_for('static', filename='img/projects/acousticbrainz.svg') }}" alt="AcousticBrainz logo">
</a>
</div>
<div>
<span class="title">{{ _('AcousticBrainz') }}</span>
<p>
{{ _('<a href="%(ab_url)s">AcousticBrainz</a> crowd sources acoustic information for all music in
the world and makes it available to the public. It is a joint effort with
<a href="%(mtg_url)s">Music Technology Group</a> at <a href="%(upf_url)s">Universitat Pompeu Fabra</a>
in Barcelona.', ab_url='https://acousticbrainz.org/', mtg_url='http://www.mtg.upf.edu/', upf_url='https://www.upf.edu/') }}
</p>
</div>
</div>

<div class="col-md-6">
<div class="logo-container">
<a href="https://bookbrainz.org/">
Expand Down Expand Up @@ -114,6 +97,30 @@ <h1 class="page-title">{{ _('MetaBrainz Projects') }}</h1>
</p>
</div>
</div>
</div>

</div>

<h2>{{ _('Past Projects') }}</h2>
<div class="projects">

<div class="projects-list row">
<div class="col-md-6">
<div class="logo-container">
<a href="https://acousticbrainz.org/">
<img src="{{ url_for('static', filename='img/projects/acousticbrainz.svg') }}" alt="AcousticBrainz logo">
</a>
</div>
<div>
<span class="title">{{ _('AcousticBrainz') }}</span>
<p>
{{ _('<a href="%(ab_url)s">AcousticBrainz</a> crowd sourced acoustic information for all music in
the world and made it available to the public. It was a joint effort with
<a href="%(mtg_url)s">Music Technology Group</a> at <a href="%(upf_url)s">Universitat Pompeu Fabra</a>
in Barcelona.', ab_url='https://acousticbrainz.org/', mtg_url='http://www.mtg.upf.edu/', upf_url='https://www.upf.edu/') }}
</p>
</div>
</div>

<div class="col-md-6">
<div class="logo-container">
Expand All @@ -125,11 +132,13 @@ <h1 class="page-title">{{ _('MetaBrainz Projects') }}</h1>
<span class="title">{{ _('MessyBrainz') }}</span>
<p>
{{ _('<a href="%(messybrainz_url)s">MessyBrainz</a> identifies unclean metadata, and where possible,
links it to stable MusicBrainz identifiers. MessyBrainz is currently being used for AcousticBrainz and ListenBrainz.', messybrainz_url='https://messybrainz.org/') }}
links it to stable MusicBrainz identifiers. MessyBrainz was used for AcousticBrainz and is still being
used in ListenBrainz.', messybrainz_url='https://messybrainz.org/') }}
</p>
</div>
</div>
</div>

</div>

{% endblock %}
Loading