Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/app/components/AboutSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
import React, { useTransition, useState } from "react";
import Image from "next/image";
import TabButton from "./TabButton";
import aboutImage from "../../../public/images/about-image.png";

const TAB_DATA = [
{
Expand Down Expand Up @@ -51,9 +52,9 @@ const AboutSection = () => {
};

return (
<section className="text-white" id="about">
<section className="text-white py-8" id="about">
<div className="md:grid md:grid-cols-2 gap-8 items-center py-8 px-4 xl:gap-16 sm:py-16 xl:px-16">
<Image src="/images/about-image.png" width={500} height={500} />
<Image src={aboutImage} width={500} height={500} placeholder='blur' />
<div className="mt-4 md:mt-0 text-left flex flex-col h-full">
<h2 className="text-4xl font-bold text-white mb-4">About Me</h2>
<p className="text-base lg:text-lg">
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/AchievementsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const achievementsList = [
const AchievementsSection = () => {
return (
<div className="py-8 px-4 xl:gap-16 sm:py-16 xl:px-16">
<div className="sm:border-[#33353F] sm:border rounded-md py-8 px-16 flex flex-col sm:flex-row items-center justify-between">
<div className="sm:border-[#33353F] sm:border rounded-md py-8 grid grid-cols-2 sm:grid-cols-4 justify-between">
{achievementsList.map((achievement, index) => {
return (
<div
Expand Down
5 changes: 3 additions & 2 deletions src/app/components/HeroSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,9 @@ const HeroSection = () => {
transition={{ duration: 0.5 }}
className="col-span-8 place-self-center text-center sm:text-left justify-self-start"
>
<h1 className="text-white mb-4 text-4xl sm:text-5xl lg:text-8xl lg:leading-normal font-extrabold">
<span className="text-transparent bg-clip-text bg-gradient-to-r from-primary-400 to-secondary-600">
<h1 className="text-white mb-4 text-[2.1rem] xs:text-[2.7rem]
lg:text-[5.4rem] font-extrabold">
<span className="text-transparent bg-clip-text bg-gradient-to-r from-primary-400 to-secondary-600 leading-relaxed">
Hello, I&apos;m{" "}
</span>
<br></br>
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/Navbar.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const Navbar = () => {
const [navbarOpen, setNavbarOpen] = useState(false);

return (
<nav className="fixed mx-auto border border-[#33353F] top-0 left-0 right-0 z-10 bg-[#121212] bg-opacity-100">
<nav className="fixed mx-auto border border-[#33353F] top-0 left-0 right-0 z-10 bg-[#121212] bg-opacity-100 border-l-0">
<div className="flex container lg:py-4 flex-wrap items-center justify-between mx-auto px-4 py-2">
<Link
href={"/"}
Expand Down
2 changes: 1 addition & 1 deletion src/app/components/ProjectsSection.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ const ProjectsSection = () => {
isSelected={tag === "Mobile"}
/>
</div>
<ul ref={ref} className="grid md:grid-cols-3 gap-8 md:gap-12">
<ul ref={ref} className="grid md:grid-cols-2 xl:grid-cols-3 gap-8 md:gap-12">
{filteredProjects.map((project, index) => (
<motion.li
key={index}
Expand Down
Binary file removed src/app/favicon.ico
Binary file not shown.
6 changes: 5 additions & 1 deletion src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,15 @@ import EmailSection from "./components/EmailSection";
import Footer from "./components/Footer";
import AchievementsSection from "./components/AchievementsSection";

export const metadata = {
"title" : "🧑 My Portfolio"
}

export default function Home() {
return (
<main className="flex min-h-screen flex-col bg-[#121212]">
<Navbar />
<div className="container mt-24 mx-auto px-12 py-4">
<div className="container mt-24 mx-auto px-6 xs:px-5 lg:px-12 py-4">
<HeroSection />
<AchievementsSection />
<AboutSection />
Expand Down
3 changes: 3 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ module.exports = {
],
theme: {
extend: {
screens : {
'xs' : '450px',
},
backgroundImage: {
"gradient-radial": "radial-gradient(var(--tw-gradient-stops))",
"gradient-conic":
Expand Down