add feedback lins
This commit is contained in:
@@ -4,7 +4,6 @@ import { useCallback, useEffect, useRef, useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { useSearchParams } from "next/navigation";
|
||||
import randomName from "@scaleway/random-name";
|
||||
import { is } from "cheerio/lib/api/traversing";
|
||||
import {
|
||||
Check,
|
||||
Copy,
|
||||
|
||||
@@ -41,6 +41,7 @@ import {
|
||||
Mail,
|
||||
MailOpen,
|
||||
MailPlus,
|
||||
MessageSquareQuote,
|
||||
MessagesSquare,
|
||||
Moon,
|
||||
MoreVertical,
|
||||
@@ -183,6 +184,7 @@ export const Icons = {
|
||||
logo: LogoIcon,
|
||||
media: Image,
|
||||
messages: MessagesSquare,
|
||||
messageQuoted: MessageSquareQuote,
|
||||
moon: Moon,
|
||||
page: File,
|
||||
package: Package,
|
||||
|
||||
+6
-1
@@ -81,7 +81,12 @@ export const sidebarLinks: SidebarNavItem[] = [
|
||||
{ href: "/", icon: "home", title: "Homepage" },
|
||||
{ href: "/docs", icon: "bookOpen", title: "Documentation" },
|
||||
{ href: siteConfig.links.github, icon: "github", title: "Github" },
|
||||
{ href: siteConfig.links.discord, icon: "discord", title: "Discord" },
|
||||
{
|
||||
href: siteConfig.links.feedback,
|
||||
icon: "messageQuoted",
|
||||
title: "Feedback",
|
||||
},
|
||||
// { href: siteConfig.links.discord, icon: "discord", title: "Discord" },
|
||||
{
|
||||
href: "mailto:" + siteConfig.mailSupport,
|
||||
icon: "mail",
|
||||
|
||||
@@ -1,11 +1,17 @@
|
||||
import { MarketingConfig } from "types";
|
||||
|
||||
import { siteConfig } from "./site";
|
||||
|
||||
export const marketingConfig: MarketingConfig = {
|
||||
mainNav: [
|
||||
{
|
||||
title: "Docs",
|
||||
href: "/docs",
|
||||
},
|
||||
{
|
||||
title: "Feedback",
|
||||
href: siteConfig.links.feedback,
|
||||
},
|
||||
{
|
||||
title: "Discord",
|
||||
href: "https://discord.gg/AHPQYuZu3m",
|
||||
|
||||
@@ -17,6 +17,7 @@ export const siteConfig: SiteConfig = {
|
||||
links: {
|
||||
twitter: "https://twitter.com/yesmoree",
|
||||
github: "https://github.com/oiov/wr.do",
|
||||
feedback: "https://github.com/oiov/wr.do/issues",
|
||||
discord: "https://discord.gg/AHPQYuZu3m",
|
||||
},
|
||||
mailSupport: "support@wr.do",
|
||||
@@ -38,6 +39,7 @@ export const footerLinks: SidebarNavItem[] = [
|
||||
{ title: "Terms", href: "/terms" },
|
||||
{ title: "Privacy", href: "/privacy" },
|
||||
{ title: "Blog", href: "https://www.oiov.dev" },
|
||||
{ title: "Feedback", href: siteConfig.links.feedback },
|
||||
],
|
||||
},
|
||||
{
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+1
@@ -12,6 +12,7 @@ export type SiteConfig = {
|
||||
links: {
|
||||
twitter: string;
|
||||
github: string;
|
||||
feedback: string;
|
||||
discord: string;
|
||||
};
|
||||
freeQuota: {
|
||||
|
||||
Reference in New Issue
Block a user