mirror of
https://github.com/versia-pub/docs.git
synced 2025-12-06 06:18:19 +01:00
refactor: ♻️ Use new Versia branding
This commit is contained in:
parent
d3a2d84a40
commit
8e92899b84
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
|
|
||||||
<p align="center">
|
<p align="center">
|
||||||
<a href="https://versia.pub"><img src="https://cdn.versia.pub/branding/versia-dark.webp" alt="Versia Logo" height="110"></a>
|
<a href="https://versia.pub"><img src="https://cdn.versia.pub/branding/logo-dark.svg" alt="Versia Logo" height="110"></a>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ import type { Section } from "../components/SectionProvider";
|
||||||
import { Providers } from "./providers";
|
import { Providers } from "./providers";
|
||||||
|
|
||||||
import "@/styles/tailwind.css";
|
import "@/styles/tailwind.css";
|
||||||
import logo from "@/images/branding/logo.webp";
|
|
||||||
import type { ReactNode } from "react";
|
import type { ReactNode } from "react";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
|
|
@ -19,11 +18,9 @@ export const metadata: Metadata = {
|
||||||
openGraph: {
|
openGraph: {
|
||||||
type: "article",
|
type: "article",
|
||||||
images: {
|
images: {
|
||||||
url: logo.src,
|
url: "https://cdn.versia.pub/branding/icon.svg",
|
||||||
alt: "Versia logo",
|
alt: "Versia logo",
|
||||||
height: logo.height,
|
type: "image/svg+xml",
|
||||||
width: logo.width,
|
|
||||||
type: "image/webp",
|
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,3 @@
|
||||||
import logo from "@/images/branding/logo.webp";
|
|
||||||
import clsx from "clsx";
|
import clsx from "clsx";
|
||||||
import type { ComponentPropsWithoutRef } from "react";
|
import type { ComponentPropsWithoutRef } from "react";
|
||||||
|
|
||||||
|
|
@ -11,7 +10,11 @@ export function Logo(props: ComponentPropsWithoutRef<"div">) {
|
||||||
props.className,
|
props.className,
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<img src={logo.src} alt="Logo" className="h-full rounded-sm" />
|
<img
|
||||||
|
src="https://cdn.versia.pub/branding/icon.svg"
|
||||||
|
alt="Logo"
|
||||||
|
className="h-full rounded-sm"
|
||||||
|
/>
|
||||||
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
|
<span className="fill-zinc-900 dark:fill-white font-semibold text-lg">
|
||||||
Versia Protocol
|
Versia Protocol
|
||||||
</span>
|
</span>
|
||||||
|
|
|
||||||
Binary file not shown.
|
Before Width: | Height: | Size: 4 KiB After Width: | Height: | Size: 4.8 KiB |
Loading…
Reference in a new issue