Skip to content

Commit

Permalink
Static Content
Browse files Browse the repository at this point in the history
  • Loading branch information
MicroBenz committed Jan 11, 2018
1 parent 20af33f commit 4ed5911
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 17 deletions.
6 changes: 3 additions & 3 deletions component/Landing/ContactUs.js
Expand Up @@ -51,13 +51,13 @@ const ContactUs = () => (
<div className="contact">
<Header>CONTACT US</Header>
<Info>
<a href="+66641747080">064-174-7080</a> (พี่เบ๊บ)
<a href="tel:+66641747080">064-174-7080</a> (พี่เบ๊บ)
</Info>
<Info>
<a href="+66924587067">092-458-7067</a> (พี่ฟง)
<a href="tel:+66924587067">092-458-7067</a> (พี่ฟง)
</Info>
<Info>
<a href="+6656667571">085-666-7571</a> (พี่เบนซ์)
<a href="tel:+66856667571">085-666-7571</a> (พี่เบนซ์)
</Info>
<Info small>Email: <a href="mailto:ywc@webmaster.or.th">ywc@webmaster.or.th</a></Info>
</div>
Expand Down
12 changes: 6 additions & 6 deletions pages/_document.js
Expand Up @@ -23,8 +23,8 @@ export default class MyDocument extends Document {
<link rel="stylesheet" href="/static/fonts/fonts.css" async />
<link rel="stylesheet" href="/static/libs/bulma/bulma.min.css" async />
<link rel="stylesheet" href="/static/libs/font-awesome/css/font-awesome.min.css" async />
<link rel="stylesheet" href="/static/libs/flatpickr/flatpickr.css" async />
<link rel="stylesheet" href="/static/libs/flatpickr/dark.css" async />
{/* <link rel="stylesheet" href="/static/libs/flatpickr/flatpickr.css" async /> */}
{/* <link rel="stylesheet" href="/static/libs/flatpickr/dark.css" async /> */}

<meta name="description" content={seo.description} />
<meta name="keywords" content={seo.keywords} />
Expand Down Expand Up @@ -66,7 +66,7 @@ export default class MyDocument extends Document {
<body style={{ backgroundColor: colors.theme, color: colors.white, backgroundImage: "url('/static/img/bg/bg.png')", backgroundRepeat: 'repeat', backgroundSize: '70%' }}>
{main}
<NextScript />
<script
{/* <script
dangerouslySetInnerHTML={{
__html: `
window.fbAsyncInit = function() {
Expand All @@ -88,8 +88,8 @@ export default class MyDocument extends Document {
}(document, 'script', 'facebook-jssdk'));
`
}}
/>
<script
/> */}
{/* <script
dangerouslySetInnerHTML={{
__html: `
<!-- Facebook Pixel Code -->
Expand All @@ -111,7 +111,7 @@ export default class MyDocument extends Document {
<!-- End Facebook Pixel Code -->
`
}}
/>
/> */}
</body>
</html>
);
Expand Down
8 changes: 4 additions & 4 deletions pages/landing/index.js
Expand Up @@ -4,7 +4,7 @@ import { Element } from 'react-scroll';

import connect from '../../store/connect';
import { actions as appActions } from '../../store/reducers/app';
import config from '../../config';
// import config from '../../config';

import Welcoming from '../../component/Landing/Welcoming';
import WhatIsYWC from '../../component/Landing/WhatIsYWC';
Expand Down Expand Up @@ -107,9 +107,9 @@ const BlackBow = styled.img`
{ ...appActions }
)
export default class LandingPage extends Component {
componentDidMount() {
this.props.loadRegisterStat();
}
// componentDidMount() {
// this.props.loadRegisterStat();
// }

render() {
return (
Expand Down
8 changes: 4 additions & 4 deletions store/reducers/app.js
Expand Up @@ -10,10 +10,10 @@ const HIDE_SEE_MORE = appAction('HIDE_SEE_MORE');
const initialState = {
isFirstLoad: true,
registerStat: {
programming: 0,
design: 0,
content: 0,
marketing: 0
programming: 357,
design: 219,
content: 227,
marketing: 308
},
isShowSeeMore: false,
seeMoreMajor: ''
Expand Down

0 comments on commit 4ed5911

Please sign in to comment.