File tree Expand file tree Collapse file tree 4 files changed +24
-12
lines changed
Expand file tree Collapse file tree 4 files changed +24
-12
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Footer = () => {
99 } , [ ] ) ;
1010
1111 return (
12- < div className = "absolute bottom-0 flex flex-col space-y-0 w-screen text-center h-10 px-10 my-5" >
12+ < div className = "flex flex-col space-y-0 w-screen text-center h-10 px-10 my-5" >
1313 < span className = "italic text-slate-500" >
1414 { FOOTER_MESSAGES [ randomNumber ] }
1515 </ span >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import Textarea from "../components/Textarea";
55
66export default function Home ( ) {
77 return (
8- < div className = "h-screen flex-col justify-between bg-black p-5" >
8+ < div className = "h-screen flex-col justify-between bg-zinc-900 p-5" >
99 < Head >
1010 < title > JSON Style</ title >
1111 < meta name = "description" content = "Generated by create next app" />
@@ -14,17 +14,28 @@ export default function Home() {
1414
1515 < main >
1616 < p className = "text-2xl text-center" > JSON STYLE</ p >
17- < div className = "space-y-5" >
18- < Textarea
19- className = "w-1/2"
20- rows = { 10 }
21- label = "JSON String"
22- onChange = { ( e ) => console . log ( e . target . value ) }
23- />
24- < Button className = "ml-1" label = "Click Me" />
17+ < div className = "space-y-3" >
18+ < div className = "flex space-x-3 mt-5" >
19+ < Textarea
20+ className = "w-1/2"
21+ rows = { 24 }
22+ label = "JSON String"
23+ onChange = { ( e ) => console . log ( e . target . value ) }
24+ />
25+ < Textarea
26+ className = "w-1/2"
27+ rows = { 24 }
28+ label = "Output"
29+ onChange = { ( e ) => console . log ( e . target . value ) }
30+ />
31+ </ div >
32+ < div className = "flex bg-zinc-800 space-x-3 px-1 py-3 rounded" >
33+ < Button className = "ml-1" label = "Format" />
34+ < Button className = "ml-1" label = "Reset" />
35+ </ div >
2536 </ div >
37+ { /* <Footer /> */ }
2638 </ main >
27- < Footer />
2839 </ div >
2940 ) ;
3041}
Original file line number Diff line number Diff line change 11body {
22 color : #e4e4e7 ;
3+ background-color : rgb (24 24 27 );
34}
Original file line number Diff line number Diff line change 2727 box-shadow : none ;
2828 outline : none ;
2929 padding : 10px ;
30- max-height : 224px ;
3130 overflow-y : auto ;
3231 line-height : 1.5 ;
3332 background-color : #27272a ;
33+ resize : none ;
3434
3535 & ::placeholder {
3636 color : #e4e4e7 ;
You can’t perform that action at this time.
0 commit comments