-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
117 lines (103 loc) · 6.35 KB
/
index.html
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
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Slow Monstrosity - Unapologetic slow</title>
<!-- Bootstrap -->
<link href="css/bootstrap.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="css/main.css">
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body>
<nav class="navbar navbar-inverse navbar-fixed-top" role="navigation">
<div class="container">
<div class="navbar-header">
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">Slow Monstrosity</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li class="active"><a href="#what-is-this">What is this?</a></li>
<li><a href="#tech-used">Technologies</a></li>
<li><a href="#now-what">Now What</a></li>
<li><a href="#data">Some Data</a></li>
</ul>
</div><!--/.nav-collapse -->
</div>
</nav>
<div class="container">
<div class="starter-template">
<section class="sec-panel" id="what-is-this">
<img id="bannerImg" src="images/PE-HD.gif">
<h1>What is this site?</h1>
<p>This is a static website made by <a href="http://www.georgestefanis.com">me</a> as a test subject for improvement performance on the web
and applying other best practices. The idea came after watching a couple of videos from <a href="http://jsconf.eu">JSConfEU 2014</a>
by <a href="http://addyosmani.com/blog/">Addy Osmani</a> and <a href="http://www.patrickhamann.com/">Patrick Hamann</a> talking about
performance improvement tooling and performance improvement best practices (mostly for CSS by Patrick Hamann).</p>
<p>After getting all excited about all the new tools and the best practices i wanted to test those things on a website. Even though
the web is full of slow websites, having access to the full source code of it is not a simple thing. So what i did was create this site instead.
Here i'm trying to make this site as slow as possible by applying as many anti-patterns as possible. The target is to get a very low score on
<a href="https://developers.google.com/speed/pagespeed/insights/">Google pagespeed insights</a> and in tools like <a href="http://yslow.org/">yslow</a>.</p>
</section>
<section class="sec-panel" id="tech-used">
<h1>Technologies Used</h1>
<p>When slow websites come in mind i always think of bloated frameworks used wrong and big libraries like Jquery. So in order to make this website slow and bloated i'll be using: </p>
<ul>
<li><a href="http://getbootstrap.com/">Bootstrap</a></li>
<li><a href="http://jquery.com/download/">JQuery</a></li>
<li><a href="http://jqueryui.com/">JQuery UI</a></li>
</ul>
<p> and we'll be calling some APIs as well to simulate a more real world application. All of the above frameworks are used with any optimasation whatsoever. It's the full flavored frameworks. You know what to do! ;) </p>
</section>
<section class="sec-panel" id="now-what">
<h1>Now What?</h1>
<p> Now you should be diving in and try to improve the performance of this website. You can find the source code at <a href="https://github.com/skywritergr/slow-monstrosity/">Github.</a> Also I'd advice you to watch the videos i linked above and also get familiar with performance improving tools like Google pagespeed, YSlow or anything that you believe will help you to improve the performance.</p>
<p>Also this website has some responsive design elements in it, but it can certainly be improved. Google now uses a mobile friendly ranking to display the results on their search so i'd expect that you'll want to work on that as well. After you're done with improving feel free to <a href="https://twitter.com/stefanisg">send me a tweet</a> on Twitter with how much you improved that website and a link with your code!</p>
<h3>Have fun!!</h4>
</section>
<section class="sec-panel" id="data">
<h1>Some Unemployment Data</h1>
<p>These are 2013 Unemployment Data that you can find from <a href="https://cohesiondata.ec.europa.eu/">European Commition.</a> Also the <a href="http://socrata.com/">Socrata open API</a> project is a very cool resource to find all sorts of open data. Check it out!
<table class="table" id="depressingTable">
<thead>
<tr>
<th>Index</th>
<th>Id</th>
<th>Region Name</th>
<th>Unemployment</th>
</tr>
</thead>
</table>
</section>
<div id="imageDiv">
<h4>Services on the web that i use</h4>
<img src="images/digitalocean.png">
<img src="images/DuckDuckGo.png">
<img src="images/Firefox.png">
<img src="images/github.png">
<img src="images/google.png">
<img src="images/paypal.jpg">
<img src="images/soundcloud.png">
</div>
</div>
</div>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="bower_components/jquery/dist/jquery.js"></script>
<script type="text/javascript" src="bower_components/jqueryui/jquery-ui.js"></script>
<!-- Include all compiled plugins (below), or include individual files as needed -->
<script src="js/bootstrap.js"></script>
<script type="text/javascript" src="js/main.js"></script>
</body>
</html>