diff --git a/client/constants/Pattern.ts b/client/constants/Pattern.ts index 36c774e..ca1f16d 100644 --- a/client/constants/Pattern.ts +++ b/client/constants/Pattern.ts @@ -37,9 +37,10 @@ enum Pattern { FloatingLabel = 'Floating label', FullScreenMenu = 'Full screen menu', HolyGrail = 'Holy grail', - KeyboardShortcut = 'Keyboard shortcut', InitialAvatar = 'Initial avatar', InputAddon = 'Input addon', + KeyboardShortcut = 'Keyboard shortcut', + LinedPaper = 'Lined paper', MediaObject = 'Media object', MegaMenu = 'Mega menu', Menu = 'Menu', diff --git a/client/pages/ExplorePage.tsx b/client/pages/ExplorePage.tsx index 1df6279..db33d99 100644 --- a/client/pages/ExplorePage.tsx +++ b/client/pages/ExplorePage.tsx @@ -167,8 +167,9 @@ const ExplorePage = () => { - + + diff --git a/client/patterns/lined-paper/Cover.tsx b/client/patterns/lined-paper/Cover.tsx new file mode 100644 index 0000000..329da83 --- /dev/null +++ b/client/patterns/lined-paper/Cover.tsx @@ -0,0 +1,36 @@ +/** + * A collection of popular layouts and patterns made with CSS (https://csslayout.io) + * (c) 2019 - 2020 Nguyen Huu Phuoc + */ + +import React from 'react'; + +import Frame from '../../placeholders/Frame'; + +const Cover: React.FC<{}> = () => { + return ( + +
+
+
+ + ); +}; + +export default Cover; diff --git a/client/patterns/lined-paper/Details.tsx b/client/patterns/lined-paper/Details.tsx new file mode 100644 index 0000000..bda06a2 --- /dev/null +++ b/client/patterns/lined-paper/Details.tsx @@ -0,0 +1,74 @@ +/** + * A collection of popular layouts and patterns made with CSS (https://csslayout.io) + * (c) 2019 - 2020 Nguyen Huu Phuoc + */ + +import React from 'react'; +import { Helmet } from 'react-helmet'; + +import DetailsLayout from '../../layouts/DetailsLayout'; +import BrowserFrame from '../../placeholders/BrowserFrame'; + +const Details: React.FC<{}> = () => { + return ( + + + + + +
+ +
+
+ Cascading Style Sheets (CSS) is a style sheet language used for + describing the presentation of a document written in a markup + language like HTML. CSS is a cornerstone technology of the World Wide Web, + alongside HTML and JavaScript. +
+
— Wikipedia
+
+
+ )} + source={` +
+ ... +
+`} + /> +
+ + ); +}; + +export default Details; diff --git a/public/sitemap.xml b/public/sitemap.xml index 4f0b426..e04d9a7 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -36,6 +36,7 @@ https://csslayout.io/patterns/initial-avatar https://csslayout.io/patterns/input-addon https://csslayout.io/patterns/keyboard-shortcut + https://csslayout.io/patterns/lined-paper https://csslayout.io/patterns/media-object https://csslayout.io/patterns/mega-menu https://csslayout.io/patterns/menu