Skip to content

Commit 83fd2e9

Browse files
committed
Fix bugs, fonts
1 parent 7a57a5f commit 83fd2e9

File tree

5 files changed

+12
-8
lines changed

5 files changed

+12
-8
lines changed

my-app/src/css/contact.css

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,11 @@
6464
color: #8d8d8d;
6565
padding: 0 20px;
6666
box-sizing: border-box;
67+
font-family: monospace;
68+
}
69+
70+
.contact_main form div.input_row div.half {
71+
width: 50%;
6772
}
6873

6974
.contact_main form div.input_row div.half > input {
@@ -129,8 +134,7 @@
129134
}
130135

131136
body .infoBox {
132-
width: 300px !important;
137+
width: 250px !important;
133138
transform: none !important;
134-
left: -170px !important;
135139
overflow: inherit !important;
136140
}

my-app/src/css/index.css

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
* {
2-
/*cursor: url(../img/xxx012-32.png), pointer !important;*/
32
cursor: url(../img/cursor.cur), pointer !important;
43
}
54

my-app/src/img/arrow.cur

-4.19 KB
Binary file not shown.

my-app/src/js/components/Contact.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import React, {Component} from 'react';
22
import {compose, withProps, withStateHandlers} from "recompose"
33
import {GoogleMap, Marker, withGoogleMap, withScriptjs} from "react-google-maps";
4-
import {InfoBox} from "react-google-maps/lib/components/addons/InfoBox";
4+
import InfoBox from "react-google-maps/lib/components/addons/InfoBox";
55

66
import '../../css/contact.css';
77
import logo from '../../img/MyMarker.png';
@@ -199,11 +199,12 @@ const defaultProps = {
199199
backgroundColor: 'black',
200200
margin: '14px',
201201
textAlign: 'center',
202-
fontSize: '18px',
202+
fontSize: '20px',
203203
fontWeight: 'bold',
204+
fontFamily: '"MyLogo", sans-serif',
204205
opacity: .85,
205206
padding: `12px`,
206-
width: '300px',
207+
width: '250px',
207208
transform: 'none',
208209
borderRadius: '4px'
209210
}
@@ -243,7 +244,7 @@ const StyledMapWithAnInfoBox = compose(
243244
options={{closeBoxURL: ``, enableEventPropagation: true}}
244245
>
245246
<div style={defaultProps.divStyle}>
246-
Heeey!=) <br/> Kredense cafe is my second home!XD <br/>
247+
Heeey!=) <br/> Kredens cafe is my second home! <br/>
247248
Maybe I'm here at the moment! <br/>
248249
So, you are welcome!:)
249250
</div>

my-app/src/js/components/Header.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ class Header extends Component {
1818
<Link to={prefix + "/"}> <i className="fas fa-home"/><span> home </span></Link>
1919
<Link to={prefix + "/about"}> <i className="far fa-user"/><span> about </span></Link>
2020
<Link to={prefix + "/skills"}> <i className="fas fa-cog"/><span> skills </span></Link>
21-
<Link to={prefix + "/works"}> <i className="fas fa-eye"/><span> works </span></Link>
21+
{/*<Link to={prefix + "/works"}> <i className="fas fa-eye"/><span> works </span></Link>*/}
2222
<Link to={prefix + "/contact"}> <i className="far fa-envelope"/><span> contact </span></Link>
2323
</div>
2424
<div className="social_buttons">

0 commit comments

Comments
 (0)