[aur-dev] [PATCH 1/3] Use a custom logo
Lukas Fleischer
archlinux at cryptocrack.de
Mon Dec 29 12:24:20 UTC 2014
Currently, the AUR sites are hard to distinguish from the official
website, especially when browsing Git repositories in cgit. Add "user
repository" to the logo to make it distinguishable from the official
site.
In order to avoid confusion, also change the link in the logo to the AUR
home page instead of the main Arch Linux website.
Signed-off-by: Lukas Fleischer <archlinux at cryptocrack.de>
---
web/html/css/archnavbar/aurlogo.png | Bin 0 -> 5997 bytes
web/html/css/aur.css | 4 ++++
web/html/css/cgit.css | 4 ++++
web/html/index.php | 1 +
web/template/cgit/header.html | 2 +-
web/template/header.php | 2 +-
6 files changed, 11 insertions(+), 2 deletions(-)
create mode 100644 web/html/css/archnavbar/aurlogo.png
diff --git a/web/html/css/archnavbar/aurlogo.png b/web/html/css/archnavbar/aurlogo.png
new file mode 100644
index 0000000000000000000000000000000000000000..69110d8e31ac7f501df090eac841e97c164c7458
GIT binary patch
literal 5997
zcmWld1yEFN6owaAx<k4}KuYQE<`+ajK#;B#1QuynmTn{!X;@Ogm6DPcY3c5krI&8_
zuQzAz%$>R4J?A{<eNVKmjyf>`Jpl*=BG%MU(F5+Sz{!V)16=3lFeiZ<j`e@)Dj?y1
zdxX65Iq(D at s`17hcw_qCiJ`=u=>t5(_0ZH-#a$v|q>+9uvDnZ60#RRUswf)x%<Y@`
z8|xd at J!GeZ$*_Wx(NwzTA$iARCR8j22C$KMWSw#g(%8aha%oq5oUWpF+-+x?&UM%0
zyMC=<HZ}IX0n#Lkf=V5OCCC~H>7pUU at TJ6OOWbM<WKDv8NG8kQm-u!#fScuhJ|}&1
zJ2ltVaz4kvE+7ye5~}i;7_3URB4%W%5wWqwSNQnz)6NoQIzjiZM!4J<7#L)DV3P5Y
zEp(*RWK1Q~)a+X}gWz?HkT9JUk~%H9i6$Z;>)&`B92~4tQuME0y at Gmst2;XK94s^n
zOY~5t;;Ej-k{P77BRBGneohUNW?QAO@!S)DzanT>G*-OhvoI?qWZM!lNM3EPB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3C;q^YW-@?FU?<bQ)B
BqD=q*
literal 0
HcmV?d00001
diff --git a/web/html/css/aur.css b/web/html/css/aur.css
index 654116a..dfa6717 100644
--- a/web/html/css/aur.css
+++ b/web/html/css/aur.css
@@ -3,6 +3,10 @@
color: white !important;
}
+#archnavbarlogo {
+ background: url('archnavbar/aurlogo.png') !important;
+}
+
#lang_sub {
float: right;
}
diff --git a/web/html/css/cgit.css b/web/html/css/cgit.css
index 865a004..fde94c8 100644
--- a/web/html/css/cgit.css
+++ b/web/html/css/cgit.css
@@ -28,6 +28,10 @@
color: white !important;
}
+#archnavbarlogo {
+ background: url('archnavbar/aurlogo.png') !important;
+}
+
body {
padding: 0;
margin: 0;
diff --git a/web/html/index.php b/web/html/index.php
index cc6a84c..9c321fa 100644
--- a/web/html/index.php
+++ b/web/html/index.php
@@ -152,6 +152,7 @@ if (!empty($tokens[1]) && '/' . $tokens[1] == get_pkg_route()) {
readfile("./$path");
break;
case "/css/archnavbar/archlogo.png":
+ case "/css/archnavbar/aurlogo.png":
case "/images/AUR-logo-80.png":
case "/images/AUR-logo.png":
case "/images/favicon.ico":
diff --git a/web/template/cgit/header.html b/web/template/cgit/header.html
index 0605ac2..0217f2f 100644
--- a/web/template/cgit/header.html
+++ b/web/template/cgit/header.html
@@ -1,5 +1,5 @@
<div id="archnavbar" class="anb-aur">
- <div id="archnavbarlogo"><h1><a href="https://www.archlinux.org/" title="Return to the main page">Arch Linux</a></h1></div>
+ <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux User Repository</a></h1></div>
<div id="archnavbarmenu">
<ul id="archnavbarlist">
<li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li>
diff --git a/web/template/header.php b/web/template/header.php
index a4958f5..8a1494c 100644
--- a/web/template/header.php
+++ b/web/template/header.php
@@ -16,7 +16,7 @@
</head>
<body>
<div id="archnavbar" class="anb-aur">
- <div id="archnavbarlogo"><h1><a href="https://www.archlinux.org/" title="Return to the main page">Arch Linux</a></h1></div>
+ <div id="archnavbarlogo"><h1><a href="/" title="Return to the main page">Arch Linux User Repository</a></h1></div>
<div id="archnavbarmenu">
<ul id="archnavbarlist">
<li id="anb-home"><a href="https://www.archlinux.org/" title="Arch news, packages, projects and more">Home</a></li>
--
2.2.1
More information about the aur-dev
mailing list