|
@@ -0,0 +1,177 @@
|
|
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
|
+
|
|
55
|
+ <script src="https://unpkg.com/axios/dist/axios.min.js"></script>
|
|
56
|
+ <script>
|
|
57
|
+ var articles;
|
|
58
|
+ axios.get(`http://localhost:5000/articles`)
|
|
59
|
+ .then(response => {
|
|
60
|
+ articles = response.data;
|
|
61
|
+
|
|
62
|
+ for (element of articles) {
|
|
63
|
+ axios.get(`http://localhost:5000/articles/${element}`)
|
|
64
|
+ .then(response => {
|
|
65
|
+ let articlesHeading = document.querySelector("#articles-heading");
|
|
66
|
+ let articleElm = document.createElement("pre");
|
|
67
|
+ articleElm.textContent = response.data;
|
|
68
|
+ articlesHeading.appendChild(articleElm);
|
|
69
|
+ })
|
|
70
|
+ .catch(error => console.error(error));
|
|
71
|
+ }
|
|
72
|
+ })
|
|
73
|
+ .catch(error => console.error(error));
|
|
74
|
+
|
|
75
|
+ </script>
|
|
76
|
+ </head>
|
|
77
|
+ <body>
|
|
78
|
+ <header role="banner" id="fh5co-header">
|
|
79
|
+ <div class="fluid-container">
|
|
80
|
+ <nav class="navbar navbar-default navbar-fixed-top js-fullheight">
|
|
81
|
+ <div id="navbar" class="navbar-collapse js-fullheight">
|
|
82
|
+ <ul class="nav navbar-nav navbar-left">
|
|
83
|
+ <li class="active"><a href="#" data-nav-section="home"><span>Home</span></a></li>
|
|
84
|
+ <li><a href="#" data-nav-section="services"><span>Services</span></a></li>
|
|
85
|
+ </ul>
|
|
86
|
+ </div>
|
|
87
|
+ </nav>
|
|
88
|
+ </div>
|
|
89
|
+ </header>
|
|
90
|
+
|
|
91
|
+ <section id="fh5co-home" data-section="home" style="background-image: url(images/project-5.jpg);">
|
|
92
|
+ <div class="gradient"></div>
|
|
93
|
+ <div class="container">
|
|
94
|
+ <div class="text-wrap">
|
|
95
|
+ <div class="text-inner">
|
|
96
|
+ <div class="row">
|
|
97
|
+ <div class="col-md-8 col-md-offset-2 text-center">
|
|
98
|
+ <h1 style="color :white;" class="to-animate">dato.pr</h1>
|
|
99
|
+ <h2 style="color :white;" class="to-animate">"Estudiando lo ambiguo e investigando lo desconocido."</h2>
|
|
100
|
+ </div>
|
|
101
|
+ </div>
|
|
102
|
+ </div>
|
|
103
|
+ </div>
|
|
104
|
+ </div>
|
|
105
|
+ </section>
|
|
106
|
+
|
|
107
|
+ <section id="fh5co-services" data-section="services">
|
|
108
|
+ <div class="fh5co-services">
|
|
109
|
+ <div class="container">
|
|
110
|
+ <div class="row">
|
|
111
|
+ <div class="col-md-12 section-heading text-center">
|
|
112
|
+ <h2 class="to-animate">Articles</h2>
|
|
113
|
+ </div>
|
|
114
|
+ </div>
|
|
115
|
+ <div class="row">
|
|
116
|
+ <div class="core-features">
|
|
117
|
+ <div class="grid2">
|
|
118
|
+ <div id="rows-parent" class="core-f">
|
|
119
|
+ <div class="row" id="articles-row">
|
|
120
|
+ <div class="col-md-12">
|
|
121
|
+ <div class="core">
|
|
122
|
+ <i class="icon-columns to-animate-2"></i>
|
|
123
|
+ <div class="fh5co-post to-animate">
|
|
124
|
+ <!-- <h3 async onload="fetchArticle();">Articles</h3> -->
|
|
125
|
+ <h3 id="articles-heading">Articles</h3>
|
|
126
|
+ </div>
|
|
127
|
+ </div>
|
|
128
|
+ </div>
|
|
129
|
+ </div>
|
|
130
|
+ </div>
|
|
131
|
+ </div>
|
|
132
|
+ </div>
|
|
133
|
+ </div>
|
|
134
|
+ <div id="fh5co-counter-section" class="fh5co-counters">
|
|
135
|
+ <div class="container">
|
|
136
|
+ <div class="row to-animate">
|
|
137
|
+ <div class="col-md-3 text-center">
|
|
138
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="3452" data-speed="5000" data-refresh-interval="50"></span>
|
|
139
|
+ <span class="fh5co-counter-label">Tazas de Café Consumidas</span>
|
|
140
|
+ </div>
|
|
141
|
+ <div class="col-md-3 text-center">
|
|
142
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="234" data-speed="5000" data-refresh-interval="50"></span>
|
|
143
|
+ <span class="fh5co-counter-label">Días sin Luz</span>
|
|
144
|
+ </div>
|
|
145
|
+ <div class="col-md-3 text-center">
|
|
146
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="6542" data-speed="5000" data-refresh-interval="50"></span>
|
|
147
|
+ <span class="fh5co-counter-label">Cosas que Hacer</span>
|
|
148
|
+ </div>
|
|
149
|
+ <div class="col-md-3 text-center">
|
|
150
|
+ <span class="fh5co-counter js-counter" data-from="0" data-to="0" data-speed="5000" data-refresh-interval="50"></span>
|
|
151
|
+ <span class="fh5co-counter-label">Tiempo para perder</span>
|
|
152
|
+ </div>
|
|
153
|
+ </div>
|
|
154
|
+ </div>
|
|
155
|
+ </div>
|
|
156
|
+ </div>
|
|
157
|
+ </div>
|
|
158
|
+ </section>
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+ <!-- jQuery -->
|
|
162
|
+ <script src="js/jquery.min.js"></script>
|
|
163
|
+ <!-- jQuery Easing -->
|
|
164
|
+ <script src="js/jquery.easing.1.3.js"></script>
|
|
165
|
+ <!-- Bootstrap -->
|
|
166
|
+ <script src="js/bootstrap.min.js"></script>
|
|
167
|
+ <!-- Waypoints -->
|
|
168
|
+ <script src="js/jquery.waypoints.min.js"></script>
|
|
169
|
+ <!-- Stellar Parallax -->
|
|
170
|
+ <script src="js/jquery.stellar.min.js"></script>
|
|
171
|
+ <!-- Counters -->
|
|
172
|
+ <script src="js/jquery.countTo.js"></script>
|
|
173
|
+ <!-- Main JS (Do not remove) -->
|
|
174
|
+ <script src="js/main.js"></script>
|
|
175
|
+
|
|
176
|
+ </body>
|
|
177
|
+</html>
|