|
4 | 4 | * See License-AGPL.txt in the project root for license information.
|
5 | 5 | */
|
6 | 6 |
|
| 7 | +import SelectableCard from "../components/SelectableCard"; |
7 | 8 | import { SettingsPage } from "./SettingsPage";
|
8 | 9 |
|
9 | 10 | export default function Plans() {
|
10 | 11 | return <div>
|
11 | 12 | <SettingsPage title='Plans' subtitle='Manage account usage and billing.'>
|
12 | 13 | <h3>Plans</h3>
|
| 14 | + <div className="flex space-x-2"> |
| 15 | + <SelectableCard className="w-56 h-80" title="FREE" selected={true} onClick={() => {}}> |
| 16 | + <div className="mt-5 mb-5 flex flex-col items-center justify-center"> |
| 17 | + <p className="text-3xl text-gray-500 font-bold">50</p> |
| 18 | + <p className="text-base text-gray-500 font-bold">hours</p> |
| 19 | + </div> |
| 20 | + <div className="flex-grow"> |
| 21 | + <p>✓ Public Repositories</p> |
| 22 | + <p>✓ 4 Parallel Workspaces</p> |
| 23 | + <p>✓ 30 min Timeout</p> |
| 24 | + </div> |
| 25 | + <div> |
| 26 | + <p className="text-center mb-2 mt-4">FREE</p> |
| 27 | + <button className="w-full">Current Plan</button> |
| 28 | + </div> |
| 29 | + </SelectableCard> |
| 30 | + <SelectableCard className="w-56 h-80" title="PERSONAL" selected={false} onClick={() => {}}> |
| 31 | + <div className="mt-5 mb-5 flex flex-col items-center justify-center"> |
| 32 | + <p className="text-3xl text-gray-500 font-bold">100</p> |
| 33 | + <p className="text-base text-gray-500 font-bold">hours</p> |
| 34 | + </div> |
| 35 | + <div className="flex-grow"> |
| 36 | + <p>← Everything in Free</p> |
| 37 | + <p>✓ Private Repositories</p> |
| 38 | + </div> |
| 39 | + <div> |
| 40 | + <p className="text-center mb-2 mt-4">€8 per month</p> |
| 41 | + <button className="w-full border-green-600 text-green-600 bg-white hover:border-green-800 hover:text-green-800">Upgrade</button> |
| 42 | + </div> |
| 43 | + </SelectableCard> |
| 44 | + </div> |
13 | 45 | </SettingsPage>
|
14 | 46 | </div>;
|
15 | 47 | }
|
|
0 commit comments