diff --git a/src/components/pages/index/base/index.tsx b/src/components/pages/index/base/index.tsx index 63472cb6..a69500a2 100644 --- a/src/components/pages/index/base/index.tsx +++ b/src/components/pages/index/base/index.tsx @@ -1,51 +1,24 @@ "use client"; -import { Box, VStack } from "@chakra-ui/react"; -import sortBy from "lodash/sortBy"; -import Tilt from "react-parallax-tilt"; +import { Box } from "@chakra-ui/react"; -import Articles from "components/layouts/articles"; -import Projects from "components/layouts/projects"; import Jumbotron from "components/pages/index/base/jumbotron"; -import { getAllArticles } from "lib/get-articles-data"; - -import projects from "public/data/projects.json"; - const Page = () => { - const articles = sortBy(getAllArticles(), ["date"]).reverse().slice(0, 5); - - const sortedArticles = articles.sort((a, b) => { - return Number(new Date(b.date)) - Number(new Date(a.date)); - }); - return ( - - - - - - - - - - - - - + + + - + ); }; diff --git a/src/components/pages/index/base/jumbotron.tsx b/src/components/pages/index/base/jumbotron.tsx index 497a5a68..0e874958 100644 --- a/src/components/pages/index/base/jumbotron.tsx +++ b/src/components/pages/index/base/jumbotron.tsx @@ -7,14 +7,7 @@ import AvatarImage from "public/images/common/avatar.png"; const Jumbotron: FC = () => { return ( - + { fontFamily="body" bgColor="blue.400" bgClip="text" - size="2xl" + size="xl" bgGradient="linear(to-l, #79c2ff, #4a5888)" className="jumbotron-name-heading" > Nirmalya Ghosh - - Staff Developer Advocate @ - - Rapid - - + Staff Developer Advocate