-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathindex.html
162 lines (126 loc) · 6.05 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
<DOCTYPE! html>
<html>
<head>
<title>Reframe</title>
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<!-- Style CSS -->
<link href="style.css" rel="stylesheet">
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.4.1/css/all.css" integrity="sha384-5sAR7xN1Nv6T6+dT2mhtzEpVJvfS3NScPQTrOxhwjIuvcA67KV2R5Jz6kr4abQsz" crossorigin="anonymous">
<link rel="shortcut icon" type="image/png" href="https://javamazon.github.io/MCC-Hackathon-Reframe/favicon.png"/>
<script
src="https://code.jquery.com/jquery-3.3.1.js"
integrity="sha256-2Kok7MbOyxpgUVvAk/HJ2jigOSYS2auK4Pfzbm7uH60="
crossorigin="anonymous"></script>
<script src="script.js"></script>
<link rel="stylesheet" href ="style.css">
</head>
<body>
<div id ='root'>
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); js.id = id;
js.src = 'https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v3.1';
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
<script>
function pictureChange()
{
document.getElementById("theImage").src="Ladder_R1.png";
document.getElementById('background1').id = 'background';
}
</script>
<!--
<script>
$(function() {
$('#background1').click(function() {
$(this).attr('id', 'background');
});
});
</script>
<script type="text/javascript">
clicked=true;
$(document).ready(function(){
$("sky").click(function() {
if (clicked){
$(this).css('id', 'background1');
clicked = false;
} else {
$(this).css('id', 'background');
clicked=true;
}
});
});
</script> -->
<div class="container-fluid" id="background1">
<div class="container-fluid layer">
<div class="row top">
<div class="col-md-3 text-center"><h2 class="roboto top"><a href="https://javamazon.github.io/MCC-Hackathon-Reframe/about.html">About</a></h2></div>
<div class="col-md-6 text-center"><h1 class="bromello"><a href="https://javamazon.github.io/MCC-Hackathon-Reframe/">Reframe</a></h1></div>
<div class="col-md-3 text-center"><h2 class="roboto top"><a href="https://javamazon.github.io/MCC-Hackathon-Reframe/resources.html">Resources</a></h2></div>
</div>
<div class="row top">
<div class="col-md-6 offset-md-3 text-center top"><img id="theImage" src="Fence_R2.png" alt="fence"/></div>
</div>
<div id="divDisplayOne">
<div class="row top">
<div class="col-md-6 offset-md-3 text-center top">
<h3 class="lora top">input negative thought</h3>
</div>
</div>
<div class="row">
<div class="col-md-6 offset-md-3 text-center">
<input class="form-control form-control-lg camelot" id="statement" type="text" placeholder="">
</div>
</div>
<div class="row">
<div class="col-md-6 offset-md-3 text-center top">
<button type="button" class="btn btn-light btn-lg lora" onclick ="getUserStatement(); pictureChange(); " id="drop theButton sky">Submit</button>
</div>
</div>
</div>
<div id="displayDivTwo">
<div class="row top">
<div class="col-md-6 offset-md-3 text-center top">
<h3 class="lora">Try thinking like this instead...</h3>
<div id = "modifiedStatementBox">
<p id="modifiedStatement"> </p>
</div></div></div>
<div class="row">
<div class="col-md-2 offset-md-3 text-center">
<button type="button" class="powerButton btn btn-light btn-lg lora" id="powerUpButton" onclick="powerUpButton()">Power Up This Statement? </button></div>
<div class="col-md-4 offset-md-1">
<input class="form-control form-control-lg" id="friendName" type="text" placeholder="Enter the name of a friend"></div>
</div>
<div id ="step 2">
<div class="row top">
<div class="col-md-6 offset-md-3 text-center">
<h3 class="lora">Would you say this to a friend?</h3>
</div></div>
<div class="row top">
<div class="col-md-6 offset-md-3 text-center">
<p id ="friendStatement"> </p>
</div></div>
<div class="row top">
<div class="col-md-6 offset-md-3 text-center">
<h3 class="lora"> Then why would you say it to yourself?</h3></div></div>
<div class="row top">
<div class="col-md-6 offset-md-3 text-center">
<button class="btn btn-light btn-lg lora" id="resetButton" onClick = "reset()">Start Again?</button></div></div>
</div>
</div>
<div class="row top">
</div>
<div class="row">
<div class="col-xs-12 col-md-2 offset-md-4 text-center">
<div class="fb-share-button" data-href="https://javamazon.github.io/MCC-Hackathon-Reframe/" data-layout="button" data-size="large" data-mobile-iframe="true"><a target="_blank" href="https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fjavamazon.github.io%2FMCC-Hackathon-Reframe%2F&src=sdkpreparse" class="fb-xfbml-parse-ignore">Share</a></div></div>
<div class="col-xs-12 col-md-2 text-center"><a href="https://twitter.com/share?ref_src=twsrc%5Etfw" class="twitter-share-button" data-size="large" data-show-count="false">Tweet</a><script async src="https://platform.twitter.com/widgets.js" charset="utf-8"></script></div>
</div>
<div class="padding"></div>
</div>
</div>
</div>
</body>
</html>