Skip to content

Commit

Permalink
overhaul download page
Browse files Browse the repository at this point in the history
- replace tables with a list of divs
- link to ldc/gdc/VisualD release pages
  (instead of including outdated download links)
- remove any non-D related links
- use smaller/better OS logos

logo sources:

- http://commons.wikimedia.org/wiki/File:Apple_logo_black.svg
- http://commons.wikimedia.org/wiki/File:Windows_logo_-_2002%E2%80%932012_(Multicolored).svg
- http://design.ubuntu.com/wp-content/uploads/logo-ubuntu_cof-orange-hex.png
- https://www.debian.org/logos/openlogo-nd.svg
- http://commons.wikimedia.org/wiki/File:Fedora_logo.svg
- http://wiki.centos.org/ArtWork/MarketingMaterial?action=AttachFile&do=get&target=centos-official.svg
- https://www.freebsd.org/logo/logo-full.png
- http://gitorious.org/opensuse/art/blobs/master/00assets/logo/official-logo-geeko-color.svg

processing:

convert {}.svg -transparent white {}.png
convert centos.svg -transparent white -crop 74x74+3+3 images/centos_logo.png
convert opensuse.svg -transparent white -crop 360x275+70+50 images/opensuse_logo.png
convert images/freebsd_logo.png -crop 175x175+0+0 images/freebsd_logo.png

mogrify -depth 16 -filter lanczos -thumbnail 1000x40 -depth 8 images/*_logo.png
pngcrush images/logo_*.png
  • Loading branch information
MartinNowak committed Nov 24, 2014
1 parent 116f4de commit b4b092e
Show file tree
Hide file tree
Showing 22 changed files with 74 additions and 401 deletions.
453 changes: 63 additions & 390 deletions download.dd

Large diffs are not rendered by default.

Binary file added images/apple_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added images/centos_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/debian_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/fedora_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified images/freebsd_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/gentoo_logo.png
Binary file not shown.
Binary file removed images/linux_logo.png
Binary file not shown.
Binary file removed images/mac_logo.png
Binary file not shown.
Binary file modified images/opensuse_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/original/debian_logo.png
Binary file not shown.
Binary file removed images/original/fedora_logo.png
Binary file not shown.
Binary file removed images/original/freebsd_logo.png
Binary file not shown.
Binary file removed images/original/linux_logo.png
Binary file not shown.
Binary file removed images/original/mac_logo.png
Binary file not shown.
Binary file removed images/original/opensuse_logo.png
Binary file not shown.
Binary file removed images/original/ubuntu_logo.png
Binary file not shown.
Binary file removed images/original/win32_logo.png
Binary file not shown.
Binary file modified images/ubuntu_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed images/win32_logo.png
Binary file not shown.
Binary file added images/windows_logo.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 11 additions & 11 deletions posix.mak
Expand Up @@ -79,17 +79,17 @@ endif

DDOC=macros.ddoc doc.ddoc ${LATEST}.ddoc $(NODATETIME)

IMAGES=favicon.ico $(addprefix images/, c1.gif cpp1.gif d002.ico \
d3.png d4.gif d5.gif debian_logo.png dlogo.png dmlogo.gif \
dmlogo-smaller.gif download.png fedora_logo.png freebsd_logo.png \
gentoo_logo.png github-ribbon.png gradient-green.jpg gradient-red.jpg \
globe.gif linux_logo.png mac_logo.png opensuse_logo.png pen.gif \
search-left.gif search-bg.gif search-button.gif tdpl.jpg \
ubuntu_logo.png win32_logo.png) $(addprefix images/ddox/, alias.png \
class.png enum.png enummember.png function.png inherited.png \
interface.png module.png package.png private.png property.png \
protected.png struct.png template.png tree-item-closed.png \
tree-item-open.png variable.png)
IMAGES=favicon.ico $(addprefix images/, apple_logo.png c1.gif \
centos_logo.png cpp1.gif d002.ico d3.png d4.gif d5.gif \
debian_logo.png dlogo.png dmlogo.gif dmlogo-smaller.gif download.png \
fedora_logo.png freebsd_logo.png github-ribbon.png gradient-green.jpg \
gradient-red.jpg globe.gif opensuse_logo.png pen.gif search-left.gif \
search-bg.gif search-button.gif tdpl.jpg ubuntu_logo.png \
windows_logo.png) $(addprefix images/ddox/, alias.png class.png \
enum.png enummember.png function.png inherited.png interface.png \
module.png package.png private.png property.png protected.png \
struct.png template.png tree-item-closed.png tree-item-open.png \
variable.png)

JAVASCRIPT=$(addprefix js/, codemirror-compressed.js run.js \
run-main-website.js ddox.js)
Expand Down

0 comments on commit b4b092e

Please sign in to comment.