mirror of
https://github.com/chanzuckerberg/cellxgene.git
synced 2026-09-25 12:08:11 +08:00
move containers and header to framework
This commit is contained in:
@@ -0,0 +1,7 @@
|
||||
.primaryButton {
|
||||
border: 1px solid black;
|
||||
padding: 10px 15px;
|
||||
background: none;
|
||||
cursor: pointer;
|
||||
font-size: 14px;
|
||||
}
|
||||
@@ -0,0 +1,5 @@
|
||||
.container {
|
||||
max-width: 1200px;
|
||||
margin: auto;
|
||||
min-height: 100%;
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import React from 'react';
|
||||
|
||||
import styles from './container.css';
|
||||
|
||||
const Container = props => (
|
||||
<div className={styles.container}>
|
||||
{props.children}
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Container;
|
||||
@@ -0,0 +1,3 @@
|
||||
.header {
|
||||
background: red;
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
import React from 'react';
|
||||
|
||||
import Container from './container';
|
||||
import styles from './header.css';
|
||||
|
||||
|
||||
const Header = () => (
|
||||
<header className={styles.header}>
|
||||
<Container>
|
||||
|
||||
</Container>
|
||||
</header>
|
||||
);
|
||||
|
||||
export default Header;
|
||||
Reference in New Issue
Block a user