Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion examples/demo/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
"lint": "tsc && eslint '**/*.{js,jsx,ts}' && prettier --check '**/*.{js,jsx,ts,yml,json}' --ignore-path ../../.gitignore"
},
"dependencies": {
"@acab/reset.css": "^0.5.3",
"@oddjs/odd": "^0.37.1",
"@oddjs/passkeys": "workspace:^",
"@oddjs/preact": "workspace:^",
Expand Down
Binary file added examples/demo/public/fonts/ApfelGrotezk-Fett.woff
Binary file not shown.
Binary file not shown.
Binary file not shown.
18 changes: 12 additions & 6 deletions examples/demo/public/logo-borderless.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
16 changes: 11 additions & 5 deletions examples/demo/public/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/demo/public/wave-background-dark.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/demo/public/wave-background-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added examples/demo/public/wave-foreground-light.webp
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
10 changes: 10 additions & 0 deletions examples/demo/src/app.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import Login from './login.jsx'
import Register from './register.jsx'
import ReloadPrompt from './prompt.jsx'
import Test from './test.jsx'
import { ReactComponent as OddLogo } from './assets/odd-logo.svg'

/** @type {import('@oddjs/odd').Configuration} */
const config = {
Expand Down Expand Up @@ -34,6 +35,15 @@ export function App() {
<Register path="/register" />
<Test path="/test" />
</Router>
<div class="powered-by-odd">
<div class="powered-by-wave">
<img class="powered-by-bg" src="/wave-background-light.webp" width="2080" height="120" alt="Wave background"/>
<img class="powered-by-fg" src="/wave-foreground-light.webp" width="2080" height="120" alt="Wave foreground"/>
</div>
<a class="powered-by-msg" href="https://odd.dev">
Powered by <OddLogo />
</a>
</div>
</main>
<ReloadPrompt />
</OddContextProvider>
Expand Down
Loading