Skip to content

Commit ac9e7d6

Browse files
committed
Removed unnecessary CSS rules
1 parent 67d413f commit ac9e7d6

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

src/components/Hero.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const Hero = () => {
1919
Hi, I'm <span className='text-[#915EFF]'>Ayush</span>
2020
</h1>
2121
<p className={`${styles.heroSubText} mt-2 text-white-100`}>
22-
I develop 3D visuals, user <br className='sm:block hidden' />
22+
I develop 3D visuals, user <br />
2323
interfaces and web applications
2424
</p>
2525
</div>

src/components/Navbar.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ const Navbar = () => {
3838
<img src={logo} alt="logo" className="w-9 h-9 object-contain" />
3939
<p className="text-white text-[18px] font-bold cursor-pointer flex">
4040
Ayush Sharma&nbsp;
41-
<span className="sm:block hidden">| Expert Web Developer</span>
41+
<span className="block">| Expert Web Developer</span>
4242
</p>
4343
</Link>
4444

4545
{/* Desktop Menu */}
46-
<ul className="list-none hidden sm:flex flex-row gap-10">
46+
<ul className="list-none flex flex-row gap-10">
4747
{navLinks.map((nav) => (
4848
<li
4949
key={nav.id}

src/components/Tech.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { technologies } from "../constants";
66

77
const Tech = () => {
88
return (
9-
<div className='block hidden sm:flex flex-row flex-wrap justify-center gap-10'>
9+
<div className='flex flex-row flex-wrap justify-center gap-10'>
1010
{technologies.map((technology) => (
1111
<div className='w-28 h-28' key={technology.name}>
1212
<BallCanvas icon={technology.icon} />

src/components/canvas/Ball.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ const Ball = (props) => {
3939

4040
const BallCanvas = ({ icon }) => {
4141
return (
42-
<Canvas className="sm:block hidden"
42+
<Canvas className="block"
4343
frameloop='demand'
4444
dpr={[1, 2]}
4545
gl={{ preserveDrawingBuffer: true }}

0 commit comments

Comments
 (0)