diff --git a/client/index.html b/client/index.html index 60ee596..0302474 100644 --- a/client/index.html +++ b/client/index.html @@ -1,16 +1,23 @@ - - - - - Vite + React - - - - - -
- - - + + + + + + PeetCode + + + + + + + + + + +
+ + + + \ No newline at end of file diff --git a/client/src/App.css b/client/src/App.css index 35ac68f..c3e5b45 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -6,11 +6,11 @@ font-family: 'Sacramento', cursive; */ h1 , h2 , h3 , h4 , h5 , h6 { - font-family: 'Montserrat', sans-serif; + font-family: 'Poppins', sans-serif; font-weight: 900; } p , a { - font-family: 'Prompt', sans-serif + font-family: 'Poppins', sans-serif } .flex-row { diff --git a/client/src/Components/AllProblems/AllProblems.css b/client/src/Components/AllProblems/AllProblems.css index 0bdfb9f..e2fcaa5 100644 --- a/client/src/Components/AllProblems/AllProblems.css +++ b/client/src/Components/AllProblems/AllProblems.css @@ -15,11 +15,11 @@ th { text-align: start; padding: 0.5rem 0 0.5rem 0.3rem; color: black; - font-family: 'Merriweather', serif; + font-family: 'Poppins', serif; } td { - font-family: 'Merriweather', serif; + font-family: 'Poppins', serif; padding: 1rem; } diff --git a/client/src/Components/AllProblems/AllProblems.jsx b/client/src/Components/AllProblems/AllProblems.jsx index 1e16e6b..fc52520 100644 --- a/client/src/Components/AllProblems/AllProblems.jsx +++ b/client/src/Components/AllProblems/AllProblems.jsx @@ -21,7 +21,7 @@ const AllProblemsPage = () => { }, []); return ( -
+
@@ -32,7 +32,7 @@ const AllProblemsPage = () => { {problems.map((prob,index) => ( - + diff --git a/client/src/Components/HomePage/HomePage.css b/client/src/Components/HomePage/HomePage.css index d6f166b..16944c4 100644 --- a/client/src/Components/HomePage/HomePage.css +++ b/client/src/Components/HomePage/HomePage.css @@ -14,4 +14,7 @@ .content { margin: 5px 0; +} +#home{ + padding-top: 3rem; } \ No newline at end of file diff --git a/client/src/Components/HomePage/HomePage.jsx b/client/src/Components/HomePage/HomePage.jsx index f11180c..e06b1f8 100644 --- a/client/src/Components/HomePage/HomePage.jsx +++ b/client/src/Components/HomePage/HomePage.jsx @@ -4,10 +4,10 @@ import loremContent from './LoremPosts' const HomePage = () => { return ( -
-

Blogs

+
+

Blogs

{loremContent.map((content,index) => ( -
+

{content.date}

{content.title}

{content.content}

diff --git a/client/src/Components/Login/Login.jsx b/client/src/Components/Login/Login.jsx index 6cc12bf..57183a0 100644 --- a/client/src/Components/Login/Login.jsx +++ b/client/src/Components/Login/Login.jsx @@ -10,8 +10,8 @@ const Login = () => { return (
-

Login

-
+

Login

+
{ diff --git a/client/src/Components/ProblemsPage/ProblemsPage.css b/client/src/Components/ProblemsPage/ProblemsPage.css index a6bc696..27270ab 100644 --- a/client/src/Components/ProblemsPage/ProblemsPage.css +++ b/client/src/Components/ProblemsPage/ProblemsPage.css @@ -2,11 +2,21 @@ min-height: 91vh; display: flex; align-items: flex-start; + /* flex-direction: column; */ } +@media screen and (max-width: 640px) { + #problempage{ + flex-direction: column; + } + + } + + + .ques , .code { - width: 50%; - min-height: 65vh; + width: 100%; + /* min-height: 65vh; */ margin: 0; display: flex; flex-direction: column; diff --git a/client/src/Components/ProblemsPage/ProblemsPage.jsx b/client/src/Components/ProblemsPage/ProblemsPage.jsx index 66cedf3..449e784 100644 --- a/client/src/Components/ProblemsPage/ProblemsPage.jsx +++ b/client/src/Components/ProblemsPage/ProblemsPage.jsx @@ -53,7 +53,7 @@ const ProblemsPage = () => {

Code Here

-
+
{prob.title}