Skip to content

Commit

Permalink
fix(dashboard): fixed border and bg color issue in page.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
R1shabh-Gupta committed Aug 20, 2024
1 parent 3631ae0 commit f6625ed
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion frontend/app/dashboard/page.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,52 @@
import { Card } from "@/components/ui/card";
import { featureCards } from "@/constants/data";

import {
IconFlagDown,
IconNotes,
IconPasswordFingerprint,
IconZoomScan,
} from "@tabler/icons-react";

const Dashboard = () => {
const featureCards = [
{
title: "AutoTakedown",
href: "/dashboard/autotakedown",
icon: IconFlagDown,
iconForeground: "text-teal-700",
iconBackground: "bg-teal-50",
content:
"Automatically process and handle takedown requests with ease. Upload the content you want to address, and let our tool take care of the rest.",
},
{
title: "Password Generator",
href: "/dashboard/passwordgenerator",
icon: IconPasswordFingerprint,
iconForeground: "text-purple-700",
iconBackground: "bg-purple-50",
content:
"Generate strong and secure passwords for your accounts. Customize the length and complexity to ensure your passwords are robust and unique.",
},
{
title: "Domain Tracer",
href: "/dashboard/domaintracer",
icon: IconZoomScan,
iconForeground: "text-sky-700",
iconBackground: "bg-sky-50",
content:
"Trace domain details effortlessly. Enter a domain name to get comprehensive information and insights about it using urlscan.io.",
},
{
title: "Frontend Security Notes",
href: "/dashboard/notes",
icon: IconNotes,
iconForeground: "text-yellow-700",
iconBackground: "bg-yellow-50",
content:
"Access detailed notes and guidelines on frontend security best practices. Enhance your knowledge and skills to protect your applications from vulnerabilities.",
},
];

function classNames(...classes: string[]) {
return classes.filter(Boolean).join(" ");
}
Expand Down

0 comments on commit f6625ed

Please sign in to comment.