forked from pu428f3pz/InternshipProject
Compare commits
1 Commits
| Author | SHA1 | Date |
|---|---|---|
|
|
981860e256 | 4 years ago |
@ -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