1
0
mirror of https://github.com/phuoc-ng/csslayout.git synced 2025-08-06 14:16:50 +02:00

Update README

This commit is contained in:
Phuoc Nguyen
2020-04-04 21:56:01 +07:00
parent 90946d08b2
commit d8a73c035c
3 changed files with 37 additions and 17 deletions

View File

@@ -47,20 +47,20 @@ this
- Clone the project:
~~~
~~~ console
$ git clone https://github.com/phuoc-ng/csslayout
~~~
- Install the dependencies:
~~~
~~~ console
$ cd csslayout
$ npm install
~~~
- Run it on the local:
~~~
~~~ console
$ npm run dev-server
~~~
@@ -72,7 +72,7 @@ PRs are welcomed. If you thing there are any missing useful layouts or patterns,
It's important to note that you should run the following command to lint the code:
~~~
~~~ console
$ npm run lint
~~~
@@ -80,8 +80,22 @@ If there is any issue, it will be logged in the `tslint.log` file.
## About
This project is developed by [Nguyen Huu Phuoc](https://twitter.com/nghuuphuoc).
You might be interesting in my projects:
* [FormValidation](https://formvalidation.io)
* [BlurPage](https://blur.page)
* [React PDF Viewer](https://react-pdf-viewer.dev)
This project is developed by _Nguyen Huu Phuoc_. I love building products and sharing knowledge.
Be my friend on
* [Twitter](https://twitter.com/nghuuphuoc)
* [dev.to](https://dev.to/phuocng)
* [Github](https://github.com/phuoc-ng)
## Products
You might be interesting in my products:
| Product | Description |
|---------------------------------------------------|-------------------------------------------------------------------|
| [Blur Page](https://blur.page) | A browser extension to hide sensitive information on a web page |
| [CSS Layout](https://csslayout.io) | A collection of popular layouts and patterns made with CSS |
| [Fake Numbers](https://fakenumbers.io) | Generate fake and valid numbers |
| [Form Validation](https://formvalidation.io) | The best validation library for JavaScript |
| [HTML DOM](https://htmldom.dev) | How to manage HTML DOM with vanilla JavaScript |
| [React PDF Viewer](https://react-pdf-viewer.dev) | A React component to view a PDF document |

View File

@@ -24,7 +24,9 @@ const Footer: React.FC<{}> = () => {
title="BlurPage - a browser extension to hide sensitive element on page"
>
<div className='font-semibold'>Blur Page</div>
<span className='text-gray-600'>a browser extension to hide sensitive element on page</span>
<span className='text-gray-600'>
a browser extension to hide sensitive element on page
</span>
</a>
</li>
<li className='w-1/2 sm:w-1/3 px-1 mb-6'>
@@ -36,7 +38,9 @@ const Footer: React.FC<{}> = () => {
title="CSS Layout - a collection of popular layouts and patterns made with CSS"
>
<div className='font-semibold'>CSS Layout</div>
<span className='text-gray-600'>a collection of popular layouts and patterns made with CSS</span>
<span className='text-gray-600'>
a collection of popular layouts and patterns made with CSS
</span>
</a>
</li>
<li className='w-1/2 sm:w-1/3 px-1 mb-6'>
@@ -72,7 +76,9 @@ const Footer: React.FC<{}> = () => {
title="HTML DOM - Common tasks of managing HTML DOM with native API"
>
<div className='font-semibold'>HTML DOM</div>
<span className='text-gray-600'>common tasks of managing HTML DOM with vanilla JavaScript</span>
<span className='text-gray-600'>
common tasks of managing HTML DOM with vanilla JavaScript
</span>
</a>
</li>
<li className='w-1/2 sm:w-1/3 px-1 mb-6'>

View File

@@ -56,7 +56,7 @@ const ExplorePage = () => {
<section>
<Heading title="Layout" />
<div className='xl:border-l xl:border-r xl:border-gray-400' style={{ display: 'flex', flexWrap: 'wrap', padding: '32px' }}>
<div className='xl:border-l xl:border-r xl:border-gray-400 flex flex-wrap p-8'>
<CoverCard pattern={Pattern.CardLayout} />
<CoverCard pattern={Pattern.HolyGrail} />
<CoverCard pattern={Pattern.SameHeightColumns} />
@@ -72,7 +72,7 @@ const ExplorePage = () => {
<section>
<Heading title="Navigation" />
<div className='xl:border-l xl:border-r xl:border-gray-400' style={{ display: 'flex', flexWrap: 'wrap', padding: '32px' }}>
<div className='xl:border-l xl:border-r xl:border-gray-400 flex flex-wrap p-8'>
<CoverCard pattern={Pattern.Breadcrumb} />
<CoverCard pattern={Pattern.CircularNavigation} />
<CoverCard pattern={Pattern.DotNavigation} />
@@ -93,7 +93,7 @@ const ExplorePage = () => {
<section>
<Heading title="Input" />
<div className='xl:border-l xl:border-r xl:border-gray-400' style={{ display: 'flex', flexWrap: 'wrap', padding: '32px' }}>
<div className='xl:border-l xl:border-r xl:border-gray-400 flex flex-wrap p-8'>
<CoverCard pattern={Pattern.ButtonWithIcon} />
<CoverCard pattern={Pattern.Chip} />
<CoverCard pattern={Pattern.CustomCheckboxButton} />
@@ -116,7 +116,7 @@ const ExplorePage = () => {
<section>
<Heading title="Display" />
<div className='xl:border-l xl:border-r xl:border-gray-400' style={{ display: 'flex', flexWrap: 'wrap', padding: '32px' }}>
<div className='xl:border-l xl:border-r xl:border-gray-400 flex flex-wrap p-8'>
<CoverCard pattern={Pattern.Accordion} />
<CoverCard pattern={Pattern.ArrowButtons} />
<CoverCard pattern={Pattern.Avatar} />
@@ -166,7 +166,7 @@ const ExplorePage = () => {
<section>
<Heading title="Feedback" />
<div className='xl:border-b xl:border-l xl:border-r xl:border-gray-400' style={{ display: 'flex', flexWrap: 'wrap', padding: '32px' }}>
<div className='xl:border-b xl:border-l xl:border-r xl:border-gray-400 flex flex-wrap p-8'>
<CoverCard pattern={Pattern.Modal} />
<CoverCard pattern={Pattern.Notification} />
<CoverCard pattern={Pattern.PopoverArrow} />