From ee82a7677a31f6c02f6cacd94edffd3fcca18780 Mon Sep 17 00:00:00 2001 From: DIYgod Date: Tue, 16 Aug 2022 21:00:02 +0100 Subject: [PATCH] feat: add logo --- public/logo.svg | 1 + src/components/main/MainLayout.tsx | 8 +++++++- src/pages/dashboard/[subdomain]/index.tsx | 12 ++++-------- .../dashboard/[subdomain]/settings/general.tsx | 2 +- src/pages/index.tsx | 14 ++++++++------ 5 files changed, 21 insertions(+), 16 deletions(-) create mode 100644 public/logo.svg diff --git a/public/logo.svg b/public/logo.svg new file mode 100644 index 00000000..4ff81610 --- /dev/null +++ b/public/logo.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/src/components/main/MainLayout.tsx b/src/components/main/MainLayout.tsx index 65b412ce..88c5b23c 100644 --- a/src/components/main/MainLayout.tsx +++ b/src/components/main/MainLayout.tsx @@ -11,6 +11,7 @@ import { SEOHead } from "../common/SEOHead" import { UniLink } from "../ui/UniLink" import { ConnectButton } from "../common/ConnectButton" import { getSiteLink } from "~/lib/helpers" +import Image from "next/image" export function MainLayout({ children, @@ -28,7 +29,12 @@ export function MainLayout({ />
-

{APP_NAME}

+
+
+ {APP_NAME} +
+ {APP_NAME.toUpperCase()} +
diff --git a/src/pages/dashboard/[subdomain]/index.tsx b/src/pages/dashboard/[subdomain]/index.tsx index 105b6222..95cfe461 100644 --- a/src/pages/dashboard/[subdomain]/index.tsx +++ b/src/pages/dashboard/[subdomain]/index.tsx @@ -2,6 +2,7 @@ import { useRouter } from "next/router" import { DashboardLayout } from "~/components/dashboard/DashboardLayout" import { DashboardMain } from "~/components/dashboard/DashboardMain" import { UniLink } from "~/components/ui/UniLink" +import Image from "next/image" export default function SubdomainIndex() { const router = useRouter() @@ -10,14 +11,9 @@ export default function SubdomainIndex() {
-

- - - -

+
+ logo +

Hello there,

This page is quite empty for now, but we will polish it very soon! diff --git a/src/pages/dashboard/[subdomain]/settings/general.tsx b/src/pages/dashboard/[subdomain]/settings/general.tsx index a515ced5..eb8333fc 100644 --- a/src/pages/dashboard/[subdomain]/settings/general.tsx +++ b/src/pages/dashboard/[subdomain]/settings/general.tsx @@ -92,7 +92,7 @@ export default function SiteSettingsGeneralPage() { label="Google Analytics" help={

- Integrate Google Analytics into your xlog. You can follow the + Integrate Google Analytics into your site. You can follow the instructions{" "} { return { @@ -125,7 +125,7 @@ export default function Home({ region }: { region: string | null }) { Blogging geekily.

- Meet xlog, the on-chain and{" "} + Meet {APP_NAME}, the on-chain and{" "} open-source blogging platform for everyone.

@@ -189,7 +189,7 @@ export default function Home({ region }: { region: string | null }) { - xlog + {APP_NAME} Mirror.xyz {comparing.map((item, index) => ( @@ -207,17 +207,19 @@ export default function Home({ region }: { region: string | null }) {
-

logo

+
+ logo +
{addressIn ? ( - + ) : ( )}