mirror of
https://github.com/gosticks/react-bootstrap-table2.git
synced 2025-10-16 11:55:39 +00:00
Add <Logo /> to hero in home page
This commit is contained in:
parent
8b3fc4a662
commit
ac52d17a3b
@ -12,6 +12,12 @@ const SplashContainer = props => (
|
|||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
||||||
|
const Logo = props => (
|
||||||
|
<div className="projectLogo">
|
||||||
|
<img src={props.img_src} />
|
||||||
|
</div>
|
||||||
|
);
|
||||||
|
|
||||||
const ProjectTitle = () => (
|
const ProjectTitle = () => (
|
||||||
<h2 className="projectTitle">
|
<h2 className="projectTitle">
|
||||||
{siteConfig.title}
|
{siteConfig.title}
|
||||||
@ -33,7 +39,7 @@ class HomeSplash extends React.Component {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<SplashContainer>
|
<SplashContainer>
|
||||||
{/* <Logo img_src={imgUrl('docusaurus.svg')} /> */}
|
<Logo img_src={utils.imgUrl('logo/pure-color-square.svg')} />
|
||||||
<div className="inner">
|
<div className="inner">
|
||||||
<ProjectTitle />
|
<ProjectTitle />
|
||||||
<PromoSection>
|
<PromoSection>
|
||||||
|
|||||||
@ -21,7 +21,6 @@ const Block = props => (
|
|||||||
<Container
|
<Container
|
||||||
padding={['bottom', 'top']}
|
padding={['bottom', 'top']}
|
||||||
id={props.id}
|
id={props.id}
|
||||||
background={props.background}
|
|
||||||
>
|
>
|
||||||
<GridBlock
|
<GridBlock
|
||||||
align={ props.align || 'center' }
|
align={ props.align || 'center' }
|
||||||
@ -58,10 +57,10 @@ const Features = () => (
|
|||||||
);
|
);
|
||||||
|
|
||||||
const LearnHow = () => (
|
const LearnHow = () => (
|
||||||
<Block background="light" align="left">
|
<Block align="left">
|
||||||
{[
|
{[
|
||||||
{
|
{
|
||||||
content: 'Intuitive to use. <br/>Compatible for Bootstrap 3 and 4. <br/>Better than legacy react-bootstrap-table2!!<br/>',
|
content: 'Intuitive to use. <br/>Compatible for Bootstrap 3 and 4. <br/>Better than legacy react-bootstrap-table!!<br/>',
|
||||||
image: imgUrl('react-bootstrap-table2-sample.png'),
|
image: imgUrl('react-bootstrap-table2-sample.png'),
|
||||||
imageAlign: 'right',
|
imageAlign: 'right',
|
||||||
title: 'react-bootstrap-table2',
|
title: 'react-bootstrap-table2',
|
||||||
|
|||||||
@ -15,6 +15,10 @@
|
|||||||
@media only screen and (min-width: 1500px) {
|
@media only screen and (min-width: 1500px) {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.homeContainer .homeWrapper .projectLogo {
|
||||||
|
justify-content: flex-start;
|
||||||
|
}
|
||||||
|
|
||||||
.feature-block .blockImage img {
|
.feature-block .blockImage img {
|
||||||
width: 48px;
|
width: 48px;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user