- {dummyPosts.map((post, key) => {
- return <>
-
+
+
+
+
+
+ Following
+ Design
+
+
+
+ {dummyPosts.map((post, key) => {
+ return <>
+
+
+ >
+ })}
+
+
+
+
+ {dummyPosts.map((post, key) => {
+ return <>
+
+
+ >
+ })}
+
+
+
-
-
-
- {dummyPosts.map((post, key) => {
- return <>
-
-
- >
- })}
+
+
+
+ <>
+
+
+
+ Top Creators
+
+
+ {topCreatorList.map((profile, key) => {
+ return
+
+
+
+
+
+
+
{profile.name}
+ {profile.mentor === "true" &&
}
+
+
{profile.skill}
+
+
+
+
+ })}
+
+
+
-
-
+
+
+
+ Who to Follow
+
+
+ {topCreatorList.map((profile, key) => {
+ return
+
+
+
+
+
+
+
{profile.name}
+ {profile.mentor === "true" &&
}
+
+
{profile.skill}
+
+
+
+
+ })}
+
+
+
+
+ >
+
+
+
);
}
diff --git a/frontend/nextjs/src/components/ui/badge.tsx b/frontend/nextjs/src/components/ui/badge.tsx
new file mode 100644
index 0000000..46f9936
--- /dev/null
+++ b/frontend/nextjs/src/components/ui/badge.tsx
@@ -0,0 +1,36 @@
+import * as React from "react"
+import { cva, type VariantProps } from "class-variance-authority"
+
+import { cn } from "@/lib/utils"
+
+const badgeVariants = cva(
+ "inline-flex items-center rounded-full border px-1.5 py-0.1 text-[11px] font-semibold transition-colors focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2",
+ {
+ variants: {
+ variant: {
+ default:
+ "border-transparent bg-accent-2 text-foreground hover:bg-primary/80",
+ secondary:
+ "border-transparent bg-accent-shade text-secondary-foreground hover:bg-secondary/80",
+ destructive:
+ "border-transparent bg-destructive text-destructive-foreground hover:bg-destructive/80",
+ outline: "text-foreground",
+ },
+ },
+ defaultVariants: {
+ variant: "default",
+ },
+ }
+)
+
+export interface BadgeProps
+ extends React.HTMLAttributes
,
+ VariantProps {}
+
+function Badge({ className, variant, ...props }: BadgeProps) {
+ return (
+
+ )
+}
+
+export { Badge, badgeVariants }
diff --git a/frontend/nextjs/src/components/ui/post-card.tsx b/frontend/nextjs/src/components/ui/post-card.tsx
index 8f2efba..c8da2ad 100644
--- a/frontend/nextjs/src/components/ui/post-card.tsx
+++ b/frontend/nextjs/src/components/ui/post-card.tsx
@@ -22,11 +22,8 @@ const PostCard = ({data}: any) => {