Skip to content

Commit

Permalink
refactor: Pico v2 React example
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslarroche committed Jan 14, 2024
1 parent 21905b0 commit 57327c2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ Minimalist templates to discover Pico in action:
<details open>
<summary><strong>Pico v2 examples</strong></summary>

- **[Preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-html?file=%2Findex.html)**
- **[Preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-html)**
A pure HTML example, without package manager or JavaScript.

- **[React](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-react)**
A minimalist React example with Pico CSS
- **[React Class-less login](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-react)**
A minimal, class-less login page in React, with a custom primary color.
</details>

---
Expand Down
4 changes: 2 additions & 2 deletions v2-react/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<img src="https://picocss.com/img/logo.svg" width="64" height="64">
</a>

# Preview
# React Class-less login
| Pico version | Tech stack |
| ----- | ----- |
| 2 | React |

A minimalist React example with Pico CSS
A minimal, class-less login page in React, with a custom primary color.

[![Open in CodeSandbox](https://codesandbox.io/static/img/play-codesandbox.svg)](https://codesandbox.io/s/github/picocss/examples/tree/master/v2-react)
1 change: 1 addition & 0 deletions v2-react/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="color-scheme" content="light dark" />
<title>A minimalist React example • Pico CSS</title>
</head>
<body>
Expand Down

0 comments on commit 57327c2

Please sign in to comment.