Skip to content

Commit

Permalink
Merge pull request #51 from KorryKatti/revert-50-main
Browse files Browse the repository at this point in the history
Revert "UI updated"
  • Loading branch information
KorryKatti authored Oct 18, 2024
2 parents 8692878 + 25ba5e1 commit 79661ff
Show file tree
Hide file tree
Showing 7 changed files with 88 additions and 495 deletions.
Binary file removed favicon.png
Binary file not shown.
6 changes: 2 additions & 4 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,12 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mirage - Privacy Focused Chat App</title>
<title>Mirage</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Manrope:wght@200;300;400;500;600;700;800&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Sora:wght@400;600&display=swap" rel="stylesheet">
<link rel="shortcut icon" href="favicon.png" >


</head>
<body>
<div id="root"></div>
Expand Down
12 changes: 2 additions & 10 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,18 +1,10 @@
import React from 'react';
import Body from './components/Body';
import {useState} from 'react';
function App() {
const [toggleTheme, setToggleTheme] = useState(false);

const handleToggle = () => {
setToggleTheme((prev) => !prev);
};

return (
<Body toggleTheme={toggleTheme} handleToggle={handleToggle} />
<Body/>
);
};

}


export default App;
Loading

0 comments on commit 79661ff

Please sign in to comment.