From c29014b3c19cf1b05501c402cd5e440baec17345 Mon Sep 17 00:00:00 2001 From: BlankParticle Date: Sun, 23 Jun 2024 18:07:04 +0530 Subject: [PATCH] fix: Fonts, designs and typos --- README.md | 2 +- .../[orgSlug]/_components/new-destination.tsx | 10 +-- src/app/layout.tsx | 2 +- src/app/page.tsx | 2 +- src/styles/globals.css | 66 +++++++++---------- 5 files changed, 41 insertions(+), 41 deletions(-) diff --git a/README.md b/README.md index 6b6597a..e134793 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ Check out [untun](https://github.com/unjs/untun) by the UnJs team_ `UnWebhook` is built with the following epic technologies & tools: -- [Nuxt JS](https://nuxt.com) Vue based FrontEnd & Backend + modules +- [Next JS](https://nextjs.com) React based FrontEnd & Backend - [Tailwind](https://tailwindcss.com/) CSS Engine - [tRPC](https://trpc.io/) Typesafe APIs - [DrizzleORM](https://orm.drizzle.team/) ORM + MySQL diff --git a/src/app/[orgSlug]/_components/new-destination.tsx b/src/app/[orgSlug]/_components/new-destination.tsx index 6355403..1ede668 100644 --- a/src/app/[orgSlug]/_components/new-destination.tsx +++ b/src/app/[orgSlug]/_components/new-destination.tsx @@ -80,15 +80,15 @@ export function NewDestinationDialog({ orgSlug }: { orgSlug: string }) { - Create New Endpoint + Create New Destination - A endpoint is a URL which will be used with the Webhooks you want to catch. + A destination is a URL where the events would be forwarded to.
@@ -108,7 +108,7 @@ export function NewDestinationDialog({ orgSlug }: { orgSlug: string }) { - The name of the endpoint, this will be displayed in the table. + The name of the destination, this will be displayed in the table. @@ -129,7 +129,7 @@ export function NewDestinationDialog({ orgSlug }: { orgSlug: string }) { )} /> diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b948526..3323251 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -23,7 +23,7 @@ export const metadata: Metadata = { export default function RootLayout({ children }: Readonly) { return ( - + +

UnWebhook

A Webhook Request Catcher/Relayer/Replayer by{" "} diff --git a/src/styles/globals.css b/src/styles/globals.css index ab89e42..ea01c62 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -5,47 +5,47 @@ @layer base { :root { --background: 0 0% 100%; - --foreground: 240 10% 3.9%; + --foreground: 222.2 84% 4.9%; --card: 0 0% 100%; - --card-foreground: 240 10% 3.9%; + --card-foreground: 222.2 84% 4.9%; --popover: 0 0% 100%; - --popover-foreground: 240 10% 3.9%; - --primary: 346.8 77.2% 49.8%; - --primary-foreground: 355.7 100% 97.3%; - --secondary: 240 4.8% 95.9%; - --secondary-foreground: 240 5.9% 10%; - --muted: 240 4.8% 95.9%; - --muted-foreground: 240 3.8% 46.1%; - --accent: 240 4.8% 95.9%; - --accent-foreground: 240 5.9% 10%; + --popover-foreground: 222.2 84% 4.9%; + --primary: 222.2 47.4% 11.2%; + --primary-foreground: 210 40% 98%; + --secondary: 210 40% 96.1%; + --secondary-foreground: 222.2 47.4% 11.2%; + --muted: 210 40% 96.1%; + --muted-foreground: 215.4 16.3% 46.9%; + --accent: 210 40% 96.1%; + --accent-foreground: 222.2 47.4% 11.2%; --destructive: 0 84.2% 60.2%; - --destructive-foreground: 0 0% 98%; - --border: 240 5.9% 90%; - --input: 240 5.9% 90%; - --ring: 346.8 77.2% 49.8%; + --destructive-foreground: 210 40% 98%; + --border: 214.3 31.8% 91.4%; + --input: 214.3 31.8% 91.4%; + --ring: 222.2 84% 4.9%; --radius: 1rem; } .dark { - --background: 20 14.3% 4.1%; - --foreground: 0 0% 95%; - --card: 24 9.8% 10%; - --card-foreground: 0 0% 95%; - --popover: 0 0% 9%; - --popover-foreground: 0 0% 95%; - --primary: 346.8 77.2% 49.8%; - --primary-foreground: 355.7 100% 97.3%; - --secondary: 240 3.7% 15.9%; - --secondary-foreground: 0 0% 98%; - --muted: 0 0% 15%; - --muted-foreground: 240 5% 64.9%; - --accent: 12 6.5% 15.1%; - --accent-foreground: 0 0% 98%; + --background: 222.2 84% 4.9%; + --foreground: 210 40% 98%; + --card: 222.2 84% 4.9%; + --card-foreground: 210 40% 98%; + --popover: 222.2 84% 4.9%; + --popover-foreground: 210 40% 98%; + --primary: 210 40% 98%; + --primary-foreground: 222.2 47.4% 11.2%; + --secondary: 217.2 32.6% 17.5%; + --secondary-foreground: 210 40% 98%; + --muted: 217.2 32.6% 17.5%; + --muted-foreground: 215 20.2% 65.1%; + --accent: 217.2 32.6% 17.5%; + --accent-foreground: 210 40% 98%; --destructive: 0 62.8% 30.6%; - --destructive-foreground: 0 85.7% 97.3%; - --border: 240 3.7% 15.9%; - --input: 240 3.7% 15.9%; - --ring: 346.8 77.2% 49.8%; + --destructive-foreground: 210 40% 98%; + --border: 217.2 32.6% 17.5%; + --input: 217.2 32.6% 17.5%; + --ring: 212.7 26.8% 83.9; } }