|
@@ -0,0 +1,183 @@
|
|
1
|
+
|
|
2
|
+<!DOCTYPE html>
|
|
3
|
+<!--[if lt IE 7]> <html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
|
|
4
|
+<!--[if IE 7]> <html class="no-js lt-ie9 lt-ie8"> <![endif]-->
|
|
5
|
+<!--[if IE 8]> <html class="no-js lt-ie9"> <![endif]-->
|
|
6
|
+<!--[if gt IE 8]><!--> <html class="no-js"> <!--<![endif]-->
|
|
7
|
+ <head>
|
|
8
|
+ <meta charset="utf-8">
|
|
9
|
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
10
|
+ <title>dato.pr</title>
|
|
11
|
+ <meta name="viewport" content="width=device-width, initial-scale=1">
|
|
12
|
+ <meta name="description" content="No" />
|
|
13
|
+
|
|
14
|
+ <!-- Facebook and Twitter integration -->
|
|
15
|
+ <meta property="og:title" content=""/>
|
|
16
|
+ <meta property="og:image" content=""/>
|
|
17
|
+ <meta property="og:url" content=""/>
|
|
18
|
+ <meta property="og:site_name" content=""/>
|
|
19
|
+ <meta property="og:description" content=""/>
|
|
20
|
+ <meta name="twitter:title" content="" />
|
|
21
|
+ <meta name="twitter:image" content="" />
|
|
22
|
+ <meta name="twitter:url" content="" />
|
|
23
|
+ <meta name="twitter:card" content="" />
|
|
24
|
+
|
|
25
|
+ <!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
|
|
26
|
+ <link rel="shortcut icon" href="favicon.ico">
|
|
27
|
+
|
|
28
|
+ <link href="https://fonts.googleapis.com/css?family=Inconsolata:400,700" rel="stylesheet">
|
|
29
|
+
|
|
30
|
+ <!-- Custom css -->
|
|
31
|
+ <link rel="stylesheet" href="css/main.css">
|
|
32
|
+
|
|
33
|
+ <!-- Animate.css -->
|
|
34
|
+ <link rel="stylesheet" href="css/animate.css">
|
|
35
|
+ <!-- Icomoon Icon Fonts-->
|
|
36
|
+ <link rel="stylesheet" href="css/icomoon.css">
|
|
37
|
+ <!-- Simple Line Icons -->
|
|
38
|
+ <link rel="stylesheet" href="css/simple-line-icons.css">
|
|
39
|
+ <!-- Bootstrap -->
|
|
40
|
+ <link rel="stylesheet" href="css/bootstrap.css">
|
|
41
|
+ <!-- Style -->
|
|
42
|
+ <link rel="stylesheet" href="css/style.css">
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+ <!-- Modernizr JS -->
|
|
46
|
+ <script src="js/modernizr-2.6.2.min.js"></script>
|
|
47
|
+ <!-- FOR IE9 below -->
|
|
48
|
+ <!--[if lt IE 9]>
|
|
49
|
+ <script src="js/respond.min.js"></script>
|
|
50
|
+ <![endif]-->
|
|
51
|
+
|
|
52
|
+ <!-- Custom JS -->
|
|
53
|
+ <script src="sortposts.js"></script>
|
|
54
|
+ <script src="fetch_articles.js"></script>
|
|
55
|
+
|
|
56
|
+ <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
57
|
+ <script>
|
|
58
|
+ var articles;
|
|
59
|
+ axios.get(`http://localhost:5000/articles`)
|
|
60
|
+ .then(response => {
|
|
61
|
+ articles = response.data;
|
|
62
|
+
|
|
63
|
+ for (element of articles) {
|
|
64
|
+ axios.get(`http://localhost:5000/articles/${element}`)
|
|
65
|
+ .then(response => {
|
|
66
|
+ let articlesHeading = document.querySelector("#articles-heading");
|
|
67
|
+ let articleElm = document.createElement("pre");
|
|
68
|
+ articleElm.textContent = response.data;
|
|
69
|
+ articlesHeading.appendChild(articleElm);
|
|
70
|
+ })
|
|
71
|
+ .catch(error => console.error(error));
|
|
72
|
+ }
|
|
73
|
+ })
|
|
74
|
+ .catch(error => console.error(error));
|
|
75
|
+
|
|
76
|
+ </script>
|
|
77
|
+ </head>
|
|
78
|
+ <body>
|
|
79
|
+ <header role="banner" id="fh5co-header">
|
|
80
|
+ <div class="fluid-container">
|
|
81
|
+ <nav class="navbar navbar-default navbar-fixed-top js-fullheight">
|
|
82
|
+ <div id="navbar" class="navbar-collapse js-fullheight">
|
|
83
|
+ <ul class="nav navbar-nav navbar-left">
|
|
84
|
+ <li class="active"><a href="#" data-nav-section="home"><span>Home</span></a></li>
|
|
85
|
+ <li><a href="#" data-nav-section="services"><span>Services</span></a></li>
|
|
86
|
+ </ul>
|
|
87
|
+ </div>
|
|
88
|
+ </nav>
|
|
89
|
+ </div>
|
|
90
|
+ </header>
|
|
91
|
+
|
|
92
|
+ <section id="fh5co-home" data-section="home" style="background-image: url(images/project-5.jpg);">
|
|
93
|
+ <div class="gradient"></div>
|
|
94
|
+ <div class="container">
|
|
95
|
+ <div class="text-wrap">
|
|
96
|
+ <div class="text-inner">
|
|
97
|
+ <div class="row">
|
|
98
|
+ <div class="col-md-8 col-md-offset-2 text-center">
|
|
99
|
+ <h1 style="color :white;" class="to-animate">dato.pr</h1>
|
|
100
|
+ <h2 style="color :white;" class="to-animate">"Estudiando lo ambiguo e investigando lo desconocido."</h2>
|
|
101
|
+ </div>
|
|
102
|
+ </div>
|
|
103
|
+ </div>
|
|
104
|
+ </div>
|
|
105
|
+ </div>
|
|
106
|
+ </section>
|
|
107
|
+
|
|
108
|
+ <section id="fh5co-services" data-section="services">
|
|
109
|
+ <div class="fh5co-services">
|
|
110
|
+ <div class="container">
|
|
111
|
+ <div class="row">
|
|
112
|
+ <div class="col-md-12 section-heading text-center">
|
|
113
|
+ <h2 class="to-animate">Home</h2>
|
|
114
|
+ <div class="row">
|
|
115
|
+ <div class="col-md-8 col-md-offset-2 subtext">
|
|
116
|
+ <h3 class="to-animate"> Hablando sobre lo que importa. </h3>
|
|
117
|
+ </div>
|
|
118
|
+ </div>
|
|
119
|
+ </div>
|
|
120
|
+ </div>
|
|
121
|
+ <div class="row">
|
|
122
|
+ <div class="core-features">
|
|
123
|
+ <div class="grid2">
|
|
124
|
+ <div id="rows-parent" class="core-f">
|
|
125
|
+ <div class="row" id="articles-row">
|
|
126
|
+ <div class="col-md-12">
|
|
127
|
+ <div class="core">
|
|
128
|
+ <i class="icon-columns to-animate-2"></i>
|
|
129
|
+ <div class="fh5co-post to-animate">
|
|
130
|
+ <!-- <h3 async onload="fetchArticle();">Articles</h3> -->
|
|
131
|
+ <h3 id="articles-heading">Articles</h3>
|
|
132
|
+ </div>
|
|
133
|
+ </div>
|
|
134
|
+ </div>
|
|
135
|
+ </div>
|
|
136
|
+ </div>
|
|
137
|
+ </div>
|
|
138
|
+ </div>
|
|
139
|
+ </div>
|
|
140
|
+ <div id="fh5co-counter-section" class="fh5co-counters">
|
|
141
|
+ <div class="container">
|
|
142
|
+ <div class="row to-animate">
|
|
143
|
+ <div class="col-md-3 text-center">
|
|
144
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="3452" data-speed="5000" data-refresh-interval="50"></span>
|
|
145
|
+ <span class="fh5co-counter-label">Tazas de Café Consumidas</span>
|
|
146
|
+ </div>
|
|
147
|
+ <div class="col-md-3 text-center">
|
|
148
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="234" data-speed="5000" data-refresh-interval="50"></span>
|
|
149
|
+ <span class="fh5co-counter-label">Días sin Luz</span>
|
|
150
|
+ </div>
|
|
151
|
+ <div class="col-md-3 text-center">
|
|
152
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="6542" data-speed="5000" data-refresh-interval="50"></span>
|
|
153
|
+ <span class="fh5co-counter-label">Cosas que Hacer</span>
|
|
154
|
+ </div>
|
|
155
|
+ <div class="col-md-3 text-center">
|
|
156
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="0" data-speed="5000" data-refresh-interval="50"></span>
|
|
157
|
+ <span class="fh5co-counter-label">Tiempo para perder</span>
|
|
158
|
+ </div>
|
|
159
|
+ </div>
|
|
160
|
+ </div>
|
|
161
|
+ </div>
|
|
162
|
+ </div>
|
|
163
|
+ </div>
|
|
164
|
+ </section>
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+ <!-- jQuery -->
|
|
168
|
+ <script src="js/jquery.min.js"></script>
|
|
169
|
+ <!-- jQuery Easing -->
|
|
170
|
+ <script src="js/jquery.easing.1.3.js"></script>
|
|
171
|
+ <!-- Bootstrap -->
|
|
172
|
+ <script src="js/bootstrap.min.js"></script>
|
|
173
|
+ <!-- Waypoints -->
|
|
174
|
+ <script src="js/jquery.waypoints.min.js"></script>
|
|
175
|
+ <!-- Stellar Parallax -->
|
|
176
|
+ <script src="js/jquery.stellar.min.js"></script>
|
|
177
|
+ <!-- Counters -->
|
|
178
|
+ <script src="js/jquery.countTo.js"></script>
|
|
179
|
+ <!-- Main JS (Do not remove) -->
|
|
180
|
+ <script src="js/main.js"></script>
|
|
181
|
+
|
|
182
|
+ </body>
|
|
183
|
+</html>
|