|
5 | 5 | <link rel="icon" type="image/svg+xml" href="/HDBDogOnly.svg" /> |
6 | 6 | <link rel="icon" type="dynamic-favicon" href="/favicon_purple.png" /> |
7 | 7 | <meta name="viewport" content="width=device-width, initial-scale=1.0" /> |
8 | | - <style> |
9 | | - * { |
10 | | - padding: 0; |
11 | | - margin: 0; |
12 | | - } |
| 8 | + <link rel="stylesheet" href="./running.css" type="text/css" /> |
| 9 | +</head> |
13 | 10 |
|
14 | | - #app-bg-color, |
15 | | - #app-bg-dots { |
16 | | - bottom: 0; |
17 | | - height: 100vh; |
18 | | - left: 0; |
19 | | - position: fixed; |
20 | | - right: 0; |
21 | | - top: 0; |
22 | | - width: 100vw; |
23 | | - } |
| 11 | +<body> |
24 | 12 |
|
25 | | - #app-bg-color { |
26 | | - background: linear-gradient(45deg, #312556, #403b8a, #7a3a87) !important; |
27 | | - z-index: -2; |
28 | | - } |
| 13 | +<div id="content"> |
29 | 14 |
|
30 | | - #app-bg-dots { |
31 | | - background: radial-gradient(#403b8a 1px, transparent 0); |
32 | | - background-size: 3px 3px; |
33 | | - z-index: -1; |
34 | | - } |
| 15 | + <img src="/HDBDogOnly.svg" width="100px" height="100px" alt="Harper Logo" /> |
35 | 16 |
|
36 | | - #content { |
37 | | - display: flex; |
38 | | - flex-direction: column; |
39 | | - justify-content: center; |
40 | | - align-items: center; |
41 | | - width: 100vw; |
42 | | - height: 100vh; |
43 | | - font-family: helvetica, sans-serif; |
44 | | - color: #efefef; |
45 | | - font-size: 12px; |
46 | | - line-height: 1.5; |
47 | | - } |
| 17 | + <h1>Server is Running!</h1> |
| 18 | + <p> |
| 19 | + Your Harper server is up and running. Choose how you'd like to get started: |
| 20 | + </p> |
48 | 21 |
|
49 | | - ul { |
50 | | - margin: 0; |
51 | | - padding-inline-start: 10px; |
52 | | - } |
| 22 | + <div class="card flex-row"> |
| 23 | + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="hsl(232.92, 80.9%, 60.98%)" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-sparkles w-6 h-6 text-blue-600 flex-shrink-0 mt-1" aria-hidden="true"> |
| 24 | + <path d="M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z"></path> |
| 25 | + <path d="M20 3v4"></path> |
| 26 | + <path d="M22 5h-4"></path> |
| 27 | + <path d="M4 17v2"></path> |
| 28 | + <path d="M5 18H3"></path> |
| 29 | + </svg> |
53 | 30 |
|
54 | | - a { |
55 | | - color: #efefef; |
56 | | - } |
| 31 | + <div> |
| 32 | + <div class="flex-row"> |
| 33 | + <h2>Connect to Harper Fabric</h2> |
| 34 | + <span class="badge"> |
| 35 | + Most Popular |
| 36 | + </span> |
| 37 | + </div> |
| 38 | + <p> |
| 39 | + Connect your server to Harper Fabric for cloud management, monitoring, and seamless collaboration. |
| 40 | + Access your instance from anywhere with full observability. |
| 41 | + </p> |
| 42 | + <a id="connectToHarperFabricAnchor" href="https://fabric.harper.fast/" target="_blank"> |
| 43 | + Connect to Harper Fabric |
| 44 | + </a> |
| 45 | + </div> |
| 46 | + </div> |
57 | 47 |
|
58 | | - hr { |
59 | | - width: 153px; |
60 | | - background-color: #efefef; |
61 | | - /* Modern Browsers */ |
62 | | - border: 0 none; |
63 | | - color: #efefef; |
64 | | - height: 1px !important; |
65 | | - overflow: hidden; |
66 | | - margin: 10px 0; |
67 | | - } |
68 | | - </style> |
69 | | -</head> |
| 48 | + <div class="card flex-row"> |
| 49 | + <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-terminal w-6 h-6 text-slate-600 flex-shrink-0 mt-1" aria-hidden="true"> |
| 50 | + <path d="M12 19h8"></path> |
| 51 | + <path d="m4 17 6-6-6-6"></path> |
| 52 | + </svg> |
70 | 53 |
|
71 | | -<body> |
72 | | -<div id="content"> |
73 | | - <img src="/HDBDogOnly.svg" width="100px" height="100px" alt="Harper Logo" /> |
74 | | - <hr /> |
75 | | - Harper is running! |
76 | | - <hr /> |
77 | | - Ready to learn more? |
78 | | - <ul> |
79 | | - <li><a href="https://studio.harperdb.io" target="_blank" rel="noopener noreferrer"> |
80 | | - Harper Studio</a></li> |
81 | | - <li><a href="https://docs.harperdb.io" target="_blank" rel="noopener noreferrer"> |
82 | | - Harper Documentation</a></li> |
83 | | - <li><a href="https://api.harperdb.io/" target="_blank" rel="noopener noreferrer"> |
84 | | - Harper API Examples</a></li> |
85 | | - </ul> |
| 54 | + <div> |
| 55 | + <h2>Manage Harper Offline</h2> |
| 56 | + <p> |
| 57 | + Prefer to work locally? Enable Harper Studio to configure and manage your instance |
| 58 | + directly from your development environment. |
| 59 | + </p> |
| 60 | + <p> |
| 61 | + Turn on localStudio in your harperdb-config.yaml: |
| 62 | + </p> |
| 63 | + <div class="code-snippet"> |
| 64 | + <code content="yaml">localStudio: |
| 65 | + enabled: true</code> |
| 66 | + </div> |
| 67 | + <p> |
| 68 | + Then refresh this page! |
| 69 | + </p> |
| 70 | + </div> |
| 71 | + </div> |
| 72 | + |
| 73 | + <!-- {/* Footer */}--> |
| 74 | + <div class="text-center text-slate-500"> |
| 75 | + <p> |
| 76 | + Need help? |
| 77 | + <a href="https://docs.harperdb.io/docs" target="_blank" rel="noopener noreferrer"> |
| 78 | + Check out our docs. |
| 79 | + </a> |
| 80 | + </p> |
| 81 | + </div> |
| 82 | + |
| 83 | +</div> |
| 84 | + |
| 85 | +<div id="app-bg-color"> |
| 86 | + <div class="orb-container"> |
| 87 | + <div class="orb"></div> |
| 88 | + </div> |
86 | 89 | </div> |
87 | | -<div id="app-bg-color"></div> |
88 | | -<div id="app-bg-dots"></div> |
| 90 | +<svg id="app-bg-grid" xmlns="http://www.w3.org/2000/svg"> |
| 91 | + <defs> |
| 92 | + <pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"> |
| 93 | + <animateTransform attributeType="xml" attributeName="patternTransform" type="translate" from="0 0" to="-40 -40" |
| 94 | + begin="0" dur="5s" repeatCount="indefinite"></animateTransform> |
| 95 | + <path d="M 40 0 L 0 0 0 40" fill="none" stroke="currentColor" /> |
| 96 | + </pattern> |
| 97 | + </defs> |
| 98 | + <rect width="100%" height="100%" fill="url(#grid)" /> |
| 99 | +</svg> |
| 100 | +<script src="./running.js" async></script> |
89 | 101 | </body> |
90 | 102 | </html> |
0 commit comments