Skip to content
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
2 changes: 1 addition & 1 deletion .meta/oss-pledge.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "Rector",
"description": "Rector is a PHP tool that you can run on any PHP project to get an instant upgrade or automated refactoring. It gives you safety and lightning speed, and helps you with PHP upgrades, framework upgrades, and improving your code quality. Rector is alive thanks to Open Source projects and the developers behind those projects.",
"urlSquareLogoWithBackground": "https://raw.githubusercontent.com/rectorphp/getrector-com/main/public/assets/images/new-logo/rector-square.svg",
"urlSquareLogoWithBackground": "https://raw.githubusercontent.com/rectorphp/getrector-com/main/public/assets/images/new-logo/rector-square.png",
"urlLearnMore": "http://getrector.com/blog/rector-is-joining-open-source-pledge",
"annualReports": [
{
Expand Down
Binary file added public/assets/images/new-logo/rector-square.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 2 additions & 3 deletions resources/views/_snippets/menu.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@

<div class="collapse navbar-collapse" id="navbarTogglerDemo01">
<ul class="navbar-nav me-auto text-start text-md-center">
<li class="nav-item me-0 me-md-5 mb-3 mb-md-0" id="top_right_logo">
<a href="{{ action(\App\Controller\HomepageController::class) }}">
<img src="/assets/images/logo/rector-white.svg" alt="">
<li class="nav-item me-0 me-md-3 mb-1 mb-md-0" id="top_right_logo"><a href="{{ action(\App\Controller\HomepageController::class) }}">
<img src="/assets/images/new-logo/rector-with-name-white.png" alt="">
</a>
</li>

Expand Down
2 changes: 1 addition & 1 deletion src/Enum/Design.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ final class Design
/**
* @var string
*/
public const SOCIAL_RECTOR_LOGO = 'https://getrector.com/assets/images/logo/rector/rector-no_frame_vector_for_circles.png';
public const SOCIAL_RECTOR_LOGO = 'https://getrector.com/assets/images/new-logo/rector-square.png';
}
2 changes: 1 addition & 1 deletion src/Thumbnail/ThumbnailGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function createFont(string $fontFilePath, string $color, int $fontSize):

public function addRectorLogo(ImageInterface $image): void
{
$rectorLogoImage = $this->imagine->open(__DIR__ . '/../../public/assets/images/logo/rector.png');
$rectorLogoImage = $this->imagine->open(__DIR__ . '/../../public/assets/images/new-logo/rector-square.png');
$rectorLogoImage->resize(new Box(716 * .75, 175 * .75));

$image->paste($rectorLogoImage, new Point(1400, 100));
Expand Down
Loading