From nobody Mon Jul 01 10:00:49 2024 X-Original-To: dev-commits-doc-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WCM4L20qrz5Q039 for ; Mon, 01 Jul 2024 10:00:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WCM4K7312z4D3l; Mon, 1 Jul 2024 10:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719828050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enl8B2QtL+bF37f5yHt695gtI63UvpmNpp/s2yuwfvs=; b=ydP/4wk+V1Xi23cNdVSeJ88A6gYq5vYNyyMvMhZxfPOPctS/PGDPWzdzUUXSPQkz9vlc5V p29ETQTr9fxS16sd2I3jsnQfLeNdDiK1TIFQB+vKbs+law+KfJXyouLyRxLv+vsI6mLK1w PWfudoqHeypToz4E6n07tbB+5MxX0KLrnvqbhpIOqOWrZyy+2NaTnGbmFS9025XxPCgDNp 9bLc+wFEKtTCOsV8FdHSKufiNvBDncpbnQe9yJ023u1es2dc6kagVTR9j6A9xIaHIjNnuH c9fOHWElE/GM4/ZKvmFoayeowtXxxV9io2BCIwppa6fH66bVumvQw0jKYaZ58w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1719828050; a=rsa-sha256; cv=none; b=v+FZZG6RC3jjCI2nGPs0C46fvegF5uCWYiOQzC9UZlkOAppV1R+BQ/ZkD4Li9RBGwjQo2p dL28oM+mNXA10T2K9W+/QFsWIBhvkkdVLJwVKN048KK3nqwIdDMgES7YGidO273yU+QGrk RDVHHMZJwcHb8l1awf55aRZyb19uzBA/FfYx/dYOjsLE7B+0THMxIiLKbla7Xtfa+r+3sF /LOFYdC7eCwKDBczNBqxK/aB1u5eY1X8M1DAtQ333GD3wh0Sfdczg+Iiu3zt5EswkkyhaH qnYnN8T4sQjY6vPD/vezIXmR1KVZ1FCeKoHMe6E1AluM94/2/9hioK6lSU0gRw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1719828050; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=enl8B2QtL+bF37f5yHt695gtI63UvpmNpp/s2yuwfvs=; b=eLHs00TiVGWj/MqWZa533BaJvT5B2mpOfUEeS39/CVf8rEOsVCsOCuT8Z+3Vi1bTzG90RV 1Vdxvf5MxtlSXQ5bII8Kz1FW76TCfCDWViWUBGjhhHLcVCqwWr+f6rPd7lqt0wPsxogyoC i+HDLtx6WEVRluLBsy7aeW8X7sKSoHVG7ieBXbBpeNwRheWVLnt73YvLii546Agi2q8k7h 8NcRJ9dJeasksN2mptQxNILfbPfUgei+bIsIRMobjzLtScJqPI0Mv/97X1Hi73+f+dW49I MGmjW8xoQXQ8+J7IYtZ6lNZYO/LqeXYxw27kfShscWFn4CPwcoChrkRuayesIg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WCM4K6fNXz10w9; Mon, 1 Jul 2024 10:00:49 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 461A0ndF049627; Mon, 1 Jul 2024 10:00:49 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 461A0nbg049624; Mon, 1 Jul 2024 10:00:49 GMT (envelope-from git) Date: Mon, 1 Jul 2024 10:00:49 GMT Message-Id: <202407011000.461A0nbg049624@gitrepo.freebsd.org> To: doc-committers@FreeBSD.org, dev-commits-doc-all@FreeBSD.org From: Mateusz Piotrowski <0mp@FreeBSD.org> Subject: git: f75ac66793 - main - website: Replace website's top banner with a higher-resolution version List-Id: Commit messages for all branches of the doc repository List-Archive: https://lists.freebsd.org/archives/dev-commits-doc-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-doc-all@freebsd.org Sender: owner-dev-commits-doc-all@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: 0mp X-Git-Repository: doc X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f75ac667937e189ee2269ae9e52d5c266fc0d267 Auto-Submitted: auto-generated The branch main has been updated by 0mp: URL: https://cgit.FreeBSD.org/doc/commit/?id=f75ac667937e189ee2269ae9e52d5c266fc0d267 commit f75ac667937e189ee2269ae9e52d5c266fc0d267 Author: Janek Szynal AuthorDate: 2024-06-28 13:52:01 +0000 Commit: Mateusz Piotrowski <0mp@FreeBSD.org> CommitDate: 2024-07-01 09:59:40 +0000 website: Replace website's top banner with a higher-resolution version The current banner is visibly low resolution. I made the following graphical changes to the banner: - upscaled by 2x - overlayed a high-resolution version of the FreeBSD logo which I exported from the Illustrator source file (website/static/logo/logo-basic.ai) - removed "FreeBSD" typography in Photoshop and placed a high-resolution version in the same place (from logo-basic.ai as well) - created a new ® sign - applied a small patch of gradient to smooth out the line visible in the top left corner of the banner, where the image borders on the background of the rest of the navbar Sadly, I was not able to do the same for "The Power To Serve", since the .ai file does not contain it, and the font used for it is not available anywhere either. I therefore stayed with the original low-resolution version for that. I then made the following changes: - I included the new banner, removed the old one - I decided to rename it from logo-red.png to banner-red.png, since it's more accurate, and easier to test (replacing an image file without renaming it was often causing preview issues for me, i.e., the old image was often still displayed intend of the new one) - I changed all instances of the usage to use the new asset and added explicit height/width where necessary Reviewed by: bcr, 0mp Differential Revision: https://reviews.freebsd.org/D45782 --- website/content/en/cgi/cgi-style.pl | 2 +- website/content/en/layout/images/banner-red.png | Bin 0 -> 83930 bytes website/content/en/layout/images/logo-red.png | Bin 26193 -> 0 bytes .../themes/beastie/layouts/partials/site-header.html | 2 +- website/themes/beastie/static/images/banner-red.png | Bin 0 -> 83930 bytes website/themes/beastie/static/images/logo-red.png | Bin 26193 -> 0 bytes 6 files changed, 2 insertions(+), 2 deletions(-) diff --git a/website/content/en/cgi/cgi-style.pl b/website/content/en/cgi/cgi-style.pl index 06932fa80f..8708ced120 100644 --- a/website/content/en/cgi/cgi-style.pl +++ b/website/content/en/cgi/cgi-style.pl @@ -56,7 +56,7 @@ $i_topbar = qq`
FreeBSD
diff --git a/website/content/en/layout/images/banner-red.png b/website/content/en/layout/images/banner-red.png new file mode 100644 index 0000000000..59e3875a9b Binary files /dev/null and b/website/content/en/layout/images/banner-red.png differ diff --git a/website/content/en/layout/images/logo-red.png b/website/content/en/layout/images/logo-red.png deleted file mode 100644 index fd00ed52e8..0000000000 Binary files a/website/content/en/layout/images/logo-red.png and /dev/null differ diff --git a/website/themes/beastie/layouts/partials/site-header.html b/website/themes/beastie/layouts/partials/site-header.html index 2f7109049a..4edba1e8be 100755 --- a/website/themes/beastie/layouts/partials/site-header.html +++ b/website/themes/beastie/layouts/partials/site-header.html @@ -1,7 +1,7 @@
diff --git a/website/themes/beastie/static/images/banner-red.png b/website/themes/beastie/static/images/banner-red.png new file mode 100644 index 0000000000..59e3875a9b Binary files /dev/null and b/website/themes/beastie/static/images/banner-red.png differ diff --git a/website/themes/beastie/static/images/logo-red.png b/website/themes/beastie/static/images/logo-red.png deleted file mode 100644 index fd00ed52e8..0000000000 Binary files a/website/themes/beastie/static/images/logo-red.png and /dev/null differ