-
-
Notifications
You must be signed in to change notification settings - Fork 381
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
New website
- Loading branch information
Showing
8 changed files
with
2,264 additions
and
2,181 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
[build] | ||
base = "website" | ||
command = "yarn build" | ||
publish = "website/public" | ||
|
||
[context.production] | ||
command = "yarn build:pp" | ||
publish = "website/public" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
https://loadable-components.netlify.com/* https://loadable-components.smooth-code.com/:splat 301! | ||
https://loadable-components.netlify.com/* https://loadable-components.com/:splat 301! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
/* eslint-disable react/jsx-one-expression-per-line */ | ||
/* eslint-disable jsx-a11y/accessible-emoji */ | ||
import React from 'react' | ||
import { Box } from '@xstyled/styled-components' | ||
import Helmet from 'react-helmet' | ||
import { HomeHero, ShowCase, BaseLayout } from 'smooth-doc/components' | ||
|
||
export default function Index() { | ||
return ( | ||
<BaseLayout> | ||
<Helmet> | ||
<title>Loadable Components - React code splitting</title> | ||
</Helmet> | ||
|
||
<HomeHero title="React code splitting made easy." /> | ||
|
||
<ShowCase> | ||
<Box maxWidth={660} px={20}> | ||
<Box row> | ||
<Box col={{ xs: 1, md: true }}> | ||
<h2>What is it?</h2> | ||
<ul> | ||
<li>A React code splitting library</li> | ||
<li>Not an alternative to React.lazy</li> | ||
<li> | ||
A solution{' '} | ||
<a | ||
href="https://reactjs.org/docs/code-splitting.html#reactlazy" | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
recommended by React Team | ||
</a> | ||
</li> | ||
</ul> | ||
</Box> | ||
<Box col={{ xs: 1, md: 'auto' }}> | ||
<h2>Features</h2> | ||
<ul> | ||
<li>📚 Library splitting</li> | ||
<li>⚡️ Prefetching</li> | ||
<li>💫 Server Side Rendering</li> | ||
<li>🎛 Full dynamic import</li> | ||
</ul> | ||
</Box> | ||
</Box> | ||
</Box> | ||
</ShowCase> | ||
</BaseLayout> | ||
) | ||
} |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.