-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
96 lines (75 loc) · 3.69 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Mehrdad Hozhabri Nezhad</title>
<link href="https://fonts.googleapis.com/css2?family=Fira+Sans:wght@300;400;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet/less" type="text/css"
href="https://raw.githubusercontent.com/necolas/normalize.css/master/normalize.css" />
<link rel="stylesheet/less" type="text/css" href="components/reset.css" />
<link rel="stylesheet/less" type="text/css" href="components/index.less" />
</head>
<body>
<div id="app">
<header id="header">
<h1>{{sitename}}</h1>
<ul>
<li v-for="filter in header.filters" v-on:click="currentFilter = filter"
v-bind:class="{ active: currentFilter == filter }">
{{ filter }}
</li>
</ul>
</header>
<app-view>
<app-sidebar>
<ul class="side-bar-items">
<sidebar class="aside" v-for="item in sidebar" v-bind:side="item"></sidebar>
</ul>
</app-sidebar>
<app-content>
<div class="filter-show-case" v-for="filter in header.filters">
<div class="cat-parent" v-for="filterType in showcase[filter]" v-if="currentFilter === filter">
<h1>
{{ filterType.name }}
</h1>
<div v-on:click="overlay" v-for="project in filterType.items" v-bind:id="project._id"
:key="project._id" class="card">
<img v-bind:src="project.projectInfo.thumb" alt="no image">
<p>{{ project.projectInfo.title }}</p>
</div>
</div>
</div>
</app-content>
<div id="more-detail" v-for="projects in data" v-if="!isHidden">
<button class="close" v-on:click="isHidden = true">x</button>
<div class="first-column">
<h1>{{ projects.projectInfo.title }}</h1>
<h2>{{ projects.projectInfo.subtitle }}</h2>
<h3>{{ projects.projectInfo.year }}</h3>
<h3>{{ projects.projectInfo.category }}</h3>
<h3>{{ projects.projectInfo.field }}</h3>
</div>
<div class="secound-column">
<h3>Projektbeschreibung</h3>
<zero-md css-urls='["components/md.css"]' :src="projects.projectInfo.description">
</zero-md>
</div>
<div class="third-column">
<img :src="projects.projectInfo.projectImages" alt="">
</div>
</div>
</app-view>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lodash.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/vue"></script>
<script src="https://unpkg.com/[email protected]/dist/axios.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/less.js/3.9.0/less.js"></script>
<!-- Lightweight client-side loader that feature-detects and load polyfills only when necessary -->
<script src="https://cdn.jsdelivr.net/npm/@webcomponents/webcomponentsjs@2/webcomponents-loader.min.js"></script>
<!-- Load the element definition -->
<script type="module" src="https://cdn.jsdelivr.net/gh/zerodevx/zero-md@1/src/zero-md.min.js"></script>
<script src="components/index.js"></script>
</body>
</html>