-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
178 lines (152 loc) · 5.92 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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<!DOCTYPE html>
<html>
<head>
<link rel="stylesheet" type="text/css" href="main.css">
<link href='https://fonts.googleapis.com/css?family=Karla:400,400italic,700,700italic' rel='stylesheet' type='text/css'>
<title>Digital Product Design</title>
<meta name="viewport" content="width=device-width">
<link href="https://afeld.github.io/emoji-css/emoji.css" rel="stylesheet">
<meta name="robots" content="noindex, nofollow" />
<!-- Favicon -->
<link rel="icon"
type="image/png"
href="imgs/favicon.png" />
<!-- Share Image -->
<meta property="og:image" content="imgs/share.png" />
<meta name="twitter:card" content="photo" />
<meta name="twitter:site" content="@umichDesign" />
<meta name="twitter:title" content="Digital Product Design" />
<meta name="twitter:image" content="imgs/share.png" />
<meta name="twitter:url" content="http://umichdesign.com/" />
<!-- emoji support -->
<script src="https://twemoji.maxcdn.com/2/twemoji.min.js?2.2"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>
<script type="text/javascript" src="vue.js"></script>
</head>
<body>
<header class="text-center hide-mobile text-white">
<div class="container">
<div class="inline-block">
<div class="u-of-m"><img src="imgs/u-of-m.png"></div>
</div>
</div>
<div class="content">
<h5>ENTR 390.012 • FALL 2016</h5>
<h1 class="text-white">Digital Product Design</h1>
<h3 class="text-white">Mondays, 4-5pm <br /> 170 Weiser Hall</h3>
</div>
</header>
<nav class="nav">
<div class="container">
<div class="float-left">
<img src="imgs/UMPDlogo.png" height="30" style="margin-top: 20px;">
</div>
<div class="float-right">
<img style="padding-top: 24px; margin-right: 6px;" data-action="show-mobile-nav" class="show-mobile" width="30px" src="imgs/hamburger.png">
<img style="padding-top: 24px; margin-right: 6px; display: none" data-action="close-mobile-nav" width="21px" src="imgs/close-menu.png">
<ul class="nav-list hide-mobile">
<li class="active"><a href="/">Lectures</a></li>
<li><a href="/about.html">About</a></li>
<!-- <li><a href="/resources.html">Resources</a></li> -->
<li><a href="/contact.html">Contact</a></li>
</ul>
</div>
</div>
<ul class="nav-mobile" style="display: none;">
<li><a href="/">Lectures</a></li>
<li><a href="/about.html">About</a></li>
<!-- <li><a href="/resources.html">Resources</a></li> -->
<li><a href="/contact.html">Contact</a></li>
</ul>
</nav>
<section class="main">
<div class="container">
<div class="show-mobile">
<div class="content">
<span class="small-meta-blue"><strong>ENTR 390.012 • FALL 2016</strong></span>
<h1>Digital Product Design</h1>
<h3 style="margin: 0 0 30px 0; padding-bottom: 30px; border-bottom: 1px solid #529FFD;">Mondays, 4-5pm <br /> 170 Weiser Hall</h3>
</div>
<!-- <hr /> -->
</div>
<h2>Lectures</h2>
<div id="lectures" v-cloak>
<!-- Vue loop -->
<div v-for="lecture in lectures" class="block">
<div class="upper" v-on:click="showLecture(lecture.number)">
<p class="number">LECTURE {{ lecture.number }}</p>
<h3 class="title" v-on:click="showLecture(lecture.number)">{{ lecture.title }}</h3>
<p class="date">{{ lecture.date }}</p>
<p class="description">{{ lecture.description }}</p>
</div>
<div class="lower">
<a class="watch" href="{{lecture.youtube}}" target="blank">Watch Lecture</a>
<a class="slides" href="lectures/{{lecture.slides}}" target="_blank">Download Slides</a>
</div>
</div>
<!-- end loop -->
</div>
</section>
<footer style="margin-top: 40px">
<p class="text-center"><strong>Made with <img class="emoji" draggable="false" alt="❤️" src="http://twemoji.maxcdn.com/16x16/2764.png"> in Ann Arbor, MI</strong></p>
</footer>
<div id="overlay" v-cloak>
<transition name="slide">
<div class="overlay" v-if="show">
<div class="nav">
<div class="container narrow">
<div class="float-left">
<img src="imgs/UMPDlogo.png" height="30" style="margin-top: 20px;">
</div>
<div class="float-right" style="cursor: pointer" v-on:click="close">
<p class="close inline-block" style="margin-right: 8px">Close</p>
<img src="imgs/x.svg" style="position: relative; top: 1px;" height="12px">
</div>
</div>
</div>
<transition name="fade">
<section class="main" v-if="show">
<div class="container narrow">
<h1 class="title">{{ lecture.title }}</h1>
<p class="sub-title">Lecture {{lecture.number}}<span class="grey"> - {{lecture.date}}</span></p>
<p class="description">{{lecture.description}}</p>
<div class="inline-block">
<button class="light-blue" style="margin-right: 24px;">Watch Lecture</button>
<button class="white">Download Slides</button>
</div>
<div v-if="lecture.assignment">
<h2>Assignment</h2>
<p>{{ lecture.assignment.description }}</p>
<ul>
<li v-for="bullet in lecture.assignment.bullets">{{bullet}}</li>
</ul>
</div>
<div v-if="lecture.resources.length">
<h2>Resources</h2>
<ul>
<li v-for="source in lecture.resources"><a href="{{source.link}}">{{source.title}}</a></li>
</ul>
</div>
</div>
</section>
</transition>
</div>
</transition>
</div>
<script type="text/javascript" src="lectures.js"></script>
<script type="text/javascript">
$(document).ready(function() {
$(document).on('click', '[data-action="show-mobile-nav"]', function (e) {
$(e.target).hide();
$('[data-action="close-mobile-nav"]').show();
$('.nav-mobile').slideDown('fast');
});
$(document).on('click', '[data-action="close-mobile-nav"]', function (e) {
$(e.target).hide();
$('[data-action="show-mobile-nav"]').show();
$('.nav-mobile').slideUp('fast');
});
});
</script>
</body>
</html>