-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
180 additions
and
29 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
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
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,4 @@ | ||
<footer id="footer"> | ||
@2023 Runtime.land | v0.1.4 | 2023-10-30 02:39 UTC | ||
</footer> | ||
<script src="https://cdnjs.cloudflare.com/ajax/libs/flowbite/2.0.0/flowbite.min.js"></script> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
{{> partials/meta.hbs}} | ||
</head> | ||
|
||
<body> | ||
{{> partials/navbar.hbs}} | ||
<main id="main"> | ||
<div id="project-top"> | ||
<h1>spryest-pyknoses-242</h1> | ||
<span class="count">PENDING PRODUCTION DEPLOYMENT</span> | ||
</div> | ||
<div id="project-navbar"> | ||
|
||
</div> | ||
<div id="projects-list" class="mt-6"> | ||
<div class="flex space-x-4"> | ||
<div class="project-card"> | ||
<div class="card-left"> | ||
<div class="card-title">spryest-pyknoses-242</div> | ||
<div class="card-metadata"> | ||
<span class="item">Rust</span> | ||
<span class="item">1 Deploys</span> | ||
<span class="item">30 Days ago</span> | ||
</div> | ||
<div class="card-link"> | ||
<a href="#"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" | ||
class="w-5 h-5 inline-block mr-1"> | ||
<path fill-rule="evenodd" | ||
d="M4.25 5.5a.75.75 0 00-.75.75v8.5c0 .414.336.75.75.75h8.5a.75.75 0 00.75-.75v-4a.75.75 0 011.5 0v4A2.25 2.25 0 0112.75 17h-8.5A2.25 2.25 0 012 14.75v-8.5A2.25 2.25 0 014.25 4h5a.75.75 0 010 1.5h-5z" | ||
clip-rule="evenodd" /> | ||
<path fill-rule="evenodd" | ||
d="M6.194 12.753a.75.75 0 001.06.053L16.5 4.44v2.81a.75.75 0 001.5 0v-4.5a.75.75 0 00-.75-.75h-4.5a.75.75 0 000 1.5h2.553l-9.056 8.194a.75.75 0 00-.053 1.06z" | ||
clip-rule="evenodd" /> | ||
</svg> | ||
spryest-pyknoses-242.binary.com</a> | ||
</div> | ||
</div> | ||
<div class="card-right"> | ||
<a href="#" class="action-button">Running</a> | ||
</div> | ||
</div> | ||
<div class="project-card"> | ||
<div class="card-left"> | ||
<div class="card-title">spryest-pyknoses-242</div> | ||
<div class="card-metadata"> | ||
<span class="item">Rust</span> | ||
<span class="item">1 Deploys</span> | ||
<span class="item">30 Days ago</span> | ||
</div> | ||
</div> | ||
<div class="card-right"> | ||
<a href="#" class="action-button">Running</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</main> | ||
{{> partials/footer.hbs}} | ||
</body> | ||
|
||
</html> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,57 @@ | ||
<!doctype html> | ||
<html> | ||
|
||
<head> | ||
{{> partials/meta.hbs}} | ||
</head> | ||
|
||
<body> | ||
<main id="login-main"> | ||
<div id="sign-in"></div> | ||
<div id="sign-in-btn-container"> | ||
<button id="sign-in-button" disabled onclick="clerkOpen()">Loading Sign-in Panel via Clerk.js</button> | ||
</div> | ||
</main> | ||
<script async crossorigin="anonymous" | ||
data-clerk-publishable-key="pk_test_cGV0LW1vb3NlLTc1LmNsZXJrLmFjY291bnRzLmRldiQ" onload="clerkLoad()" | ||
src="https://pet-moose-75.clerk.accounts.dev/npm/@clerk/clerk-js@4/dist/clerk.browser.js" | ||
type="text/javascript"> | ||
</script> | ||
<script type="text/javascript"> | ||
async function clerkLoad() { | ||
await window.Clerk.load({ | ||
afterSignInUrl: "/projects", | ||
afterSignUpUrl: "/projects", | ||
}); | ||
// if clerk is signed in, redirect to projects page | ||
if (window.Clerk.session && window.Clerk.user) { | ||
await window.Clerk.navigate('/projects'); // TODO: target should from query string "redirect=xxx" | ||
return; | ||
} | ||
// show sign-in panel | ||
const signInComponent = document.querySelector('#sign-in'); | ||
window.Clerk.openSignIn(signInComponent, { | ||
appearance: { | ||
baseTheme: "dark" | ||
} | ||
}); | ||
// update sign-in button to open sign-in panel | ||
let button = document.querySelector('#sign-in-button'); | ||
button.disabled = false; | ||
button.textContent = "Sign-in via Clerk.js" | ||
} | ||
async function clerkOpen() { | ||
await window.Clerk.openSignIn({ | ||
appearance: { | ||
baseTheme: "dark" | ||
} | ||
}); | ||
} | ||
</script> | ||
</body> | ||
|
||
</html> |