Adjust deep import logic

This commit is contained in:
2018-05-11 20:15:06 +10:00
parent 126025ea9f
commit fe6454d108
6 changed files with 114 additions and 6 deletions

View File

@ -23,10 +23,10 @@
import React from 'react';
import Page from './../Page';
import VideoSection from './../../section/video/VideoSection';
import Section from './../../section/Section';
import { Section, VideoSection } from './../../section/Sections';
import FloatingContentBox from './../../content/FloatingContentBox';
import Button from './../../input/button/Button';
import { Button } from './../../input/Inputs';
import { Title, Subtitle } from './../../typography/Typography';
class Homepage extends React.Component {
constructor(props) {
@ -37,9 +37,9 @@ class Homepage extends React.Component {
return (
<Page style="home-page">
<VideoSection full>
<FloatingContentBox position="middle right" size="medium" className="u-text-right">
<h1>My Cool Page</h1>
<p>Lorem ipsum dolor</p>
<FloatingContentBox position="middle right" size="medium" className="u-text-center">
<Title>My Cool Page</Title>
<Subtitle>Lorem ipsum dolor</Subtitle>
<Button>Hello</Button>
</FloatingContentBox>
</VideoSection>