Start on a GM dashboard application #246

Merged
savanni merged 7 commits from gm-dash/init into main 2024-08-20 17:01:37 +00:00
4 changed files with 7 additions and 7 deletions
Showing only changes of commit 86ffdfa12c - Show all commits

View File

@ -1,9 +1,9 @@
import React from 'react';
import { render, screen } from '@testing-library/react';
import App from './App';
import Dashboard from './Dashboard';
test('renders learn react link', () => {
render(<App />);
render(<Dashboard />);
const linkElement = screen.getByText(/learn react/i);
expect(linkElement).toBeInTheDocument();
});

View File

@ -1,4 +1,4 @@
import './App.css';
import './Dashboard.css';
import Card from './components/Card/Card';
import Launcher from './components/Launcher/Launcher';
import LauncherGroup from './components/LauncherGroup/LauncherGroup';
@ -84,7 +84,7 @@ const Palette3 = () => <div className="palette">
<div className="item-15" />
</div>
const App = () => {
const Dashboard = () => {
return (
<div className="app">
<Palette />
@ -101,4 +101,4 @@ const App = () => {
);
}
export default App;
export default Dashboard;

View File

@ -1,7 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom/client';
import './index.css';
import App from './App';
import Dashboard from './Dashboard';
import reportWebVitals from './reportWebVitals';
const root = ReactDOM.createRoot(
@ -9,7 +9,7 @@ const root = ReactDOM.createRoot(
);
root.render(
<React.StrictMode>
<App />
<Dashboard />
</React.StrictMode>
);