style: change app logo

This commit is contained in:
oiov
2025-10-29 14:59:05 +08:00
parent 67c814f194
commit 3da9930247
19 changed files with 64 additions and 75 deletions

View File

@@ -224,7 +224,7 @@ pnpm dev
[爱发电主页打赏](wr.do/afdhome)
<img width="100" src="https://wr.do/bbpt9z" />
<img width="100" src="https://wr.do/bbpt9z?ref=https://github.com/oiov/wr.do" />
## Star History

View File

@@ -4,8 +4,9 @@ import HeroLanding, { LandingImages } from "@/components/sections/hero-landing";
import { PricingSection } from "@/components/sections/pricing";
export const metadata = constructMetadata({
title: "WR.DO - Your all-in-one domain services platform",
description: "List and manage records.",
title: "WR.DO - Your All-In-One Domain Services Platform",
description:
"All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs",
});
export default async function IndexPage() {

View File

@@ -484,7 +484,7 @@ export default function UserUrlsList({ user, action }: UrlListProps) {
<div className="flex h-full flex-col rounded-lg border border-dotted bg-white px-3 py-1.5 backdrop-blur-lg dark:bg-black">
<div className="flex items-center justify-between gap-1">
<BlurImage
src={`https://unavatar.io/${extractHostname(short.target)}?fallback=https://wr.do/logo.png`}
src={`https://unavatar.io/${extractHostname(short.target)}?fallback=https://wr.do/logo-192.png`}
alt="logo"
width={30}
height={30}

View File

@@ -1,7 +1,7 @@
{
"name": "WR.DO",
"short_name": "WR.DO",
"description": "Shorten links with analytics, manage emails and control subdomains—all on one platform.",
"description": "All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs.",
"appid": "com.wr.do",
"versionName": "1.1.6",
"versionCode": "1",
@@ -9,17 +9,17 @@
"orientation": "portrait",
"icons": [
{
"src": "./_static/logo.svg",
"src": "./_static/logo-192.png",
"sizes": "192x192",
"type": "image/svg+xml"
"type": "image/png"
},
{
"src": "./_static/logo.svg",
"src": "./_static/logo-512.png",
"sizes": "512x512",
"type": "image/svg+xml"
"type": "image/png"
}
],
"theme_color": "#ffffff",
"background_color": "#ffffff",
"theme_color": "#000",
"background_color": "#000",
"display": "standalone"
}

View File

@@ -27,10 +27,9 @@ export function SiteFooter({ className }: React.HTMLAttributes<HTMLElement>) {
</Link>
</div>
<div className="mt-4 text-sm">
Shorten links with analytics, manage emails, <br />
create private chats, and control subdomains
All-in-one domain platform with short links, temp email,
<br />
all on one platform.
subdomain management, file storage, and open APIs.
</div>
<GitHubStarsWithSuspense className="mt-4" owner="oiov" repo="wr.do" />
</div>

View File

@@ -6,36 +6,26 @@ export default function LogoIcon({
}) {
return (
<svg
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
strokeWidth="3"
strokeLinecap="round"
strokeLinejoin="round"
className={className}
{...props}
>
<path color="#0070f3" strokeWidth="3" d="m12 14 4-4" />
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop
offset="0%"
style={{ stopColor: "rgb(35, 35, 35)", stopOpacity: "1" }}
/>
<stop
offset="100%"
style={{ stopColor: "rgb(100, 100, 100)", stopOpacity: "1" }}
/>
</linearGradient>
</defs>
<path
d="M3.34 19a10 10 0 1 1 17.32 0"
stroke="url(#gradient)"
strokeWidth="3"
/>
<circle cx="512" cy="512" r="512" className="fill-black" />
<g transform="translate(512, 512) scale(0.7) translate(-512, -512)">
<path
d="M655.36 89.813333L216.533333 309.12c-52.053333 26.026667-63.36 95.573333-22.186666 136.746667L413.866667 665.173333c41.173333 41.173333 110.72 29.866667 136.746666-22.186666L769.92 204.16c36.693333-73.386667-41.173333-151.04-114.56-114.346667z"
fill="#FFFFFF"
/>
<path
d="M368.64 934.186667l438.826667-219.306667c52.053333-26.026667 63.36-95.573333 22.186666-136.746667L610.133333 358.826667c-41.173333-41.173333-110.72-29.866667-136.746666 22.186666L254.08 819.84c-36.693333 73.386667 41.173333 151.04 114.56 114.346667z"
fill="#cdeeff"
/>
</g>
</svg>
);
}

View File

@@ -9,7 +9,7 @@ const app_name = env.NEXT_PUBLIC_APP_NAME || "WR.DO";
export const siteConfig: SiteConfig = {
name: app_name,
description:
"Shorten links with analytics, manage emails and control subdomains—all on one platform.",
"All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs.",
url: site_url,
ogImage: `${site_url}/_static/og.jpg`,
links: {

View File

@@ -5,7 +5,7 @@ description: Welcome to the WR.DO documentation.
## Introduction
WR.DO is a all-in-one web utility platform featuring short links with analytics, temporary email service, subdomain management, open APIs for screenshots and metadata extraction, plus comprehensive admin dashboard.
All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs
## Features

View File

@@ -21,4 +21,4 @@ export const QR_LEVELS = ["L", "M", "Q", "H"] as const;
// get an explicit height or width, I'd rather default to something than throw.
export const DEFAULT_IMG_SCALE = 0.1;
export const WRDO_QR_LOGO = "https://wr.do/logo.png";
export const WRDO_QR_LOGO = "https://wr.do/logo-192.png";

View File

@@ -60,8 +60,8 @@ const nextConfig = {
rewrites() {
return [
{
source: "/logo.png",
destination: "/_static/logo.png",
source: "/logo-192.png",
destination: "/_static/logo-192.png",
},
];
},

BIN
public/_static/logo-192.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

BIN
public/_static/logo-512.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -1,20 +1,19 @@
<svg
xmlns="http://www.w3.org/2000/svg"
width="48"
height="48"
viewBox="0 0 24 24"
fill="none"
stroke="currentColor"
stroke-width="3"
stroke-linecap="round"
stroke-linejoin="round"
>
<path color="#0070f3" stroke-width="3" d="m12 14 4-4" />
<defs>
<linearGradient id="gradient" x1="0%" y1="0%" x2="100%" y2="0%">
<stop offset="0%" style="stop-color:rgb(35, 35, 35);stop-opacity:1" />
<stop offset="100%" style="stop-color:rgb(100,100,100);stop-opacity:1" />
</linearGradient>
</defs>
<path d="M3.34 19a10 10 0 1 1 17.32 0" stroke="url(#gradient)" stroke-width="3" />
</svg>
<svg
viewBox="0 0 1024 1024"
version="1.1"
xmlns="http://www.w3.org/2000/svg"
width="24"
height="24"
>
<circle cx="512" cy="512" r="512" fill="#000000" />
<g transform="translate(512, 512) scale(0.7) translate(-512, -512)">
<path
d="M655.36 89.813333L216.533333 309.12c-52.053333 26.026667-63.36 95.573333-22.186666 136.746667L413.866667 665.173333c41.173333 41.173333 110.72 29.866667 136.746666-22.186666L769.92 204.16c36.693333-73.386667-41.173333-151.04-114.56-114.346667z"
fill="#FFFFFF"
/>
<path
d="M368.64 934.186667l438.826667-219.306667c52.053333-26.026667 63.36-95.573333 22.186666-136.746667L610.133333 358.826667c-41.173333-41.173333-110.72-29.866667-136.746666 22.186666L254.08 819.84c-36.693333 73.386667 41.173333 151.04 114.56 114.346667z"
fill="#cdeeff"
/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 637 B

After

Width:  |  Height:  |  Size: 913 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

After

Width:  |  Height:  |  Size: 15 KiB

View File

@@ -2,7 +2,7 @@
> Wr.do is a platform designed for developers, offering various tools and documentation aimed at simplifying web application development. The website provides resources on authentication, cloud integration, email handling, and more, establishing a comprehensive guide for users to effectively utilize its services. With examples and quick-start guides, it supports developers in implementing features quickly and efficiently.
- [WR.DO](https://wr.do/): Shorten links with analytics, manage emails and control subdomains—all on one platform.
- [WR.DO](https://wr.do/): All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs.
- [Introduction  WR.DO](https://wr.do/docs): Welcome to the WR.DO documentation.
## Documentation

View File

@@ -1,7 +1,7 @@
{
"name": "WR.DO",
"short_name": "WR.DO",
"description": "Shorten links with analytics, manage emails and control subdomains—all on one platform.",
"description": "All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs.",
"appid": "com.wr.do",
"versionName": "1.1.6",
"versionCode": "1",
@@ -9,14 +9,14 @@
"orientation": "portrait",
"icons": [
{
"src": "./_static/logo.svg",
"src": "./_static/logo-192.png",
"sizes": "192x192",
"type": "image/svg+xml"
"type": "image/png"
},
{
"src": "./_static/logo.svg",
"src": "./_static/logo-512.png",
"sizes": "512x512",
"type": "image/svg+xml"
"type": "image/png"
}
],
"theme_color": "#ffffff",

View File

@@ -1,7 +1,7 @@
{
"name": "WR.DO",
"short_name": "WR.DO",
"description": "Shorten links with analytics, manage emails and control subdomains—all on one platform.",
"description": "All-in-one domain platform with short links, temp email, subdomain management, file storage, and open APIs.",
"appid": "com.wr.do",
"versionName": "1.1.6",
"versionCode": "1",
@@ -9,14 +9,14 @@
"orientation": "portrait",
"icons": [
{
"src": "./_static/logo.svg",
"src": "./_static/logo-192.png",
"sizes": "192x192",
"type": "image/svg+xml"
"type": "image/png"
},
{
"src": "./_static/logo.svg",
"src": "./_static/logo-512.png",
"sizes": "512x512",
"type": "image/svg+xml"
"type": "image/png"
}
],
"theme_color": "#ffffff",

File diff suppressed because one or more lines are too long