Merge remote-tracking branch 'origin/main' into cloudflare
This commit is contained in:
commit
b838ddc293
@ -124,14 +124,11 @@ NEXT_PUBLIC_DATAFAST_DOMAIN=""
|
||||
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Discord
|
||||
# Notification (Discord)
|
||||
# -----------------------------------------------------------------------------
|
||||
DISCORD_WEBHOOK_URL=""
|
||||
NEXT_PUBLIC_DISCORD_WIDGET_SERVER_ID=""
|
||||
NEXT_PUBLIC_DISCORD_WIDGET_CHANNEL_ID=""
|
||||
|
||||
# -----------------------------------------------------------------------------
|
||||
# Feishu
|
||||
# Notification (Feishu)
|
||||
# -----------------------------------------------------------------------------
|
||||
FEISHU_WEBHOOK_URL=""
|
||||
|
||||
|
@ -73,8 +73,6 @@ export default async function HomePage(props: HomePageProps) {
|
||||
<TestimonialsSection />
|
||||
|
||||
<NewsletterCard />
|
||||
|
||||
<DiscordWidget />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
@ -9,6 +9,9 @@ import { useEffect, useRef, useState } from 'react';
|
||||
/**
|
||||
* Discord Widget, shows the channels and messages in the discord server
|
||||
*
|
||||
* @deprecated
|
||||
* This feature is deprecated for Discord Widget can not be used anymore.
|
||||
*
|
||||
* https://docs.widgetbot.io/embed/react-embed/
|
||||
*/
|
||||
export default function DiscordWidget() {
|
||||
|
2
src/types/index.d.ts
vendored
2
src/types/index.d.ts
vendored
@ -66,7 +66,7 @@ export interface SocialConfig {
|
||||
* Website features
|
||||
*/
|
||||
export interface FeaturesConfig {
|
||||
enableDiscordWidget?: boolean; // Whether to enable the discord widget
|
||||
enableDiscordWidget?: boolean; // Whether to enable the discord widget, deprecated
|
||||
enableUpgradeCard?: boolean; // Whether to enable the upgrade card in the sidebar
|
||||
enableAffonsoAffiliate?: boolean; // Whether to enable affonso affiliate
|
||||
enablePromotekitAffiliate?: boolean; // Whether to enable promotekit affiliate
|
||||
|
Loading…
Reference in New Issue
Block a user