This file contains hidden or 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
| test |
This file contains hidden or 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
| import { ImageResponse } from "@vercel/og"; | |
| import random from "random-seed"; | |
| export const config = { | |
| runtime: "edge", | |
| }; | |
| function hslToHex(h, s, l) { | |
| l /= 100; | |
| const a = (s * Math.min(l, 1 - l)) / 100; |
This file contains hidden or 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
| import React, { useState, useEffect } from "react"; | |
| import styles from "./StepWizard.module.css"; | |
| export function StepWizard({ | |
| children = [], | |
| className = null, | |
| initialStep = 1, | |
| isHashEnabled = false, | |
| isLazyMount = false, | |
| transitions = undefined, |
This file contains hidden or 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
| FROM denoland/deno:1.23.4 | |
| EXPOSE 3001 | |
| WORKDIR /app | |
| COPY deps.ts . | |
| RUN deno cache deps.ts | |
| COPY . . |
This file contains hidden or 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
| //pages/api/proxy/get-by-username/[username].js | |
| import noblox from "noblox.js"; | |
| export default async function handler(req, res) { | |
| const { username } = req.query; | |
| const id = await noblox.getIdFromUsername(username); | |
| const user = await noblox.getPlayerInfo(1); |