Skip to content

Commit

Permalink
BeWelcome#264 feat: changing website logo for a white svg
Browse files Browse the repository at this point in the history
  • Loading branch information
zeuros committed Oct 24, 2022
1 parent e9c6ee2 commit 39ac80f
Show file tree
Hide file tree
Showing 18 changed files with 28 additions and 17 deletions.
2 changes: 1 addition & 1 deletion build/forums/templates/mail/mail_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div style="width: 580px;margin: 0;padding: 2em 0 2em 0; background-color: #ffffff; background: #ffffff url(<?php echo PVars::getObj('env')->baseuri; ?>/images/misc/email_bg.gif) top left repeat-y;">
<div>
<div style="padding: 5px 20px 5px 20px; margin: 10px;background-color: #f5f5f5;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5; text-align: right;">
<a href="<?php echo PVars::getObj('env')->baseuri; ?>"><img src="<?php echo PVars::getObj('env')->baseuri; ?>images/logo_index_top.png" alt="<?php echo PVars::getObj('env')->sitename; ?>" style="border:0"/></a>
<a href="<?php echo PVars::getObj('env')->baseuri; ?>"><img src="<?php echo PVars::getObj('env')->baseuri; ?>images/logo_index_top.svg" alt="<?php echo PVars::getObj('env')->sitename; ?>" style="border:0"/></a>
</div>
<div style="margin: 60px; background-color: #ffffff;">
<h2 style="font-size: 22px; padding-bottom: 20px"><?=$subject?></h2>
Expand Down
2 changes: 1 addition & 1 deletion build/signup/templates/mail/mail_html.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<div style="width: 580px;margin: 0;padding: 2em 0 2em 0; background-color: #ffffff; background: #ffffff url(<?php echo PVars::getObj('env')->baseuri; ?>/images/misc/email_bg.gif) top left repeat-y;">
<div>
<div style="padding: 5px 20px 5px 20px; margin: 10px;background-color: #f5f5f5;border-top: 1px solid #e5e5e5;border-bottom: 1px solid #e5e5e5; text-align: right;">
<a href="<?php echo PVars::getObj('env')->baseuri; ?>"><img src="<?php echo PVars::getObj('env')->baseuri; ?>images/logo_index_top.png" alt="<?php echo PVars::getObj('env')->sitename; ?>" style="border:0"/></a>
<a href="<?php echo PVars::getObj('env')->baseuri; ?>"><img src="<?php echo PVars::getObj('env')->baseuri; ?>images/logo_index_top.svg" alt="<?php echo PVars::getObj('env')->sitename; ?>" style="border:0"/></a>
</div>
<div style="margin: 60px; background-color: #ffffff;">
<h1 style="font-size: 30px; padding-bottom: 20px"><?=$message_title?></h1>
Expand Down
2 changes: 1 addition & 1 deletion maintenance/maintenance.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<body style="height:100%; width:100%; margin:0">
<div style="height:60px; width:100%; background-color:#f37000; color: white;">
<div style="width:60%; margin: 0 auto;">
<img src="../public/images/logo_index_top.png" style="padding-top:10px;">
<img src="../public/images/logo_index_top.svg" style="padding-top:10px;">
</div>
</div>
<div style="padding-top: 50px; width:60%; margin: 0 auto;">
Expand Down
11 changes: 11 additions & 0 deletions public/images/logo_index_top.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion roxlauncher/roxlauncher.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function launch(EnvironmentExplorer $env_explore)
<body style="width:100%; margin: 0; padding: 0; background: #f7f7f7 url(../images/bggrey.png) top left ">
<div style="background: #f37000; border-bottom: 1px solid white; height: 49px">
<div style="margin:0 auto; width:960px;">
<div style="margin:0 auto;"><img style="padding: 7px;" src="../images/logo_index_top.png" /></div>
<div style="margin:0 auto;"><img style="padding: 7px;" src="../images/logo_index_top.svg" /></div>
</div>
</div>
<div style="margin:0 auto; width:960px;"><h1>Well,</h1>
Expand Down
2 changes: 1 addition & 1 deletion src/Model/MemberModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ private function createStylesheetAndImageFolder(string $projectDir)
}

// Add the Bewelcome logo
$filesystem->copy($projectDir . '/public/images/logo_index_top.png', $this->tempDir . 'images/logo_index_top.png');
$filesystem->copy($projectDir . '/public/images/logo_index_top.svg', $this->tempDir . 'images/logo_index_top.svg');

// We also need to empty avatar image
$filesystem->copy($projectDir . '/public/images/empty_avatar.png', $this->tempDir . 'images/empty_avatar.png');
Expand Down
2 changes: 1 addition & 1 deletion templates/base-lite.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<body>
<nav class="navbar navbar-sticky-top navbar-expand-md navbar-dark bg-primary bordert-1 borderb-1">
<div class="container-lg">
<a class="navbar-brand mr-3 float-left" href="{{ url('homepage') }}"><img src="{{ asset('images/logo_index_top.png') }}" alt="BeWelcome"/></a>
<a class="navbar-brand mr-3 float-left" href="{{ url('homepage') }}"><img src="{{ asset('images/logo_index_top.svg') }}" alt="BeWelcome"/></a>
</div>
</nav>
<main role="main">
Expand Down
2 changes: 1 addition & 1 deletion templates/emails/email.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<row class="collapse">
<columns small="12" valign="middle">
<a href="{{ url('homepage') }}"><img
src="{{ email.image('@images/logo_index_top.png') }}"></a>
src="{{ email.image('@images/logo_index_top.svg') }}"></a>
</columns>
</row>
</container>
Expand Down
2 changes: 1 addition & 1 deletion templates/emails/email_no_greeting.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<row class="collapse">
<columns small="12" valign="middle">
<a href="{{ url('homepage') }}"><img
src="{{ email.image('@images/logo_index_top.png') }}"><</a>
src="{{ email.image('@images/logo_index_top.svg') }}"><</a>
</columns>
</row>
</container>
Expand Down
2 changes: 1 addition & 1 deletion templates/emails/newsletter.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<row class="collapse">
<columns small="12" valign="middle">
<a href="{{ url('homepage') }}"><img
src="{{ email.image('@images/logo_index_top.png') }}"></a>
src="{{ email.image('@images/logo_index_top.svg') }}"></a>
</columns>
</row>
</container>
Expand Down
2 changes: 1 addition & 1 deletion templates/emails/request.template.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<row class="collapse">
<columns small="12" valign="middle">
<a href="{{ url('homepage') }}"><img
src="{{ email.image('@images/logo_index_top.png') }}"><</a>
src="{{ email.image('@images/logo_index_top.svg') }}"><</a>
</columns>
</row>
</container>
Expand Down
2 changes: 1 addition & 1 deletion templates/error.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<nav class="navbar sticky-top navbar-expand-lg navbar-dark bg-primary bordert-1 borderb-1">
<div class="container-lg">
<a class="navbar-brand" href="{{ url('homepage') }}"><img
src="{{ asset('images/logo_index_top.png') }}"
src="{{ asset('images/logo_index_top.svg') }}"
alt="BeWelcome"/></a>
</div>
</nav>
Expand Down
2 changes: 1 addition & 1 deletion templates/loginbar.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<ul id="collapsing_menu" class="navbar navbar-nav">
<li class="nav-item">
<a id="brand_image" class="navbar-brand" href="{{ url('homepage') }}">
<img class="d-none d-lg-block" src="{{ asset('images/logo_index_top.png') }}" alt="BeWelcome"/>
<img class="d-none d-lg-block" src="{{ asset('images/logo_index_top.svg') }}" alt="BeWelcome"/>
<img class="pl-1 d-block d-lg-none" src="{{ asset('images/logo_no_text.png') }}" alt="BeWelcome"/>
</a>
</li>
Expand Down
Loading

0 comments on commit 39ac80f

Please sign in to comment.