diff --git a/apps/web/app/components/info-card.tsx b/apps/web/app/components/info-card.tsx new file mode 100644 index 0000000..065efee --- /dev/null +++ b/apps/web/app/components/info-card.tsx @@ -0,0 +1,25 @@ + +import { Card, CardContent } from '@/components/ui/card' +import { LucideIcon } from 'lucide-react'; +import React from 'react' + +type InfoCard = { + icon: LucideIcon; + content: string; +} + +export const InfoCard: React.FC = ({icon, content}) => { + const Icon = icon + return ( + + +
+ +
+
+ {content} +
+
+
+ ) +} diff --git a/apps/web/app/layout.tsx b/apps/web/app/layout.tsx index 3966667..9254069 100644 --- a/apps/web/app/layout.tsx +++ b/apps/web/app/layout.tsx @@ -23,7 +23,7 @@ export default function RootLayout({ Purple light ray -
-
-
- -
-
-

- Practice english for free -

-

- The quickest path to learning English is by speaking it regularly. Just find someone to chat with. -

-
- - - -
+
+
+
+ +
+
+

+ Practice english for free +

+

+ The quickest path to learning English is by speaking it regularly. Just find someone to chat with. +

+
+ + +
-
+ +
+
+ {infoCardContent.map((card, i) => )} +
+
); }