-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
218 lines (209 loc) · 12.2 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
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="description" content="Home for all of my computer science projects!">
<meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0">
<title>htmlprojects - Home of my Projects</title>
<link rel="stylesheet" href="index.css">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">
<link rel="stylesheet" href="https://code.getmdl.io/1.3.0/material.blue-red.min.css" />
<script defer src="https://code.getmdl.io/1.3.0/material.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:regular,bold,italic,thin,light,bolditalic,black,medium&lang=en">
</head>
<body>
<!-- Uses a transparent header that draws on top of the layout's background -->
<div class="demo-layout-transparent mdl-layout mdl-js-layout">
<header class="mdl-layout__header mdl-layout__header--transparent">
<div class="mdl-layout__header-row">
<!-- Title -->
<span class="mdl-layout-title">Home</span>
<!-- Add spacer, to align navigation to the right -->
<div class="mdl-layout-spacer"></div>
</div>
</header>
<div class="mdl-layout__drawer">
<span class="mdl-layout-title">Navigation</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="index.html">Home</a>
</nav>
<span class="mdl-layout-title">Projects</span>
<nav class="mdl-navigation">
<a class="mdl-navigation__link" href="projects/htmlncss-basics/index.html">HTML & CSS Basics</a>
<a class="mdl-navigation__link" href="">MathsQuiz</a>
<a class="mdl-navigation__link" href="">PageLinks</a>
<a class="mdl-navigation__link" href="">Result Generator</a>
</nav>
</div>
<main class="mdl-layout__content">
<div class="flexContainerCenter">
<!-- Wide card with share menu button -->
<div class="demo-card-wide mdl-card mdl-shadow--2dp">
<div class="mdl-card__title">
<h2 class="mdl-card__title-text">Home of my projects (htmlprojects)</h2>
</div>
<div class="mdl-card__supporting-text">
All of my computer science projects!
<br>
<br>
<img height="20px" width="auto" alt="GitHub last commit" src="https://img.shields.io/github/last-commit/Jerit3787/htmlprojects">
<img height="20px" width="auto" alt="GitHub branch checks state" src="https://img.shields.io/github/checks-status/Jerit3787/htmlprojects/master">
<img height="20px" width="auto" alt="GitHub deployments" src="https://img.shields.io/github/deployments/Jerit3787/htmlprojects/github-pages">
<img height="20px" width="auto" alt="GitHub" src="https://img.shields.io/github/license/Jerit3787/htmlprojects">
</div>
<div class="mdl-card__actions mdl-card--border">
<a href="https://www.github.com/Jerit3787/htmlprojects" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Project on Github
</a>
</div>
<div class="mdl-card__menu">
<button class="mdl-button mdl-button--icon mdl-js-button mdl-js-ripple-effect">
<i class="material-icons">share</i>
</button>
</div>
</div>
</div>
<div class="flexContainer">
<!-- Square card -->
<div class="demo-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text">HTML & CSS Basics</h2>
</div>
<div class="mdl-card__supporting-text">
Simple html code!
<br>
<br>
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Version&message=V1.0&color=success">
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Status&message=Published&color=success">
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Project
</a>
<a href="htmlncss-basics/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Live Demo
</a>
</div>
</div>
<!-- Square card -->
<div class="demo-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text ">MathsQuiz</h2>
</div>
<div class="mdl-card__supporting-text">
A simple free quiz learning website.
<br>
<br>
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Version&message=V0.4.dev&color=critical">
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Status&message=In Development&color=critical">
</div>
<div class="mdl-card__actions mdl-card--border">
<a href="project/mathsquiz/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Project
</a>
<!-- Buttons with dialog -->
<button id="show-dialog" type="button" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">View Live Demo</button>
<dialog class="mdl-dialog">
<h4 class="mdl-dialog__title">Preview Page</h4>
<div class="mdl-dialog__content">
<p>
Please select a page you want to preview
</p>
</div>
<div class="mdl-dialog__actions">
<a href="mathsquiz/login/v1/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">Login Page</a>
<a href="mathsquiz/mainui/v1/index - light.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">Light Theme Page</a>
<a href="mathsquiz/mainui/v1/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">Dark Theme Page</a>
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect close">Cancel</a>
</div>
</dialog>
<script>
var dialog = document.querySelector('dialog');
var showDialogButton = document.querySelector('#show-dialog');
if (!dialog.showModal) {
dialogPolyfill.registerDialog(dialog);
}
showDialogButton.addEventListener('click', function() {
dialog.showModal();
});
dialog.querySelector('.close').addEventListener('click', function() {
dialog.close();
});
</script>
</div>
</div>
<!-- Square card -->
<div class="demo-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text ">PageLinks</h2>
</div>
<div class="mdl-card__supporting-text">
My personal links website!
<br>
<br>
<img height="20px" width="auto " alt="Project Version " src="https://img.shields.io/static/v1?label=Version&message=V1.0&color=success">
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Status&message=Published&color=success">
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Project
</a>
<a href="pagelinks/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Live Demo
</a>
</div>
</div>
<!-- Square card -->
<div class="demo-card-square mdl-card mdl-shadow--2dp">
<div class="mdl-card__title mdl-card--expand">
<h2 class="mdl-card__title-text">Result Generator</h2>
</div>
<div class="mdl-card__supporting-text">
A fake result generator!
<br>
<br>
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Version&message=V1.0&color=success">
<img height="20px" width="auto" alt="Project Version" src="https://img.shields.io/static/v1?label=Status&message=Published&color=success">
</div>
<div class="mdl-card__actions mdl-card--border">
<a class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Project
</a>
<a href="straightspm/index.html" class="mdl-button mdl-button--colored mdl-js-button mdl-js-ripple-effect">
View Live Demo
</a>
</div>
</div>
</div>
<footer class="demo-footer mdl-mini-footer">
<div class="mdl-mini-footer--left-section">
<p>Copyright 2020-2021 Danish Studio Production</p>
<ul class="mdl-mini-footer--link-list">
<li><a href="index.html">Home</a></li>
<li><a href="https://www.danishsite.me">Portfolio</a></li>
<li><a href="https://www.danishsite.me/projects">Projects</a></li>
<li><a href="https://links.danishsite.me">Links</a></li>
</ul>
</div>
</footer>
</main>
</div>
<div aria-live="assertive" aria-atomic="true" aria-relevant="text" class="mdl-snackbar mdl-js-snackbar">
<div class="mdl-snackbar__text"></div>
<button type="button" class="mdl-snackbar__action"></button>
</div>
<script>
warning();
function sleep(ms) {
return new Promise(resolve => setTimeout(resolve, ms));
}
async function warning() {
await sleep(2000);
var notification = document.querySelector('.mdl-js-snackbar');
notification.MaterialSnackbar.showSnackbar({
message: 'This website is still under construction! Please use with care! :)'
});
}
</script>
</body>
</html>