-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from hypothesis/quick-library-intro-page
Add a very simple introductory page to the pattern library
- Loading branch information
Showing
4 changed files
with
45 additions
and
10 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 |
---|---|---|
@@ -0,0 +1,38 @@ | ||
import Library from './Library'; | ||
|
||
export default function LibraryHome() { | ||
return ( | ||
<Library.Page title="Pattern Library"> | ||
<p> | ||
This pattern library demonstrates foundations, patterns and components | ||
that can be used in Hypothesis front-end applications. | ||
</p> | ||
|
||
<h2 className="LibraryPage__subheading">Foundations</h2> | ||
|
||
<p> | ||
<strong>Foundations</strong> are the core design system elements—colors, | ||
spacing systems, typography—that define the underlying design | ||
fundamentals in Hypothesis UI. | ||
</p> | ||
|
||
<p>They exist independently of implementation.</p> | ||
|
||
<h2 className="LibraryPage__subheading">Patterns</h2> | ||
|
||
<p> | ||
<strong>Patterns</strong> are modular implementations of the design | ||
system <strong>foundations</strong>—from the atomic to the complex. | ||
These implementations are in HTML and CSS. | ||
</p> | ||
|
||
<h2 className="LibraryPage__subheading">Components</h2> | ||
|
||
<p> | ||
<strong>Components</strong> are{' '} | ||
<a href="https://preactjs.com/">Preact</a> components that are built | ||
using underlying <strong>patterns</strong>. | ||
</p> | ||
</Library.Page> | ||
); | ||
} |
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
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