-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
832d7b4
commit 83b98b1
Showing
10 changed files
with
80 additions
and
3 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,32 @@ | ||
<script lang="ts"> | ||
import "./app.css"; | ||
import { bugReportUrl } from "@/lib/util"; | ||
const queryString = window.location.search; | ||
const urlParams = new URLSearchParams(queryString); | ||
const errorMsg = | ||
urlParams.get("error") || | ||
"Unknown error. When creating a new issue, please make sure to include reproduction steps so we can figure out what's going on."; | ||
</script> | ||
|
||
<h1 class="text-2xl font-semibold">Uh oh, something went wrong!</h1> | ||
<div class="text-base"> | ||
<div | ||
class="font-mono text-base w-full font-semibold bg-error text-error-content px-4 py-3 rounded-sm shadow" | ||
> | ||
{errorMsg} | ||
</div> | ||
|
||
<p class="mt-4 flex flex-col gap-2"> | ||
If you're still having issues, please open an issue on GitHub. | ||
|
||
<a | ||
class="link" | ||
href={bugReportUrl(errorMsg)} | ||
target="_blank" | ||
rel="noopener noreferrer" | ||
> | ||
<button class="btn btn-primary btn-sm">Report an issue</button> | ||
</a> | ||
</p> | ||
</div> |
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,3 @@ | ||
@import "tailwindcss/base"; | ||
@import "tailwindcss/components"; | ||
@import "tailwindcss/utilities"; |
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,12 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
<title>Error with WakaTime for Figma</title> | ||
</head> | ||
<body> | ||
<div id="app" class="w-full p-6 m-0 flex flex-col gap-3"></div> | ||
<script type="module" src="./main.ts"></script> | ||
</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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { mount } from 'svelte'; | ||
import App from './App.svelte'; | ||
import './app.css'; | ||
|
||
const app = mount(App, { | ||
target: document.getElementById('app')!, | ||
}); | ||
|
||
export default app; |
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