From c638f73f6d18d1f249c9a2c6b3d26f3a494a72b5 Mon Sep 17 00:00:00 2001 From: Deepak Rajan Date: Sun, 6 Oct 2024 22:21:23 +1030 Subject: [PATCH] resume and pages --- components/Footer.js | 14 ++++---- components/ProjectPage.js | 47 ++++++++++++++++++++++++++ components/elements/BlogImage.js | 6 ++-- data/art_data.js | 19 ++++------- pages/anim-short.js | 49 ++++++++++++++++++++++++++++ pages/art.js | 2 ++ pages/blog/index.js | 2 +- pages/profile.js | 24 +++++++++++++- pages/resume.js | 24 ++++++++------ style/components/footer.scss | 6 ++++ style/components/work-component.scss | 41 +++++++++++++++++++++++ style/index.scss | 1 + style/pages/art.scss | 4 +-- style/pages/blog.scss | 23 ++++++++++++- style/pages/profile.scss | 36 ++++++++++++++++++++ 15 files changed, 260 insertions(+), 38 deletions(-) create mode 100644 components/ProjectPage.js create mode 100644 pages/anim-short.js create mode 100644 style/pages/profile.scss diff --git a/components/Footer.js b/components/Footer.js index ac54bdf..6dd9232 100644 --- a/components/Footer.js +++ b/components/Footer.js @@ -1,19 +1,19 @@ import Link from 'next/link'; -const Footer = () => { +const Footer = ({mode=""}) => { return ( <>
- GITHUB - LINKEDIN + Instagram + YOUTUBE
- Instagram - YOUTUBE + GITHUB + LINKEDIN
- EMAIL - CONTACT + EMAIL + {/* CONTACT */}
diff --git a/components/ProjectPage.js b/components/ProjectPage.js new file mode 100644 index 0000000..e398d4c --- /dev/null +++ b/components/ProjectPage.js @@ -0,0 +1,47 @@ +import Head from 'next/head'; +import Footer from '../components/Footer'; + +const ProjectPage = ({page_title,title, year_type=[], desc, img_src,banner_height="none", children }) => { + let banner_final_height = "100%"; + if(banner_height !='none'){ + banner_final_height = banner_height; + } + return ( + <> + + {page_title} + +
+ +
+
+
+ {title} +
+
+ {year_type.map((item, index)=>( +

{item}

+ ))} +
+ +
+ {desc} +
+
+
+ + {/*
*/} +
+ {children} +
+ {/*
*/} +
+