Skip to content

Commit

Permalink
image display disable
Browse files Browse the repository at this point in the history
  • Loading branch information
Jashwanth-rit committed Oct 14, 2024
1 parent b6003ed commit 3ed1293
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/components/About/About.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,16 @@ import pic from '../../assets/about1.jpg';
const About = () => {
return (
<div id="About" className="text-white bg-black bg-opacity-30 shadow-xl rounded-lg mx-0 md:mx-20 p-6 md:p-12">
<h2 className="text-2xl md:text-4xl font-bold mb-8 ">About Me</h2>
<h2 className="text-2xl md:text-4xl font-bold mb-8">About Me</h2>

<div className="md:flex md:gap-10 items-center">
{/* Image Section */}
<img className="w-1/3 md:w-1/4 border-black border-2 rounded-3xl" src={pic} alt="About image" />
<img
className="hidden md:block w-1/3 md:w-1/4 border-black border-2 rounded-3xl"
src={pic}
alt="About image"
/>


{/* Content Section */}
<div className="flex flex-col gap-8 w-full">
{/* Web Developer Section */}
Expand Down

0 comments on commit 3ed1293

Please sign in to comment.