File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3939 < div id ="featured ">
4040 < div class ="container ">
4141 < div class ="error404 ">
42- < h1 > 404 - Page Not Found</ h1 >
43- < br >
44- < span class ="byline "> We're sorry, the page you are looking for does not exist</ span >
45- < br >
46- < span class ="byline "> Click the button below to return to the homepage </ span >
47- < br > < br > < br >
48- < form action ="index.html ">
49- < button class ="homeButton "> < a href ="index.html " id ="home "> Homepage</ a > </ button >
50- </ form >
51- < br > < br > < br > < br >
52- < h3 > Can't find what you're looking for?</ h3 >
53- < br > < br >
5442 < div class ="seeMore ">
55- < a href ="lectures.html "> < b > </ b > See a list of our upcoming lectures 🡒</ a >
56- < br > < br >
57- < a href ="college.html "> Learn more about HPQC College 🡒</ a >
58- < br > < br >
59- < a href ="https://github.com/HPQC-LABS "> Interested in our research? 🡒</ a >
43+
44+ < form action ="lectures_tickets.html ">
45+ < button class ="homeButton "> < span > Register for the seminar series</ span > </ button >
46+ </ form >
47+ < br >
48+ < form action ="lectures.html ">
49+ < button class ="homeButton "> < span > See a list of our upcoming lectures</ span > </ button >
50+ </ form >
51+ < br >
52+ < form action ="college.html ">
53+ < button class ="homeButton "> < span > Learn more about HPQC College</ span > </ button >
54+ </ form >
55+ < br >
56+ < form action ="https://github.com/HPQC-LABS ">
57+ < button class ="homeButton "> < span > Interested in our research?</ span > </ button >
58+ </ form >
6059 </ div >
6160 </ div >
6261 </ div >
Original file line number Diff line number Diff line change @@ -1136,28 +1136,54 @@ ul.staff li img
11361136}
11371137
11381138
1139- .homeButton {
11401139
1141- letter-spacing : 0.1em ;
1140+
1141+ .homeButton {
1142+ border-radius : 4px ;
1143+ border : none;
1144+ color : # 79C255 ;
1145+ text-align : center;
1146+ font-size : 28px ;
1147+ padding : 20px ;
1148+ width : 400px ;
1149+ transition : all 0.5s ;
11421150 cursor : pointer;
1151+ margin : 5px ;
1152+ text-transform : uppercase;
11431153 font-size : 14px ;
1144- font-weight : 400 ;
1145- line-height : 45px ;
1146- max-width : 160px ;
1154+ font-weight : 600 ;
1155+ box-shadow : 0px 8px 16px 0px rgba (0 , 0 , 0 , 0.05 );
1156+
1157+ }
1158+
1159+ .homeButton span {
1160+ cursor : pointer;
1161+ display : inline-block;
11471162 position : relative;
1148- text-decoration : none;
1149- text-transform : uppercase;
1150- width : 100% ;
1151-
1163+ transition : 0.5s ;
1164+ }
11521165
1166+ .homeButton span : after {
1167+ content : '🡒' ;
1168+ position : absolute;
1169+ opacity : 0 ;
1170+ top : 0 ;
1171+ right : -20px ;
1172+ transition : 0.5s ;
1173+ transform : translate (10px , -8.5px );
1174+ font-size : 24px ;
11531175}
11541176
1155- # home {
1177+ .homeButton : hover span {
1178+ padding-right : 25px ;
1179+ }
11561180
1157- text-decoration : none;
1158- color : black !important ;
1181+ .homeButton : hover span : after {
1182+ opacity : 1 ;
1183+ right : 0 ;
11591184}
11601185
1186+
11611187/*Changes to titles / headers given a smaller screen*/
11621188@media screen and (min-width : 560px )
11631189{
@@ -1177,9 +1203,6 @@ ul.staff li img
11771203
11781204 }
11791205
1180- .error404 span {
1181- color : white !important ;
1182- }
11831206}
11841207
11851208
Original file line number Diff line number Diff line change @@ -31,6 +31,8 @@ function initPayPalButton() {
3131 var priceTotal = quantity * selectedItemPrice + parseFloat ( shipping ) + tax ;
3232 priceTotal = Math . round ( priceTotal * 100 ) / 100 ;
3333 var itemTotalValue = Math . round ( ( selectedItemPrice * quantity ) * 100 ) / 100 ;
34+ console . log ( code ) ;
35+
3436 return actions . order . create ( {
3537 purchase_units : [ {
3638 description : orderDescription ,
@@ -66,7 +68,7 @@ function initPayPalButton() {
6668 } ,
6769 payer : {
6870 address : {
69- country_code : 'CA'
71+ country_code : code ,
7072 }
7173 }
7274 } ) ;
@@ -81,7 +83,7 @@ function initPayPalButton() {
8183 } ,
8284 } ) . render ( '#paypal-button-container' ) ;
8385}
84- initPayPalButton ( ) ;
86+
8587
8688
8789
@@ -201,6 +203,10 @@ window.onload = function() {
201203 setTimeout ( function ( ) {
202204
203205 readXML ( ) ;
206+ setTimeout ( function ( ) {
207+ console . log ( code ) ;
208+ initPayPalButton ( ) ;
209+ } , 200 ) ;
204210
205211
206212 } , 200 ) ;
You can’t perform that action at this time.
0 commit comments