init
This commit is contained in:
1 parent
5c809539d5
commit
9eebe059f4
1255 files changed
+90283
-9
No files matched your search
@@ -0,0 +1,17 @@
|
||||
import styles from './styles.module.less';
|
||||
|
||||
export interface IProps {
|
||||
title: string;
|
||||
desc: string;
|
||||
}
|
||||
|
||||
export default function SubHeader(props: IProps) {
|
||||
return (
|
||||
<div className={styles.bg}>
|
||||
<span>
|
||||
<h2>{props.title}</h2>
|
||||
<p>{props.desc}</p>
|
||||
</span>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Whitespace-only changes.
@@ -0,0 +1,16 @@
|
||||
.bg {
|
||||
height: 240px;
|
||||
margin-top: 60px;
|
||||
background-image: url('/assets/images/userbg.png');
|
||||
background-repeat: no-repeat;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
text-align: center;
|
||||
color: #fff;
|
||||
h2 {
|
||||
font-weight: bolder;
|
||||
margin-bottom: 20px;
|
||||
font-size: 38px;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user