From d3731da85ba5e8fece2e31612e57c10b687cb17e Mon Sep 17 00:00:00 2001 From: Aaron Robertshaw <60436221+aaronrobertshaw@users.noreply.github.com> Date: Thu, 25 May 2023 15:59:18 +1000 Subject: [PATCH 01/73] Add placeholder Library page --- .../edit-site/src/components/library/grid.js | 14 ++++++ .../edit-site/src/components/library/index.js | 47 +++++++++++++++++++ .../src/components/library/use-patterns.js | 5 ++ 3 files changed, 66 insertions(+) create mode 100644 packages/edit-site/src/components/library/grid.js create mode 100644 packages/edit-site/src/components/library/index.js create mode 100644 packages/edit-site/src/components/library/use-patterns.js diff --git a/packages/edit-site/src/components/library/grid.js b/packages/edit-site/src/components/library/grid.js new file mode 100644 index 00000000000000..96e021dabe052a --- /dev/null +++ b/packages/edit-site/src/components/library/grid.js @@ -0,0 +1,14 @@ +/** + * Internal dependencies + */ +import usePatterns from './use-patterns'; + +export default function Grid() { + const patterns = usePatterns(); + + return ( +
+ { __( + 'Turn this block into a pattern for you to reuse later' + ) } +
+