forked from island-fox-2017/blog-components-layout
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
115 lines (104 loc) · 4.74 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Latest compiled and minified CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous">
<!-- Optional theme -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
<title>Blog Component Vue</title>
<script src="https://unpkg.com/[email protected]"></script>
<script src="https://unpkg.com/[email protected]/dist/vue-router.js" charset="utf-8"></script>
<link rel="stylesheet" href="/assets/css/style.css">
<script src="https://unpkg.com/axios/dist/axios.min.js"></script>
</head>
<body>
<div id="app">
<nav class="metamorphega navbar navbar-default navbar-fixed-top">
<div class="container-fluid">
<div class="navbar-header">
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="#">VEGA</a>
</div>
<div class="collapse navbar-collapse" id="myNavbar">
<ul class="nav navbar-nav navbar-left">
<li><a>Learn Blog Component</a></li>
</ul>
<ul class="nav navbar-nav navbar-right">
<!-- <li><a href="#">Home</a></li> -->
<!-- <li><a href="#">About</a></li> -->
<li><router-link to="/home">Home</router-link></li>
<li><router-link to="/articles">Articles</router-link></li>
<li><a href="#">Profil</a></li>
<li><a href="#">Category</a></li>
</ul>
</div>
</div>
</nav>
<div class="metamorphega-slider">
<div class="container">
<div id="carousel-example-generic" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carousel-example-generic" data-slide-to="0" class="active"></li>
<li data-target="#carousel-example-generic" data-slide-to="1"></li>
<li data-target="#carousel-example-generic" data-slide-to="2"></li>
</ol>
<div class="carousel-inner" role="listbox">
<div class="item active">
<img src="./assets/images/slider-1.jpg" alt="Lorem ipsum dolor si amet">
</div>
<div class="item">
<img src="./assets/images/slider-2.jpg" alt="Lorem ipsum dolor si amet">
</div>
<div class="item">
<img src="./assets/images/slider-3.jpg" alt="Lorem ipsum dolor si amet">
</div>
</div>
<a class="left carousel-control" href="#carousel-example-generic" role="button" data-slide="prev">
<span class="glyphicon glyphicon-chevron-left" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="right carousel-control" href="#carousel-example-generic" role="button" data-slide="next">
<span class="glyphicon glyphicon-chevron-right" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
</div>
</div>
<div class="metamorphega-content">
<div class="container">
<div class="row">
<div class="col-md-4">
<div class="list-group">
<a href="#" class="list-group-item disabled">Latest Article</a>
<!-- <a href="#" class="list-group-item" v-for="article in articles">{{ article.title }}</a> -->
<side-bar :banyakartikel="top3"/>
</div>
</div>
<div class="col-md-8">
<!-- <main-page :articles="top3" /> -->
<router-view :articles="top3"></router-view>
</div>
</div>
</div>
</div>
<!-- <div>
<router-link to="/foo">Go to Foo</router-link>
<router-view></router-view>
</div> -->
<!-- div app_id vue -->
</div>
<script src="vue-app.js"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins) -->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.12.4/jquery.min.js"></script>
<!-- Latest compiled and minified JavaScript -->
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
</body>
</html>