Skip to content

Commit 6e8beca

Browse files
authored
Merge pull request #112 from crashmax-dev/website/add-badge
feat(website): add r3dev badge
2 parents f90f12f + 3d1e9cb commit 6e8beca

File tree

4 files changed

+19
-2
lines changed

4 files changed

+19
-2
lines changed

pnpm-lock.yaml

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/index.html

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,14 @@
55
<meta charset="UTF-8">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
77
<title>fireworks-js</title>
8-
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎆</text></svg>">
8+
<link rel="icon"
9+
href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>🎆</text></svg>">
910
<link rel="stylesheet" href="/index.css">
1011
</head>
1112

1213
<body>
14+
<r3-badge href="https://www.upwork.com/o/companies/~01e5f1563365e3c1b5/"
15+
style="position: absolute; bottom: 1rem; right: 1rem; z-index: 999999;"></r3-badge>
1316
<div class="container">
1417
<div>🎆</div>
1518
<h1>fireworks-js</h1>
@@ -18,7 +21,8 @@ <h2>A simple fireworks library!</h2>
1821
<span class="label">Visit on GitHub</span>
1922
</a>
2023
</div>
21-
<div class="fireworks-container" style="background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;"></div>
24+
<div class="fireworks-container"
25+
style="background-size: cover; background-position: 50% 50%; background-repeat: no-repeat;"></div>
2226
<script type="module" src="./src/index.ts"></script>
2327
</body>
2428

website/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
"build": "vite build"
99
},
1010
"dependencies": {
11+
"@r3-dev/brand": "1.2.0",
1112
"@tweakpane/core": "1.1.4",
1213
"@tweakpane/plugin-essentials": "0.1.7",
1314
"fireworks-js": "workspace:*",

website/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import {
88
mainContainer
99
} from './config.js'
1010
import type { FpsGraphBladeApi } from '@tweakpane/plugin-essentials/dist/types/fps-graph/api/fps-graph'
11+
import '@r3-dev/brand'
1112

1213
declare global {
1314
interface Window {

0 commit comments

Comments
 (0)