fix imports after renaming
This commit is contained in:
parent
31d07fdac8
commit
117726c6d8
@ -1,8 +1,8 @@
|
||||
import * as React from 'react';
|
||||
import { ThemeProvider } from 'styled-components';
|
||||
|
||||
import { Footer } from 'ts/components/Footer';
|
||||
import { Header } from 'ts/components/Header';
|
||||
import { Footer } from 'ts/components/footer';
|
||||
import { Header } from 'ts/components/header';
|
||||
import { ThemeContext } from 'ts/context';
|
||||
import { GlobalStyles } from 'ts/globalStyles';
|
||||
|
||||
|
@ -3,7 +3,7 @@ import styled from 'styled-components';
|
||||
|
||||
import { colors } from 'ts/variables';
|
||||
|
||||
import { Button as BaseButton } from './Button';
|
||||
import { Button as BaseButton } from './button';
|
||||
|
||||
const isTouch = Boolean(
|
||||
'ontouchstart' in window ||
|
||||
|
@ -3,9 +3,9 @@ import styled from 'styled-components';
|
||||
|
||||
import { colors, media } from 'ts/variables';
|
||||
|
||||
import { Breakout } from './Breakout';
|
||||
import { Container } from './Container';
|
||||
import { InlineCode } from './InlineCode';
|
||||
import { Breakout } from './breakout';
|
||||
import { Container } from './container';
|
||||
import { InlineCode } from './inline-code';
|
||||
|
||||
const Cards = styled.dl`
|
||||
column-count: 3;
|
||||
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
import { ContextInterface } from 'ts/context';
|
||||
import { media } from 'ts/variables';
|
||||
|
||||
import { Alpha, Beta } from './Typography';
|
||||
import { Alpha, Beta } from './typography';
|
||||
|
||||
const Base = styled.div`
|
||||
display: flex;
|
||||
|
@ -1,7 +1,7 @@
|
||||
import * as React from 'react';
|
||||
import styled from 'styled-components';
|
||||
|
||||
import { Container } from './Container';
|
||||
import { Container } from './container';
|
||||
|
||||
const StyledMain =
|
||||
styled.div <
|
||||
|
@ -8,8 +8,8 @@ import { context as trace } from 'ts/context/trace';
|
||||
import MainIcon from 'ts/icons/logos/0x.svg';
|
||||
import { media } from 'ts/variables';
|
||||
|
||||
import { Container } from './Container';
|
||||
import { Alpha, Beta } from './Typography';
|
||||
import { Container } from './container';
|
||||
import { Alpha, Beta } from './typography';
|
||||
|
||||
const tools = [trace, cov, compiler, profiler];
|
||||
|
||||
|
@ -4,8 +4,8 @@ import styled from 'styled-components';
|
||||
import { ContextInterface, ThemeContext } from 'ts/context';
|
||||
import { media } from 'ts/variables';
|
||||
|
||||
import { Container } from './Container';
|
||||
import { Small } from './Typography';
|
||||
import { Container } from './container';
|
||||
import { Small } from './typography';
|
||||
|
||||
const Header: React.StatelessComponent<{}> = () => (
|
||||
<ThemeContext.Consumer>
|
||||
|
@ -4,8 +4,8 @@ import styled from 'styled-components';
|
||||
import { ContextInterface, ThemeContext } from 'ts/context';
|
||||
import { media } from 'ts/variables';
|
||||
|
||||
import { Button } from './Button';
|
||||
import { Beta } from './Typography';
|
||||
import { Button } from './button';
|
||||
import { Beta } from './typography';
|
||||
|
||||
const Hero: React.StatelessComponent<ContextInterface> = ({ children }) => (
|
||||
<ThemeContext.Consumer>
|
||||
|
@ -3,9 +3,9 @@ import styled from 'styled-components';
|
||||
|
||||
import { colors, media } from 'ts/variables';
|
||||
|
||||
import { Breakout } from './Breakout';
|
||||
import { Container } from './Container';
|
||||
import { Alpha, Lead } from './Typography';
|
||||
import { Breakout } from './breakout';
|
||||
import { Container } from './container';
|
||||
import { Alpha, Lead } from './typography';
|
||||
|
||||
const Main = styled.div`
|
||||
background-color: ${colors.lightGray};
|
||||
|
@ -4,7 +4,7 @@ import styled from 'styled-components';
|
||||
|
||||
import { colors } from 'ts/variables';
|
||||
|
||||
import { Breakout } from './Breakout';
|
||||
import { Breakout } from './breakout';
|
||||
|
||||
const StyledTabList = styled(TabList)`
|
||||
text-transform: uppercase;
|
||||
|
@ -8,10 +8,10 @@ import TimeConsuming from 'ts/icons/time-consuming.svg';
|
||||
import TimeSaving from 'ts/icons/time-saving.svg';
|
||||
import { colors, media } from 'ts/variables';
|
||||
|
||||
import { Breakout } from './Breakout';
|
||||
import { Code } from './Code';
|
||||
import { Container } from './Container';
|
||||
import { Alpha, Gamma, Lead } from './Typography';
|
||||
import { Breakout } from './breakout';
|
||||
import { Code } from './code';
|
||||
import { Container } from './container';
|
||||
import { Alpha, Gamma, Lead } from './typography';
|
||||
|
||||
const Trace: React.StatelessComponent<{}> = () => (
|
||||
<ThemeContext.Consumer>
|
||||
|
@ -4,18 +4,18 @@ import * as Loadable from 'react-loadable';
|
||||
|
||||
import { context } from 'ts/context/compiler';
|
||||
|
||||
import { Base } from 'ts/components/Base';
|
||||
import { Breakout } from 'ts/components/Breakout';
|
||||
import { Code } from 'ts/components/Code';
|
||||
import { Compiler as CompilerComponent } from 'ts/components/Compiler';
|
||||
import { Content } from 'ts/components/Content';
|
||||
import { ContentBlock } from 'ts/components/ContentBlock';
|
||||
import { Hero } from 'ts/components/Hero';
|
||||
import { InlineCode } from 'ts/components/InlineCode';
|
||||
import { Lead } from 'ts/components/Typography';
|
||||
import { Base } from 'ts/components/base';
|
||||
import { Breakout } from 'ts/components/breakout';
|
||||
import { Code } from 'ts/components/code';
|
||||
import { Compiler as CompilerComponent } from 'ts/components/compiler';
|
||||
import { Content } from 'ts/components/content';
|
||||
import { ContentBlock } from 'ts/components/content-block';
|
||||
import { Hero } from 'ts/components/hero';
|
||||
import { InlineCode } from 'ts/components/inline-code';
|
||||
import { Lead } from 'ts/components/typography';
|
||||
|
||||
const Animation = Loadable({
|
||||
loader: () => System.import(/* webpackChunkName: 'compiler-animation' */ 'ts/components/Animations/Compiler'),
|
||||
loader: () => System.import(/* webpackChunkName: 'compiler-animation' */ 'ts/components/animations/compiler'),
|
||||
loading: () => <div />,
|
||||
delay: 1000,
|
||||
render(loadable: { Animation: any }): React.ReactNode {
|
||||
|
@ -4,19 +4,19 @@ import * as Loadable from 'react-loadable';
|
||||
|
||||
import { context } from 'ts/context/cov';
|
||||
|
||||
import { Base } from 'ts/components/Base';
|
||||
import { Breakout } from 'ts/components/Breakout';
|
||||
import { Code } from 'ts/components/Code';
|
||||
import { Content } from 'ts/components/Content';
|
||||
import { ContentBlock } from 'ts/components/ContentBlock';
|
||||
import { Hero } from 'ts/components/Hero';
|
||||
import { InlineCode } from 'ts/components/InlineCode';
|
||||
import { Intro, IntroAside, IntroLead } from 'ts/components/Intro';
|
||||
import { List, ListItem } from 'ts/components/List';
|
||||
import { TabBlock, Tabs } from 'ts/components/Tabs';
|
||||
import { Base } from 'ts/components/base';
|
||||
import { Breakout } from 'ts/components/breakout';
|
||||
import { Code } from 'ts/components/code';
|
||||
import { Content } from 'ts/components/content';
|
||||
import { ContentBlock } from 'ts/components/content-block';
|
||||
import { Hero } from 'ts/components/hero';
|
||||
import { InlineCode } from 'ts/components/inline-code';
|
||||
import { Intro, IntroAside, IntroLead } from 'ts/components/intro';
|
||||
import { List, ListItem } from 'ts/components/list';
|
||||
import { TabBlock, Tabs } from 'ts/components/tabs';
|
||||
|
||||
const Animation = Loadable({
|
||||
loader: () => System.import(/* webpackChunkName: 'cov-animation' */ 'ts/components/Animations/Cov'),
|
||||
loader: () => System.import(/* webpackChunkName: 'cov-animation' */ 'ts/components/animations/cov'),
|
||||
loading: () => <div />,
|
||||
delay: 1000,
|
||||
render(loadable: { Animation: any }): React.ReactNode {
|
||||
|
@ -4,19 +4,19 @@ import * as Loadable from 'react-loadable';
|
||||
|
||||
import { context } from 'ts/context/profiler';
|
||||
|
||||
import { Base } from 'ts/components/Base';
|
||||
import { Breakout } from 'ts/components/Breakout';
|
||||
import { Code } from 'ts/components/Code';
|
||||
import { Content } from 'ts/components/Content';
|
||||
import { ContentBlock } from 'ts/components/ContentBlock';
|
||||
import { Hero } from 'ts/components/Hero';
|
||||
import { InlineCode } from 'ts/components/InlineCode';
|
||||
import { Intro, IntroAside, IntroLead } from 'ts/components/Intro';
|
||||
import { List, ListItem } from 'ts/components/List';
|
||||
import { TabBlock, Tabs } from 'ts/components/Tabs';
|
||||
import { Base } from 'ts/components/base';
|
||||
import { Breakout } from 'ts/components/breakout';
|
||||
import { Code } from 'ts/components/code';
|
||||
import { Content } from 'ts/components/content';
|
||||
import { ContentBlock } from 'ts/components/content-block';
|
||||
import { Hero } from 'ts/components/hero';
|
||||
import { InlineCode } from 'ts/components/inline-code';
|
||||
import { Intro, IntroAside, IntroLead } from 'ts/components/intro';
|
||||
import { List, ListItem } from 'ts/components/list';
|
||||
import { TabBlock, Tabs } from 'ts/components/tabs';
|
||||
|
||||
const Animation = Loadable({
|
||||
loader: () => System.import(/* webpackChunkName: 'profiler-animation' */ 'ts/components/Animations/Profiler'),
|
||||
loader: () => System.import(/* webpackChunkName: 'profiler-animation' */ 'ts/components/animations/profiler'),
|
||||
loading: () => <div />,
|
||||
delay: 1000,
|
||||
render(loadable: { Animation: any }): React.ReactNode {
|
||||
|
@ -4,19 +4,19 @@ import * as Loadable from 'react-loadable';
|
||||
|
||||
import { context } from 'ts/context/trace';
|
||||
|
||||
import { Base } from 'ts/components/Base';
|
||||
import { Breakout } from 'ts/components/Breakout';
|
||||
import { Code } from 'ts/components/Code';
|
||||
import { Content } from 'ts/components/Content';
|
||||
import { ContentBlock } from 'ts/components/ContentBlock';
|
||||
import { Hero } from 'ts/components/Hero';
|
||||
import { InlineCode } from 'ts/components/InlineCode';
|
||||
import { List, ListItem } from 'ts/components/List';
|
||||
import { TabBlock, Tabs } from 'ts/components/Tabs';
|
||||
import { Trace as TraceComponent } from 'ts/components/Trace';
|
||||
import { Base } from 'ts/components/base';
|
||||
import { Breakout } from 'ts/components/breakout';
|
||||
import { Code } from 'ts/components/code';
|
||||
import { Content } from 'ts/components/content';
|
||||
import { ContentBlock } from 'ts/components/content-block';
|
||||
import { Hero } from 'ts/components/hero';
|
||||
import { InlineCode } from 'ts/components/inline-code';
|
||||
import { List, ListItem } from 'ts/components/list';
|
||||
import { TabBlock, Tabs } from 'ts/components/tabs';
|
||||
import { Trace as TraceComponent } from 'ts/components/trace';
|
||||
|
||||
const Animation = Loadable({
|
||||
loader: () => System.import(/* webpackChunkName: 'trace-animation' */ 'ts/components/Animations/Trace'),
|
||||
loader: () => System.import(/* webpackChunkName: 'trace-animation' */ 'ts/components/animations/trace'),
|
||||
loading: () => <div />,
|
||||
delay: 1000,
|
||||
render(loadable: { Animation: any }): React.ReactNode {
|
||||
|
Loading…
x
Reference in New Issue
Block a user