diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..6dca9a4 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,9 @@ +{ + "editor.codeActionsOnSave": { + "source.fixAll.biome": "explicit", + "source.organizeImports.biome": "explicit" + }, + "files.associations": { + "*.css": "tailwindcss" + } +} diff --git a/app/(home)/layout.tsx b/app/(home)/layout.tsx index ef73501..6773757 100644 --- a/app/(home)/layout.tsx +++ b/app/(home)/layout.tsx @@ -1,5 +1,5 @@ -import type { ReactNode } from "react"; import { HomeLayout } from "fumadocs-ui/layouts/home"; +import type { ReactNode } from "react"; import { baseOptions } from "@/app/layout.config"; export default function Layout({ children }: { children: ReactNode }) { diff --git a/app/(home)/page.tsx b/app/(home)/page.tsx index 157c272..2192752 100644 --- a/app/(home)/page.tsx +++ b/app/(home)/page.tsx @@ -1,3 +1,4 @@ +"use client"; import { OpenInV0Button } from "@/components/open-in-v0-button"; import { DiscordChat, @@ -9,6 +10,21 @@ import { DiscordMessageContent, DiscordMessageGroup } from "@/registry/discord-base/discord-base"; +import { + DiscordEmbed, + DiscordEmbedAuthor, + DiscordEmbedAuthorImage, + DiscordEmbedAuthorName, + DiscordEmbedDescription, + DiscordEmbedFields, + DiscordEmbedFieldWrapper, + DiscordEmbedFooter, + DiscordEmbedFooterImage, + DiscordEmbedFooterText, + DiscordEmbedImages, + DiscordEmbedImageWrapper, + DiscordEmbedTitle +} from "@/registry/discord-embeds/discord-embeds"; export default function Home() { return ( @@ -21,8 +37,8 @@ export default function Home() { Example of basic discord messages
@@ -31,9 +47,9 @@ export default function Home() { Dominik @@ -69,9 +85,9 @@ export default function Home() {
@@ -107,9 +123,9 @@ export default function Home() { Admin help!!!!
Owner {" "} @@ -185,8 +201,8 @@ export default function Home() { In-Server Message Link Mentions
@@ -195,9 +211,9 @@ export default function Home() { Yo, check out this cool message{" "}
Go rate my new car here{" "} {" "} please :{")"}
Can you please help me with this issue{" "} {" "} ?
Check out my new PC background{" "}
Did you see what bob wanted to tell you in the VC yesterday?{" "}
Look at this new decoration, should I buy it?{" "}
@@ -261,8 +277,8 @@ export default function Home() { External Server Message Link Mentions
@@ -271,9 +287,9 @@ export default function Home() { Yo, check out this channel{" "} general
Check out this announcement message from Bob{" "}
Join up{" "} gamin {" "} @@ -319,12 +335,12 @@ export default function Home() {
Did you see the posts people are making here{" "} help {" "} @@ -332,48 +348,48 @@ export default function Home() {
Look at what bob answered to this question{" "} cool-cars
Check out this cool video{" "} cool-backgrounds
Quick, join up, the stage is starting soon{" "} Events
They lock{" "} events {" "} @@ -384,6 +400,157 @@ export default function Home() {
+ +
+
+

An Embed

+ +
+
+ + + + + + + Woofer21 + + + + + + + Woofer21 + + + + This is a title with a link for embeds! + + + This is the embed description!! + + + + Cool Footer for Me + + + + + + + + + + + Woofer21 + + + + + + + + Woofer21 + + + + This is a normal title for embeds! + + + This is the embed description!! + + + + + + { + alert("You clicked on the image!"); + }, + className: "cursor-pointer" + }, + { + src: "/images/avatars/Woofer.webp", + alt: "Avatar" + }, + { + src: "/images/avatars/Woofer.webp", + alt: "Avatar" + } + ]} + /> + + + + + Cool Footer for Me + + + + + + + +
+