diff --git a/app/docs/page.tsx b/app/docs/page.tsx index 1aacef6..356e470 100644 --- a/app/docs/page.tsx +++ b/app/docs/page.tsx @@ -3,6 +3,8 @@ import React from "react"; import ReactMarkdown, { Components } from "react-markdown"; import remarkGfm from "remark-gfm"; +import Link from "next/link"; +import { Button } from "@/components/ui/button"; const ReadmePage = () => { const readmeContent = ` @@ -225,44 +227,21 @@ Development Lead: Yussif Yahuza ([yussif@yoursoftwareengineers.com](mailto:yussi }; return ( -
- - {readmeContent} - - (e.currentTarget.style.backgroundColor = "#005cc5")} - onMouseOut={(e) => (e.currentTarget.style.backgroundColor = "#0366d6")} - > - Go to Project Repo - +
+
+ + {readmeContent} + + +
+

Additional Resources

+ + + +
+
); }; diff --git a/app/docs/swot/page.tsx b/app/docs/swot/page.tsx new file mode 100644 index 0000000..75aa497 --- /dev/null +++ b/app/docs/swot/page.tsx @@ -0,0 +1,63 @@ +"use client"; + +import { useEffect, useState } from "react"; +import { Button } from "@/components/ui/button"; +import Link from "next/link"; + +export default function SwotAnalysisPage() { + const [isClient, setIsClient] = useState(false); + + // This ensures the PDF viewer only renders on the client side + useEffect(() => { + setIsClient(true); + }, []); + + return ( +
+
+ + + +

WODEY SWOT Analysis

+

+ An in-depth analysis of Strengths, Weaknesses, Opportunities, and + Threats for the WODEY platform. +

+
+ +
+ + + + + Download PDF + +
+ + {isClient ? ( +
+ +

+ Your browser does not support PDFs. Please download to view. +

+
+
+ ) : ( +
+ Loading PDF viewer... +
+ )} +
+ ); +} diff --git a/public/docs/SWOT-Analysis.pdf b/public/docs/SWOT-Analysis.pdf new file mode 100644 index 0000000..2520d99 Binary files /dev/null and b/public/docs/SWOT-Analysis.pdf differ