-
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
60117c9
commit ae84b3c
Showing
28 changed files
with
458 additions
and
517 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,25 @@ | ||
import { Hono } from 'hono' | ||
import { etag } from 'hono/etag' | ||
import { logger } from 'hono/logger' | ||
import { jwt } from 'hono/jwt' | ||
import { Hono } from "hono"; | ||
import { etag } from "hono/etag"; | ||
import { logger } from "hono/logger"; | ||
import { jwt } from "hono/jwt"; | ||
|
||
const app = new Hono() | ||
const app = new Hono(); | ||
|
||
app.use(etag(), logger()) | ||
app.use(etag(), logger()); | ||
|
||
app.get('/', (c) => { | ||
return c.text('Hello Hono!') | ||
}) | ||
app.get("/", (c) => { | ||
return c.text("Hello Hono!"); | ||
}); | ||
|
||
app.use( | ||
'/auth/*', | ||
"/auth/*", | ||
jwt({ | ||
secret: 'it-is-very-secret', | ||
}) | ||
) | ||
secret: "it-is-very-secret", | ||
}), | ||
); | ||
|
||
app.get('/auth/page', (c) => { | ||
return c.text('You are authorized') | ||
}) | ||
app.get("/auth/page", (c) => { | ||
return c.text("You are authorized"); | ||
}); | ||
|
||
export default app | ||
export default app; |
Large diffs are not rendered by default.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
"use client" | ||
"use client"; | ||
|
||
export * from "./hero" | ||
export * from "./vision" | ||
export * from "./hero"; | ||
export * from "./vision"; |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export function ConnectButton() { | ||
return <w3m-button /> | ||
} | ||
return <w3m-button />; | ||
} |
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 |
---|---|---|
@@ -1,6 +1,6 @@ | ||
"use client" | ||
"use client"; | ||
|
||
export * from "./layout" | ||
export * from "./footer" | ||
export * from "./navbar" | ||
export * from "./connectButton" | ||
export * from "./layout"; | ||
export * from "./footer"; | ||
export * from "./navbar"; | ||
export * from "./connectButton"; |
Oops, something went wrong.