Skip to content

Commit

Permalink
Include in-page logos
Browse files Browse the repository at this point in the history
  • Loading branch information
lmrodriguezr committed Aug 14, 2023
1 parent 94ec4e8 commit 2970347
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 8 deletions.
Binary file added app/assets/images/logo-full.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/logo-full.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions app/assets/images/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 5 additions & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,11 @@
<nav class="navbar navbar-expand-lg navbar-dark bg-vdark-ce">
<div class="container-fluid d-flex flex-row">
<div class="navbar-brand p-0 m-0">
<%= link_to('SeqCode Registry', root_url, class: 'navbar-brand') %>
<%= link_to(root_url, class: 'navbar-brand') do %>
<%= image_tag('logo.svg', size: 20, class: 'mr-1',
style: 'margin-bottom: 0.25rem;') %>
SeqCode Registry
<% end %>
</div>

<div class="navbar-text flex-fill text-left">
Expand Down
20 changes: 13 additions & 7 deletions app/views/page/about.html.erb
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
<% provide(:title, 'About') %>
<h1>About the SeqCode Registry</h1>
<hr/>
<div class="d-flex flex-row mb-4">
<div class="">
<h1>About the SeqCode Registry</h1>
<hr/>

<p class="lead">
The SeqCode Registry is the central repository for names of prokaryotes
proposed under the SeqCode
</p>
<p class="lead mb-1">
The SeqCode Registry is the central repository for names of prokaryotes
proposed under the SeqCode
</p>
</div>
<div class="col-3">
<%= image_tag('logo-full.svg', size: '180x80', class: 'my-3') %>
</div>
</div>

<br/><br/>
<h3>The Team Behind the SeqCode Registry</h3>
<ul>
<li>
Expand Down
3 changes: 3 additions & 0 deletions app/views/registers/_certification.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
<div class="col-6 text-center">
<b>DOI:</b> <%= @register.propose_doi %>
</div>
<div class="col-12" style="text-align:center; margin-top:2em;">
<%= image_tag(wicked_pdf_asset_base64 'logo-full.png') %>
</div>
</div>
</div>
<% end %>
Expand Down

0 comments on commit 2970347

Please sign in to comment.