add social links

This commit is contained in:
oiov
2025-04-24 18:43:53 +08:00
parent 3c0bd3b8be
commit a8e5ca6426
11 changed files with 2581 additions and 8 deletions
+4 -1
View File
@@ -62,7 +62,10 @@ const getBenefits = (plan) => [
export const PricingSection = () => {
return (
<section className="relative overflow-hidden bg-zinc-50 text-zinc-800 selection:bg-zinc-200 dark:bg-zinc-950 dark:text-zinc-200 dark:selection:bg-zinc-600">
<section
id="pricing"
className="relative overflow-hidden bg-zinc-50 text-zinc-800 selection:bg-zinc-200 dark:bg-zinc-950 dark:text-zinc-200 dark:selection:bg-zinc-600"
>
<div className="absolute inset-0 bg-[radial-gradient(100%_100%_at_50%_0%,rgba(245,245,245,0.8),rgba(240,240,240,1))] dark:bg-[radial-gradient(100%_100%_at_50%_0%,rgba(13,13,17,1),rgba(9,9,11,1))]"></div>
<div className="relative z-10 mx-auto max-w-5xl px-4 py-20 md:px-8">
<div className="mb-12 space-y-3">
+2
View File
@@ -6,6 +6,7 @@ import {
ArrowUpRight,
BadgeHelp,
BookOpen,
BotMessageSquare,
Bug,
Calendar,
Camera,
@@ -87,6 +88,7 @@ export const Icons = {
lock: LockKeyhole,
unLock: LockKeyholeOpen,
listFilter: ListFilter,
botMessageSquare: BotMessageSquare,
pwdKey: ({ ...props }: LucideProps) => (
<svg
height="18"
+5 -5
View File
@@ -78,21 +78,21 @@ export const sidebarLinks: SidebarNavItem[] = [
title: "OPTIONS",
items: [
{ href: "/dashboard/settings", icon: "settings", title: "Settings" },
{ href: "/", icon: "home", title: "Homepage" },
{ href: "/docs", icon: "bookOpen", title: "Documentation" },
{ href: siteConfig.links.github, icon: "github", title: "Github" },
{
href: siteConfig.links.oichat,
icon: "botMessageSquare",
title: "OiChat",
},
{
href: siteConfig.links.feedback,
icon: "messageQuoted",
title: "Feedback",
},
// { href: siteConfig.links.discord, icon: "discord", title: "Discord" },
{
href: "mailto:" + siteConfig.mailSupport,
icon: "mail",
title: "Support",
// authorizeOnly: UserRole.USER,
// disabled: true,
},
],
},
+8
View File
@@ -4,6 +4,10 @@ import { siteConfig } from "./site";
export const marketingConfig: MarketingConfig = {
mainNav: [
{
title: "OiChat",
href: siteConfig.links.oichat,
},
{
title: "Docs",
href: "/docs",
@@ -16,5 +20,9 @@ export const marketingConfig: MarketingConfig = {
title: "Discord",
href: "https://discord.gg/AHPQYuZu3m",
},
{
title: "Pricing",
href: "#pricing",
},
],
};
+2
View File
@@ -17,6 +17,7 @@ export const siteConfig: SiteConfig = {
github: "https://github.com/oiov/wr.do",
feedback: "https://github.com/oiov/wr.do/issues",
discord: "https://discord.gg/AHPQYuZu3m",
oichat: "https://oi.wr.do",
},
mailSupport: "support@wr.do",
openSignup: open_signup === "1" ? true : false,
@@ -43,6 +44,7 @@ export const footerLinks: SidebarNavItem[] = [
{ title: "Moise", href: "https://moise.oiov.dev" },
// { title: "Inke", href: "https://inke.wr.do" },
{ title: "Iconce", href: "https://iconce.com" },
{ title: "OiChat", href: siteConfig.links.oichat },
],
},
{
+101 -1
View File
File diff suppressed because one or more lines are too long
+1
View File
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
+1
View File
@@ -14,6 +14,7 @@ export type SiteConfig = {
github: string;
feedback: string;
discord: string;
oichat: string;
};
openSignup: boolean;
shortDomains: string[];