diff --git a/src/app/components/Card.js b/src/app/components/Card.js new file mode 100644 index 0000000..bf507e3 --- /dev/null +++ b/src/app/components/Card.js @@ -0,0 +1,30 @@ +import styles from "./Card.module.css"; + +export default function Card() { + return ( +
+
+ + + +
+
+

Title

+

+ Voluptatem culpa dolores eos. Aliquid omnis adipisci ex magnam quis + nemo. +

+
+
+ ); +} diff --git a/src/app/components/Card.module.css b/src/app/components/Card.module.css new file mode 100644 index 0000000..7e7d7da --- /dev/null +++ b/src/app/components/Card.module.css @@ -0,0 +1,13 @@ +.card { + max-width: 20em; + padding: 1em; + text-align: center; +} + +.imgcontainer { + margin-bottom: 1em; +} + +.imgcontainer svg { + width: 6em; +} \ No newline at end of file diff --git a/src/app/components/Cards.js b/src/app/components/Cards.js new file mode 100644 index 0000000..94b85dc --- /dev/null +++ b/src/app/components/Cards.js @@ -0,0 +1,9 @@ +import styles from "./Cards.module.css"; + +export default function Cards({ children }) { + return ( +
+ {children} +
+ ); +} diff --git a/src/app/components/Cards.module.css b/src/app/components/Cards.module.css new file mode 100644 index 0000000..c4be345 --- /dev/null +++ b/src/app/components/Cards.module.css @@ -0,0 +1,5 @@ +.cards { + display: flex; + flex-direction: column; + align-items: center; +} \ No newline at end of file diff --git a/src/app/page.js b/src/app/page.js index 08c5c0d..d2aff1f 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -2,6 +2,7 @@ import Image from "next/image"; import styles from "./page.module.css"; import bgimage from "./assets/header-bg.jpg"; import Button from "./components/Button"; +import Cards from "./components/Cards"; import Card from "./components/Card"; import Link from "next/link"; @@ -55,8 +56,13 @@ export default function Home() {
-

Services we Offer

- +

Services we Offer

+ + + + + +
diff --git a/src/app/page.module.css b/src/app/page.module.css index 57d1168..af71853 100644 --- a/src/app/page.module.css +++ b/src/app/page.module.css @@ -35,4 +35,8 @@ .textboxInner { width: 50%; } +} + +.h1 { + text-align: center; } \ No newline at end of file