-
Notifications
You must be signed in to change notification settings - Fork 461
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: remove storybook; improve deps
- Loading branch information
1 parent
34c3b12
commit da9d822
Showing
22 changed files
with
1,336 additions
and
8,664 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
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
File renamed without changes.
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,65 @@ | ||
import React from 'react' | ||
import Head from './head' | ||
|
||
const Dummy = () => ( | ||
<div> | ||
<Head title="Hello" /> | ||
<div className="h-100 w-full flex items-center justify-center bg-teal-lightest font-sans"> | ||
<div className="bg-white rounded shadow p-6 m-4 w-full lg:w-3/4 lg:max-w-lg"> | ||
<div className="mb-4"> | ||
<h1 className="text-grey-darkest">Todo List</h1> | ||
<div className="flex mt-4"> | ||
<input | ||
className="shadow appearance-none border rounded w-full py-2 px-3 mr-4 text-grey-darker" | ||
placeholder="Add Todo" | ||
/> | ||
<button | ||
type="button" | ||
className="flex-no-shrink p-2 border-2 rounded text-teal border-teal hover:text-white hover:bg-teal" | ||
> | ||
Add | ||
</button> | ||
</div> | ||
</div> | ||
<div> | ||
<div className="flex mb-4 items-center"> | ||
<p className="w-full text-grey-darkest">Add another component to Tailwind Components</p> | ||
<button | ||
type="button" | ||
className="flex-no-shrink p-2 ml-4 mr-2 border-2 rounded hover:text-white text-green border-green hover:bg-green" | ||
> | ||
Done | ||
</button> | ||
<button | ||
type="button" | ||
className="flex-no-shrink p-2 ml-2 border-2 rounded text-red border-red hover:text-white hover:bg-red" | ||
> | ||
Remove | ||
</button> | ||
</div> | ||
<div className="flex mb-4 items-center"> | ||
<p className="w-full line-through text-green"> | ||
Submit Todo App Component to Tailwind Components | ||
</p> | ||
<button | ||
type="button" | ||
className="flex-no-shrink p-2 ml-4 mr-2 border-2 rounded hover:text-white text-grey border-grey hover:bg-grey" | ||
> | ||
Not Done | ||
</button> | ||
<button | ||
type="button" | ||
className="flex-no-shrink p-2 ml-2 border-2 rounded text-red border-red hover:text-white hover:bg-red" | ||
> | ||
Remove | ||
</button> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
|
||
Dummy.propTypes = {} | ||
|
||
export default React.memo(Dummy) |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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,9 @@ | ||
import React from 'react' | ||
import ReactDOM from 'react-dom' | ||
import Root from './config/root' | ||
|
||
import './assets/scss/main.scss' | ||
|
||
const target = document.getElementById('root') | ||
|
||
ReactDOM.render(<Root />, target) |
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
Oops, something went wrong.