Compare commits
3 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
7b599acf76 | 4 years ago |
|
|
f6884b218b | 4 years ago |
|
|
981860e256 | 4 years ago |
@ -1,22 +0,0 @@
|
||||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
|
||||
|
||||
# dependencies
|
||||
/node_modules
|
||||
/npm-debug.log*
|
||||
/yarn-error.log
|
||||
/package-lock.json
|
||||
/.idea/*
|
||||
/.idea/workspace.xml
|
||||
/.msfu-prod/*
|
||||
/.msfu-dev/*
|
||||
# production
|
||||
/dist
|
||||
|
||||
# misc
|
||||
.DS_Store
|
||||
|
||||
# umi
|
||||
/src/.umi
|
||||
/src/.umi-production
|
||||
/src/.umi-test
|
||||
/.env.local
|
||||
@ -1,3 +0,0 @@
|
||||
.title {
|
||||
background: rgb(121, 242, 157);
|
||||
}
|
||||
@ -1,32 +0,0 @@
|
||||
import styles from "./index.less";
|
||||
import { Carousel } from "antd";
|
||||
|
||||
const contentStyle = {
|
||||
height: "160px",
|
||||
color: "#fff",
|
||||
lineHeight: "160px",
|
||||
textAlign: "center",
|
||||
background: "#364d79",
|
||||
};
|
||||
|
||||
export default function IndexPage() {
|
||||
return (
|
||||
<div>
|
||||
<h1 className={styles.title}>Page index</h1>
|
||||
<Carousel autoplay>
|
||||
<div>
|
||||
<h3 style={contentStyle}>1</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3 style={contentStyle}>2</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3 style={contentStyle}>3</h3>
|
||||
</div>
|
||||
<div>
|
||||
<h3 style={contentStyle}>4</h3>
|
||||
</div>
|
||||
</Carousel>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Loading…
Reference in new issue