-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsample.html
104 lines (80 loc) · 3 KB
/
sample.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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<!-- Headings -->
<title>a brand new idea</title>
<meta name="description" content="designed for pdd coursework by callum morrison">
<meta name="author" content="Callum Morrison">
<!-- Style and icons -->
<link rel="stylesheet" href="css/bulma.css">
<link rel="stylesheet" type="text/css" href="https://unpkg.com/bulma-prefers-dark" />
<script defer src="https://use.fontawesome.com/releases/v5.3.1/js/all.js"></script>
<link rel="shortcut icon" type="image/x-icon" href="favicon.ico">
<!-- Load data jsons -->
<!-- Sources:
categories: https://www.red-dot.org/pd/categories/?r=1
aesthetics: https://3.7designs.co/blog/2017/12/using-design-adjectives-determine-look-feel/-->
<script type="text/javascript" src="js/data.json"></script>
<!-- Load randomise script -->
<script type="text/javascript" src="js/randomise.js"></script>
<!-- Load clear script -->
<script type="text/javascript" src="js/clear.js"></script>
<!-- Load singularise script -->
<script src="js/pluralize.js"></script>
<!-- Load articles library -->
<script src="js/AvsAn.js"></script>
<!-- Scroll reveal and settings -->
<script src="js/[email protected]"></script>
<script>
ScrollReveal({
reset: false,
scale: 0.95,
duration: 1000
});
</script>
<!-- Little correction for scroll reveal fade -->
<style>
html.sr .sr {
visibility: hidden
}
</style>
<!-- Google AdSense -->
<script data-ad-client="ca-pub-2845131833000200" async
src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
</head>
<body>
<section class="section sr" style="display: flex;align-items: center;height: 100vh">
<div class="container">
<h1 class="title reveal"><i class="fas fa-lightbulb is-size-3 has-text-primary"></i> a brand new idea</h1>
<h2 class="subtitle reveal">designed for product design and development coursework<br>by callum morrison</h2>
<!-- Buttons -->
<div class="columns">
<div class="column is-narrow reveal">
<div class="buttons has-addons">
<button class="button is-rounded is-small is-primary" onclick=randomise()>generate an idea</button>
<button class="button is-rounded is-small is-primary is-outlined" onclick=clearIdeas()>clear ideas</button>
</div>
</div>
<div class="column is-1 reveal">
<!-- <a href = "neural-network" class="button is-rounded is-small is-light is-outlined is-inverted">home</a> -->
</div>
</div>
<!-- Ideas textbox -->
<div class="reveal" style="overflow:auto; height:30vh" id="idea"></div>
</div>
</section>
<script>
var i;
for (i = 0; i < 200; i++) {
randomise();
}
</script>
<script>
ScrollReveal().reveal('.reveal', {
interval: 80,
delay: 100
});
</script>
</body>
</html>