Skip to content

Commit

Permalink
Integrate new logo and remove 'Home' text nav item (#1529)
Browse files Browse the repository at this point in the history
  • Loading branch information
GregKaleka authored Dec 9, 2024
1 parent 650a3f5 commit bd10f4c
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 70 deletions.
24 changes: 0 additions & 24 deletions static/img/Boost_Brandmark_BlackBoost_Transparent.svg

This file was deleted.

28 changes: 0 additions & 28 deletions static/img/Boost_Brandmark_WhiteBoost_Transparent.svg

This file was deleted.

14 changes: 13 additions & 1 deletion static/img/Boost_Symbol_Transparent.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: 3 additions & 3 deletions templates/admin/library_report_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@
<meta name="keywords" content="{% block keywords %}{% endblock %}" />
<meta name="author"
content="{% block author %}Boost C++ Libraries{% endblock %}" />
{# <link rel="shortcut icon"#}
{# href="{% static 'img/Boost_Symbol_Transparent.svg' %}"#}
{# type="image/x-icon" />#}
<link rel="shortcut icon"
href="{% static 'img/Boost_Symbol_Transparent.svg' %}"
type="image/x-icon" />
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap"
Expand Down
11 changes: 4 additions & 7 deletions templates/admin/library_report_full_detail.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,7 @@
<body class=" !bg-gray-900 !text-stone-white ">
<div>
<div class="pdf-page flex flex-col relative items-center justify-center bottom-1 border-gray-700 border-b-2 " style="background-image:url({% static 'img/code.jpg' %});background-position: left;background-size: cover;background-repeat: no-repeat;">
{# <h1 class="mx-auto flex items-center mb-6 mt-8"><img style="width:3rem; margin-right:1rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h1>#}
<h1 class="mx-auto flex items-center mb-6 mt-8">Boost</h1>
<h1 class="mx-auto flex items-center mb-6 mt-8"><img style="width:3rem; margin-right:1rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h1>
<div class="mx-auto">{{ commit_count|intcomma }} commits in all releases across all {{ library_count }} libraries</div>
<div class="flex flex-row items-center w-full justify-around grow">
<div class="flex flex-col grow mb-12 mt-6">
Expand Down Expand Up @@ -37,9 +36,8 @@ <h3 class="">Most Committed Libraries</h3>
</div>
<div class="pdf-page flex flex-col relative items-center justify-center bottom-1 border-gray-700 border-b-2" style="background-image:url({% static 'img/code.jpg' %});background-position: left;background-size: cover;background-repeat: no-repeat;">
<div class="absolute left-4 top-4 ">
{# <h3 class="text-white flex items-center m-0 p-0"><img style="width:1.3rem; margin-right:.5rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h3>#}
<h3 class="text-white flex items-center m-0 p-0">Boost</h3>
</div>
<h3 class="text-white flex items-center m-0 p-0"><img style="width:1.3rem; margin-right:.5rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h3>
</div>
<div class="flex flex-col mx-auto">
<h2 class="mx-auto mt-8 text-sky-400">Mailing List</h2>
<div class="mx-auto">There have been {{ mailinglist_total|intcomma }} Mailing List posts since the release of Version&nbsp;{{ first_version.display_name }}</div>
Expand Down Expand Up @@ -71,8 +69,7 @@ <h2 class="mx-auto mt-8 text-sky-400">Mailing List</h2>
{% for item in library_data %}
<div class="pdf-page relative flex flex-row items-center bottom-1 border-gray-700 border-b-2 justify-around" style="background-image:url({% static 'img/code.jpg' %});background-position: left;background-size: cover;background-repeat: no-repeat;">
<div class="absolute left-4 top-4 ">
{# <h3 class="text-white flex items-center m-0 p-0"><img style="width:1.3rem; margin-right:.5rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h3>#}
<h3 class="text-white flex items-center m-0 p-0">Boost</h3>
<h3 class="text-white flex items-center m-0 p-0"><img style="width:1.3rem; margin-right:.5rem;" src="{% static 'img/Boost_Symbol_Transparent.svg' %}">Boost</h3>
</div>

<div class="flex w-max flex-row items-center justify-around">
Expand Down
2 changes: 1 addition & 1 deletion templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<meta name="description" content="{% block description %}{% endblock %}" />
<meta name="keywords" content="{% block keywords %}{% endblock %}" />
<meta name="author" content="{% block author %}Boost C++ Libraries{% endblock %}" />
{# <link rel="shortcut icon" href="{% static 'img/Boost_Symbol_Transparent.svg' %}" type="image/x-icon" />#}
<link rel="shortcut icon" href="{% static 'img/Boost_Symbol_Transparent.svg' %}" type="image/x-icon" />

<meta class="meta-theme" name="theme-color" content="#FAFAFA" data-dark="#18181B" data-light="#FAFAFA" />
<meta class="meta-theme" name="color-scheme" content="light" data-dark="dark" data-light="light" />
Expand Down
10 changes: 4 additions & 6 deletions templates/includes/_header.html
Original file line number Diff line number Diff line change
Expand Up @@ -81,8 +81,8 @@
max-width: 9rem;
}
.header-menu-bar .logo-link {
width: 1.3rem;
height: 1.6rem;
width: 1.875rem;
height: 1.875rem;
}
.header-menu-bar .menu-link {
text-transform: capitalize;
Expand Down Expand Up @@ -373,13 +373,12 @@
<div class="header-menu-bar topnavbar">
<!-- mobile navbar -->
<div id="mobileNav" >
{# <a href="{% url 'home' %}" title="Boost Home" class="logo-link"><img style="width:1.3rem" src="{% static 'img/Boost_Symbol_Transparent.svg' %}" alt="Boost"></a>#}
<a href="{% url 'home' %}" title="Boost Home" class="logo-link"><img src="{% static 'img/Boost_Symbol_Transparent.svg' %}" alt="Boost"></a>
<div id="selectedpage" onclick="openNav()" class="">
<div id="pageName">{{ active_nav_item|title }}</div>
<div class="material-symbols-outlined">arrow_drop_down</div>
</div>
<div id="pageselector" onmouseleave="closeNav()" class="hide boost-drop-shadow" >
<div class="mobile-menu-item"><a href="{% url 'home' %}" title="Home">Home</a></div>
<div class="mobile-menu-item"><a href="{% url 'news' %}" title="News">News</a></div>
<div class="mobile-menu-item"><a href="{% url 'docs' %}" title="Learn">Learn</a></div>
<div class="mobile-menu-item"><a href="{% url 'community' %}" title="Community">Community</a></div>
Expand All @@ -389,8 +388,7 @@
</div>
<!-- desktop navbar -->
<div id="desktopNav" class="left-menubar">
{# <a href="{% url 'home' %}" title="Boost Home" class="logo-link"><img style="width:1.3rem" src="{% static 'img/Boost_Symbol_Transparent.svg' %}" alt="Boost"></a>#}
<a href="{% url 'home' %}" title="Boost Home" class="menu-link {% if active_nav_item == 'home' %}active-link{% endif %}">Home</a>
<a href="{% url 'home' %}" title="Boost Home" class="logo-link"><img src="{% static 'img/Boost_Symbol_Transparent.svg' %}" alt="Boost"></a>
<a href="{% url 'news' %}" id="news" class="menu-link {% if active_nav_item == 'news' %}active-link{% endif %}">news</a>
<a href="{% url 'docs' %}" id="learn" class="menu-link {% if active_nav_item == 'learn' %}active-link{% endif %}">learn</a>
<a href="{% url 'community' %}" id="community" class="menu-link {% if active_nav_item == 'community' %}active-link{% endif %}">community</a>
Expand Down

0 comments on commit bd10f4c

Please sign in to comment.