Skip to content

Commit ced77aa

Browse files
committed
responsiveness check
1 parent 5fb4ef8 commit ced77aa

5 files changed

Lines changed: 11 additions & 3 deletions

File tree

FRONTEND/src/components/ui/FloatingNav.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ export const FloatingNav = ({
5858
duration: 0.2,
5959
}}
6060
className={cn(
61-
"flex max-w-fit fixed top-10 inset-x-0 mx-auto border border-purple-500/20 rounded-full bg-gray-900/80 backdrop-blur-md shadow-glow-purple-subtle z-50 pr-2 pl-8 py-2 items-center justify-center space-x-4",
61+
"flex max-w-fit fixed top-4 sm:top-10 inset-x-0 mx-auto border border-purple-500/20 rounded-full bg-gray-900/80 backdrop-blur-md shadow-glow-purple-subtle z-50 pr-2 pl-4 sm:pl-8 py-2 items-center justify-center space-x-2 sm:space-x-4",
6262
className
6363
)}>
6464

FRONTEND/src/index.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
@layer base {
66
html {
77
scroll-behavior: smooth;
8+
touch-action: manipulation;
9+
-webkit-text-size-adjust: 100%;
810
}
911
}
1012

FRONTEND/src/pages/login.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Login = () => {
2222
<div className="absolute bottom-[-10%] left-[-10%] w-96 h-96 bg-indigo-600/20 rounded-full blur-3xl"></div>
2323
</div>
2424

25-
<div className="max-w-md w-full space-y-8 bg-gray-800/50 p-8 rounded-2xl backdrop-blur-md border border-white/10 relative z-10 shadow-2xl">
25+
<div className="max-w-md w-full space-y-8 bg-gray-800/50 p-6 sm:p-8 rounded-2xl backdrop-blur-md border border-white/10 relative z-10 shadow-2xl">
2626
<div className="text-center">
2727
<img src={logo} alt="Stringz" className="h-12 mx-auto mb-6" />
2828
<h2 className="text-3xl font-extrabold text-white">Welcome Back</h2>

FRONTEND/src/pages/signup.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Signup = () => {
2222
<div className="absolute bottom-[-10%] right-[-10%] w-96 h-96 bg-purple-600/20 rounded-full blur-3xl"></div>
2323
</div>
2424

25-
<div className="max-w-md w-full space-y-8 bg-gray-800/50 p-8 rounded-2xl backdrop-blur-md border border-white/10 relative z-10 shadow-2xl">
25+
<div className="max-w-md w-full space-y-8 bg-gray-800/50 p-6 sm:p-8 rounded-2xl backdrop-blur-md border border-white/10 relative z-10 shadow-2xl">
2626
<div className="text-center">
2727
<img src={logo} alt="Stringz" className="h-12 mx-auto mb-6" />
2828
<h2 className="text-3xl font-extrabold text-white">Create Account</h2>

FRONTEND/tailwind.config.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,10 @@ export default {
88
extend: {},
99
},
1010
plugins: [],
11+
// Standard Breakpoints (Default Tailwind):
12+
// sm: 640px (Large Mobile)
13+
// md: 768px (Tablet)
14+
// lg: 1024px (Desktop)
15+
// xl: 1280px (Large Desktop)
16+
// 2xl: 1536px (Extra Large Screens)
1117
}

0 commit comments

Comments
 (0)