-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.js
72 lines (55 loc) · 1.77 KB
/
index.js
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
import Head from 'next/head';
import Link from 'next/link';
// import global from "../styles/styles.js";
import React, { Component } from 'react';
// import stylesheet from 'antd/lib/style/index.css';
// import style_badge from 'antd/lib/badge/style/index.css';
import DatePicker from 'antd/lib/date-picker';
import Avatar from 'antd/lib/avatar';
import Badge from 'antd/lib/badge';
const { MonthPicker, RangePicker, WeekPicker } = DatePicker;
export default class extends Component{
render(){
return <div >
{/*<style dangerouslySetInnerHTML={{ __html: stylesheet }} />
<style dangerouslySetInnerHTML={{ __html: style_badge }} />
*/}
{/*<style jsx>{global}</style>
<style jsx>{`
.custom {
color: green;
span {
color: violet;
}
}
`}</style>*/}
<Head>
<title>Fifi - A BoilerPlate of Next JS + ANT Design + Redux + Styled JSX with SCSS</title>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
</Head>
<div className={'header'}></div>
<div className=" gutter container">
<h1 className="dodger">Fifi</h1>
<h3 className={['ebony']}>ReactJS + SEO + NextJS + Styled JSX + ANT Design</h3>
<p className={'example'}>
<Link href={{ pathname: '/about', query: { name: 'Ravi' } }}>
<a>About Page</a>
</Link>
</p>
<p>
<DatePicker />
<RangePicker />
</p>
<p>
<Badge status="success" />
<Badge status="error" />
<Badge status="default" />
<Badge status="Default" />
<Badge status="Processing" />
<Badge status="Warning" />
<Badge style={{ backgroundColor: '#52c41a' }} count={65}></Badge>
</p>
</div>
</div>
}
}