@@ -72,17 +72,17 @@ const Home = () => {
7272 ] ;
7373
7474 return (
75- < div className = "max-w-7xl mx-auto" >
75+ < div className = "max-w-7xl md: mx-auto mx-4 " >
7676 { /* Hero Section */ }
7777 < div className = "text-center py-12" >
78- < h1 className = "text-4xl md:text-6xl font-bold text-gray-900 dark:text-white mb-6" >
78+ < h1 className = "text-3xl md:text-6xl font-bold text-gray-900 dark:text-white mb-6" >
7979 Algorithm < span className = "text-primary-600" > Visualizer</ span >
8080 </ h1 >
81- < p className = "text-xl text-gray-600 dark:text-gray-300 mb-8 max-w-3xl mx-auto" >
81+ < p className = "text-lg text-gray-600 dark:text-gray-300 mb-8 md: max-w-3xl max-w-80 mx-auto" >
8282 An interactive platform to learn, visualize, and analyze data structures and algorithms.
8383 Built with C++ performance and modern web technologies.
8484 </ p >
85- < div className = "flex flex-col sm:flex-row gap-4 justify-center" >
85+ < div className = "flex flex-col sm:flex-row gap-4 justify-center md:mx-0 mx-4 " >
8686 < Link
8787 to = "/sorting"
8888 className = "inline-flex items-center px-6 py-3 bg-primary-600 text-white font-semibold rounded-lg hover:bg-primary-700 transition-colors shadow-medium"
@@ -169,13 +169,13 @@ const Home = () => {
169169
170170 { /* Quick Start Section */ }
171171 < section className = "py-16 bg-gradient-to-r from-primary-500 to-primary-600 rounded-2xl text-white text-center" >
172- < h2 className = "text-3xl font-bold mb-4" >
172+ < h2 className = "text-2xl md:text- 3xl font-bold mb-4" >
173173 Ready to Start Learning?
174174 </ h2 >
175- < p className = "text-xl text-primary-100 mb-8 max-w-2xl mx-auto" >
175+ < p className = "md: text-xl text-lg text- primary-100 mb-8 max-w-2xl md: mx-auto mx-6 " >
176176 Choose an algorithm category and start visualizing. No setup required - just click and learn!
177177 </ p >
178- < div className = "flex flex-col sm:flex-row gap-4 justify-center" >
178+ < div className = "flex flex-col sm:flex-row gap-4 justify-center md:mx-0 mx-4 " >
179179 < Link
180180 to = "/sorting"
181181 className = "inline-flex items-center px-6 py-3 bg-white text-primary-600 font-semibold rounded-lg hover:bg-primary-50 transition-colors"
0 commit comments