diff options
author | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-29 01:03:58 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2014-12-29 11:30:04 +0100 |
commit | 8e06a607c887664ed5fc0f4e5d77d5cc50413e53 (patch) | |
tree | df0539eca38525773e8713af798de83274f500a4 | |
parent | 52432a3fc02e39848f848808524cb9dee055b117 (diff) | |
download | aur-8e06a607c887664ed5fc0f4e5d77d5cc50413e53.tar.gz aur-8e06a607c887664ed5fc0f4e5d77d5cc50413e53.tar.xz |
Use a custom logo
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@cryptocrack.de>
-rw-r--r-- | web/html/css/archnavbar/aurlogo.png | bin | 0 -> 5997 bytes | |||
-rw-r--r-- | web/html/css/aur.css | 4 | ||||
-rw-r--r-- | web/html/css/cgit.css | 4 | ||||
-rw-r--r-- | web/html/index.php | 1 | ||||
-rw-r--r-- | web/template/cgit/header.html | 2 | ||||
-rw-r--r-- | web/template/header.php | 2 |
6 files changed, 11 insertions, 2 deletions
diff --git a/web/html/css/archnavbar/aurlogo.png b/web/html/css/archnavbar/aurlogo.png Binary files differnew file mode 100644 index 00000000..69110d8e --- /dev/null +++ b/web/html/css/archnavbar/aurlogo.png diff --git a/web/html/css/aur.css b/web/html/css/aur.css index 654116a3..dfa6717e 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 865a0046..fde94c8d 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 cc6a84cf..9c321fa4 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 0605ac26..0217f2fd 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 a4958f5f..8a1494c1 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> |