-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathindex.html
108 lines (94 loc) · 3.36 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
<!doctype html>
<html>
<head>
<meta charset="utf-8" />
<title>Vue 3 Pagebuilder</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css"
integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.2/css/all.min.css"
/>
<link rel="stylesheet" href="style.css" />
<link rel="stylesheet" href="editor/editor.css" />
<script
src="https://cdnjs.cloudflare.com/ajax/libs/vue/3.4.2/vue.global.prod.min.js"
integrity="sha512-YrmKYDNQKVmL5Y3xfdyNrp7atx+/XpIevYmFWoXMBitv2UitzwPwDzg/1H2UnBwelWgzDUd8Ex7L8bw61aK0jA=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<!-- this serves the unbundled version -->
<script src="main.mjs" type="module"></script>
<!-- alternatively you can use the bundled version
<script src="build/bundle.mjs" type="module"></script>
-->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@furcan/[email protected]/dist/iconpicker-1.5.0.css"
/>
<script src="https://cdn.jsdelivr.net/npm/@furcan/[email protected]/dist/iconpicker-1.5.0.min.js"></script>
<script src="https://cdn.rawgit.com/beautify-web/js-beautify/v1.13.6/js/lib/beautify-html.js"></script>
<link rel="preconnect" href="https://fonts.gstatic.com" />
<link
href="https://fonts.googleapis.com/css2?family=Rubik:wght@300;600&family=Lobster&family=Playfair+Display&family=Raleway&family=Cutive+Mono&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/github-fork-ribbon-css/0.2.3/gh-fork-ribbon.min.css"
/>
<style>
.github-fork-ribbon:before {
background-color: #333;
}
</style>
</head>
<body>
<a
class="github-fork-ribbon"
href="https://github.com/dashpilot/vue-pagebuilder"
data-ribbon="Fork me on GitHub"
title="Fork me on GitHub"
>Fork me on GitHub</a
>
<main>
<div id="page">
<div id="header">
<template v-for="item in entries">
<template v-if="item.layout == 'header'">
<wdgt-header v-bind:item="item"></wdgt-header>
</template>
</template>
</div>
<div id="content">
<template v-for="item in entries">
<template v-if="item.layout == 'post'">
<wdgt-post v-bind:item="item"></wdgt-post>
</template>
<template v-if="item.layout == 'news'">
<wdgt-news v-bind:item="item"></wdgt-news>
</template>
<template v-if="item.layout == 'newsleft'">
<wdgt-newsleft v-bind:item="item"></wdgt-newsleft>
</template>
<template v-if="item.layout == 'featured'">
<wdgt-featured v-bind:item="item"></wdgt-featured>
</template>
<template v-if="item.layout == 'features'">
<wdgt-features v-bind:item="item"></wdgt-features>
</template>
</template>
</div>
</div>
<page-editor
v-if="editing"
v-bind:layouts="layouts"
v-bind:entries="entries"
></page-editor>
</main>
</body>
</html>