Skip to content

Commit

Permalink
Merge pull request #50 from mahenoorsalat/main
Browse files Browse the repository at this point in the history
UI updated
  • Loading branch information
KorryKatti authored Oct 18, 2024
2 parents 020a407 + 349c527 commit 8692878
Show file tree
Hide file tree
Showing 7 changed files with 495 additions and 88 deletions.
Binary file added favicon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 4 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,14 @@
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Mirage</title>
<title>Mirage - Privacy Focused Chat App</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: 10 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,18 @@
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/>
<Body toggleTheme={toggleTheme} handleToggle={handleToggle} />
);
}
};



export default App;
Loading

0 comments on commit 8692878

Please sign in to comment.