diff --git a/frontend/src/components/LandingPage/About.tsx b/frontend/src/components/LandingPage/About.tsx index 7f77279..00a4dba 100644 --- a/frontend/src/components/LandingPage/About.tsx +++ b/frontend/src/components/LandingPage/About.tsx @@ -1,12 +1,31 @@ import { MoveDownRight } from "lucide-react"; +import { useContext } from "react"; +import { DarkModeContext } from "./DarkMode"; const About = () => { + const { isDarkMode } = useContext(DarkModeContext); + return ( -
+
- + Gradual Liquidation Process - +

To ensure fair market value for collateral, our platform employs limit @@ -17,9 +36,19 @@ const About = () => {

- + Dynamic Proposal System - +

Users on our platform have the ability to create proposals for lending @@ -34,9 +63,19 @@ const About = () => {

- + Immutable Deal Creation - +

Details about immutable deal creation. @@ -44,9 +83,19 @@ const About = () => {

- + Decentralized Peer-to-Peer Lending Deals - +

Peer Protocols decentralized peer-to-peer marketplace serves as the @@ -60,4 +109,4 @@ const About = () => { ); }; -export default About; +export default About; \ No newline at end of file diff --git a/frontend/src/components/LandingPage/Blog.tsx b/frontend/src/components/LandingPage/Blog.tsx index c22d317..23cf477 100644 --- a/frontend/src/components/LandingPage/Blog.tsx +++ b/frontend/src/components/LandingPage/Blog.tsx @@ -13,29 +13,38 @@ const BlogPost: React.FC = ({ title, summary }) => { const { isDarkMode } = useContext(DarkModeContext); return ( -

- Card image -
-
{title}
-

- {summary} -

+
+
+ Card image
-
- - +
+
+ {title} +
+
+

+ {summary} +

+
+
+
+ +
); }; -export default BlogPost; +export default BlogPost; \ No newline at end of file diff --git a/frontend/src/components/LandingPage/Features.tsx b/frontend/src/components/LandingPage/Features.tsx index 8ea5e6f..e2a6ea1 100644 --- a/frontend/src/components/LandingPage/Features.tsx +++ b/frontend/src/components/LandingPage/Features.tsx @@ -14,7 +14,9 @@ const Features = () => { > {/* Card 1 */} -
+
+
@@ -23,7 +25,7 @@ const Features = () => { width={40} height={40} alt="" - className="lg:w-[40px] w-6" + className={`lg:w-[40px] w-6 ${isDarkMode ? "invert" : ""}`} />

Transparent Marketplace @@ -36,8 +38,10 @@ const Features = () => {

{/* Card 2 */} -
-
+ +
{ width={40} height={40} alt="" - className="lg:w-[40px] w-6" + className={`lg:w-[40px] w-6 ${isDarkMode ? "invert" : ""}`} />

User-Centric Interface @@ -59,7 +63,9 @@ const Features = () => { {/* Card 3 */} -

+
+
@@ -68,7 +74,7 @@ const Features = () => { width={40} height={40} alt="" - className="lg:w-[40px] lg:h-[40px] w-6" + className={`lg:w-[40px] w-6 ${isDarkMode ? "invert" : ""}`} />

Transparent Marketplace