diff --git a/src/app/page.js b/src/app/page.js index 6118389..398a198 100644 --- a/src/app/page.js +++ b/src/app/page.js @@ -3,6 +3,7 @@ import Landing from "@/components/home/Landing"; import Projects from "@/components/home/Projects"; import WhyJoin from "@/components/home/Contacts"; import Events from "@/components/home/Events"; + const Home = () => { return ( <> diff --git a/src/components/Subtitle.jsx b/src/components/Subtitle.jsx index 56e68b1..414745c 100644 --- a/src/components/Subtitle.jsx +++ b/src/components/Subtitle.jsx @@ -1,5 +1,15 @@ -const Subtitle = ({ title }) => { - return
Subtitle
; +const Subtitle = ({ title, descripton }) => { + return ( +
+
+
+
{title}
+
+
+ {descripton} +
+
+ ); }; export default Subtitle;