Refine and cleanup
This commit is contained in:
@@ -5,7 +5,7 @@
|
||||
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:opsz,wght,FILL,GRAD@20..48,100..700,0..1,-50..200&icon_names=recenter" />
|
||||
<title>kohngrüti app</title>
|
||||
<title>kongruity app</title>
|
||||
</head>
|
||||
<body>
|
||||
<div id="root"></div>
|
||||
|
||||
@@ -2,7 +2,7 @@ const Navbar = () => {
|
||||
return (
|
||||
<div className="main-head-box">
|
||||
<div className="main-head-subbox-left">
|
||||
<h1 className="main-head">kohngrüti</h1>
|
||||
<h1 className="main-head">kongruity</h1>
|
||||
</div>
|
||||
<div className="main-head-subbox-right">
|
||||
<span className="material-symbols-outlined">recenter</span>
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.main-head-box {
|
||||
border-radius: 8px;
|
||||
border: 1px solid #6dd6f4;
|
||||
background-color: rgb(92, 0, 91);
|
||||
background-color: rgb(92, 0 91);
|
||||
display: flex;
|
||||
}
|
||||
|
||||
|
||||
@@ -36,11 +36,11 @@ describe('App routing', () => {
|
||||
|
||||
it('should render the Home page on "/"', async () => {
|
||||
renderApp('/');
|
||||
expect(await screen.findByText('kohngrüti')).toBeInTheDocument();
|
||||
expect(await screen.findByText('kongruity')).toBeInTheDocument();
|
||||
});
|
||||
|
||||
it('should redirect unknown routes to Home', async () => {
|
||||
renderApp('/some/random/path');
|
||||
expect(await screen.findByText('kohngrüti')).toBeInTheDocument();
|
||||
expect(await screen.findByText('kongruity')).toBeInTheDocument();
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user