diff --git a/src/app/(public)/page.tsx b/src/app/(public)/page.tsx index 287ae77..31d5791 100644 --- a/src/app/(public)/page.tsx +++ b/src/app/(public)/page.tsx @@ -1,37 +1,35 @@ -import { PortableText } from '@portabletext/react'; import * as React from 'react'; import Intro from '@/components/organisms/home/Intro'; +import Summary from '@/components/organisms/home/Summary'; import Seo from '@/components/Seo'; -import { homeContentQuery } from '@/queries/homeContent'; +// import {homeContentQuery} from '@/queries/homeContent'; +// +// import {sanityClient} from '../../../sanity/lib/client'; +// +// import {HomeContent} from '@/types/HomeContent'; -import { sanityClient } from '../../../sanity/lib/client'; - -import { HomeContent } from '@/types/HomeContent'; - -const getData = async () => { - const homeData: HomeContent[] = await sanityClient.fetch(homeContentQuery); - - return { - homeContent: homeData[0], - }; -}; +// const getData = async () => { +// const homeData: HomeContent[] = await sanityClient.fetch(homeContentQuery); +// +// return { +// homeContent: homeData[0], +// }; +// }; const HomePage = async () => { - const { homeContent } = await getData(); + // const {homeContent} = await getData(); return (
-
-
- -
- +
+ +
diff --git a/src/components/organisms/home/Code.tsx b/src/components/organisms/home/Code.tsx new file mode 100644 index 0000000..04e0656 --- /dev/null +++ b/src/components/organisms/home/Code.tsx @@ -0,0 +1,7 @@ +import React from 'react'; + +const Code = () => { + return
Code display
; +}; + +export default Code; diff --git a/src/components/organisms/home/Intro.tsx b/src/components/organisms/home/Intro.tsx index 1cb0589..d12cc63 100644 --- a/src/components/organisms/home/Intro.tsx +++ b/src/components/organisms/home/Intro.tsx @@ -1,76 +1,19 @@ -import Image from 'next/image'; import React from 'react'; +import Code from '@/components/organisms/home/Code'; +import Photo from '@/components/organisms/home/Photo'; + const Intro = () => { return ( - <> -

- Hey there šŸ‘‹šŸ» I'm Marta, a software engineer based in Turin, Italy, and I - am currently working at - - Resourcify - - . -

- -

- I hold a MSc in Advanced Computer Science from the University of - Manchester, and have four years of experience at - - BJSS - - and - - Booking.com - - . -

+
+

Hey there, I'm Marta šŸ‘‹šŸ»

-
- My skill set embraces a range of programming languages, including Java, - Kotlin, Python, C# and TypeScript, as well as frontend frameworks such - as React and Angular. -
- -
- While I have a solid foundation in backend development, my heart truly - lies in the exciting realm of full-stack engineering. The thrill of - bringing together the best of both worlds, seamlessly integrating robust - server-side solutions with captivating user interfaces, is what drives - my passion for this craft. -
+
+ -
- In my free time, Iā€™m a fiction writer, an avid bookworm, an oboist and - alto singer, and a travel photographer. +
- +
); }; diff --git a/src/components/organisms/home/Photo.tsx b/src/components/organisms/home/Photo.tsx new file mode 100644 index 0000000..2c42ae7 --- /dev/null +++ b/src/components/organisms/home/Photo.tsx @@ -0,0 +1,7 @@ +import React from 'react'; + +const Photo = () => { + return
Photo display
; +}; + +export default Photo; diff --git a/src/components/organisms/home/Summary.tsx b/src/components/organisms/home/Summary.tsx new file mode 100644 index 0000000..fb0ecb0 --- /dev/null +++ b/src/components/organisms/home/Summary.tsx @@ -0,0 +1,74 @@ +import Image from 'next/image'; +import React from 'react'; + +const Summary = () => { + return ( + <> +

+ I'm a software engineer based in Turin, Italy, and I am currently + working at + + Resourcify + + . +

+ +

+ I hold a MSc in Advanced Computer Science from the University of + Manchester, and have four years of experience at + + BJSS + + and + + Booking.com + + . +

+ +

+ My skill set embraces a range of programming languages, including Java, + Kotlin, Python, C# and TypeScript, as well as frontend frameworks such + as React and Angular. +

+ +

+ While I have a solid foundation in backend development, my heart truly + lies in the exciting realm of full-stack engineering. +

+ +

+ In my free time, Iā€™m a fiction writer, an avid bookworm, an oboist and + alto singer, and a travel photographer. +

+ + ); +}; + +export default Summary;