Skip to content

Commit 6b6ddf4

Browse files
committed
Added image maps so that clicking on images gives the full size image or gif
1 parent e0b4edb commit 6b6ddf4

File tree

2 files changed

+25
-7
lines changed

2 files changed

+25
-7
lines changed

config.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ languages:
4545
- Name: "Documentation"
4646
Weight: 3
4747
Identifier: "docs"
48-
URL: "https://doc.red-lang.org/"
48+
URL: "https://github.com/red/docs/blob/master/en/SUMMARY.adoc"
4949
- Name: "Blog"
5050
Weight: 4
5151
Identifier: "blog"

content/en/showcase/_index.md

+24-6
Original file line numberDiff line numberDiff line change
@@ -9,27 +9,45 @@ subtitle: |
99
<div class="grid">
1010
<a href="https://www.redlake-tech.com/products/diagrammar-for-windows/">
1111
<h3>DiaGrammar</h3>
12-
<img src="/images/showcase/diagrammar2.png" alt="DiaGrammar">
12+
<img src="/images/showcase/diagrammar2.png" alt="DiaGrammar" usemap="#image1">
13+
<map name="image1">
14+
<area href="/images/showcase/diagrammar2.png" coords="0,0,400,400" shape="rect">
15+
</map>
1316
</a>
1417
<a href="https://github.com/planetsizecpu/Cave-In">
1518
<h3>Cave-In</h3>
16-
<img class="animated-gif" src="/images/showcase/cave-in.gif" alt="Cave-In">
19+
<img src="/images/showcase/cave-in.gif" alt="Cave-In" usemap="#image2">
20+
<map name="image2">
21+
<area href="/images/showcase/cave-in.gif" coords="0,0,400,400" shape="rect">
22+
</map>
1723
</a>
1824
<a href="https://github.com/red/red/tree/master/tests/libRed">
1925
<h3>LibRed</h3>
20-
<img class="animated-gif" src="/images/showcase/pong.gif" alt="libRed">
26+
<img src="/images/showcase/pong.gif" alt="libRed" usemap="#image3">
27+
<map name="image3">
28+
<area href="/images/showcase/pong.gif" coords="0,0,400,400" shape="rect">
29+
</map>
2130
</a>
2231
<a href="https://github.com/red/code/blob/master/Scripts/mandelbrot-fast.red">
2332
<h3>Fast Mandelbrot</h3>
24-
<img class="animated-gif" src="/images/showcase/fast-mandel.gif" alt="red-codex">
33+
<img src="/images/showcase/fast-mandel.gif" alt="red-codex" usemap="#image4">
34+
<map name="image4">
35+
<area href="/images/showcase/fast-mandel.gif" coords="0,0,400,400" shape="rect">
36+
</map>
2537
</a>
2638
<a href="https://github.com/red/code/tree/master/Showcase/ballots">
2739
<h3>Ballots</h3>
28-
<img class="animated-gif" src="/images/showcase/ballots2.gif" alt="Ballots">
40+
<img src="/images/showcase/ballots2.gif" alt="Ballots" usemap="#image5">
41+
<map name="image5">
42+
<area href="/images/showcase/ballots2.gif" coords="0,0,400,400" shape="rect">
43+
</map>
2944
</a>
3045
<a href="https://github.com/GalenIvanov/Graphics-Red/blob/master/TruTiles.red">
3146
<h3>TruTiles</h3>
32-
<img class="animated-gif" src="/images/showcase/trutiles.gif" alt="TruTiles">
47+
<img src="/images/showcase/trutiles.gif" alt="TruTiles" usemap="#image6">
48+
<map name="image6">
49+
<area href="/images/showcase/trutiles.gif" coords="0,0,400,400" shape="rect">
50+
</map>
3351
</a>
3452
</div>
3553

0 commit comments

Comments
 (0)