forked from weavejester/clojure-toolbox.com
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html.erb
86 lines (83 loc) · 3.2 KB
/
index.html.erb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<!DOCTYPE html>
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if IE 9 ]> <html lang="en" class="no-js ie9"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!-->
<html class="no-js" lang="en">
<!--<![endif]-->
<head>
<meta charset="utf-8">
<meta content="IE=edge,chrome=1" http-equiv="X-UA-Compatible">
<title>The Clojure Toolbox</title>
<meta content="A categorised directory of libraries and tools for Clojure"
name="description">
<meta content="James Reeves" name="author">
<meta content="width=device-width, initial-scale=1.0" name="viewport">
<link rel="shortcut icon" href="/favicon.png">
<link href="//fonts.googleapis.com/css?family=Lato" rel="stylesheet">
<link href="css/style.css?v=1" media="all" rel="stylesheet">
<script src="js/modernizr.min.js"></script>
</head>
<body>
<div id="container">
<header>
<div class="toolbox"></div>
<div class="inner">
<h1>The Clo<span id="j">j</span>ure Toolbox</h1>
<div class="description">
A categorised directory of libraries and tools for Clojure
</div>
</div>
</header>
<div id="search">
<input type="search" id="search-query" placeholder="Search projects">
</div>
<div id="main">
<div id="project-list">
<% @categories.sort_by { |c, ps| c.downcase }.each do |category, projects| %>
<div class="category">
<h2><%= category %></h2>
<ul>
<% projects.each do |project| %>
<li data-search="<%= category.downcase %>
<%= project['name'].downcase %>
<%= project['platforms'].join(' ') %>">
<a href="<%= project['url'] %>"><%= project['name'] %></a>
<% project['platforms'].each do |platform| %>
<span class="platform <%= platform %>"><%= platform %></span>
<% end %>
</li>
<% end %>
</ul>
</div>
<% end %>
</div>
</div>
<footer>
<div id="copyright">
<span>
The Clojure Toolbox is © 2018
<a href="http://weavejester.com">James Reeves</a>
</span>
<span>
Toolbox icon by <a href="http://www.artua.com/freeicons">artua</a>
</span>
<span>
Library suggestions can be submitted
<a href="https://github.com/weavejester/clojure-toolbox.com">the
project page</a>
</span>
</div>
</footer>
</div>
<script src="//ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js"></script>
<script>!window.jQuery && document.write(unescape('%3Cscript src="js/jquery-1.11.3.min.js"%3E%3C/script%3E'))</script>
<script src="js/jquery.masonry.min.js"></script>
<script src="js/main.js"></script>
<!--[if lt IE 7 ]>
<script src="js/libs/dd_belatedpng.js"></script>
<script>DD_belatedPNG.fix('img, .png_bg');</script>
<![endif]-->
</body>
</html>