Skip to content

Commit

Permalink
basic templates
Browse files Browse the repository at this point in the history
  • Loading branch information
ShinichiShi committed Aug 18, 2024
1 parent 524d5c9 commit 3bb9132
Show file tree
Hide file tree
Showing 10 changed files with 14 additions and 5 deletions.
6 changes: 3 additions & 3 deletions client/src/App.jsx → client/src/Landing.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@ import reactLogo from './assets/react.svg';
import viteLogo from '/vite.svg';
import './App.css';

function App() {
function Landing() {
const [count, setCount] = useState(0);

return (
<>
<div className="flex items-center justify-center">
<div className="flex items-center justify-center p-3">
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
Expand All @@ -32,4 +32,4 @@ function App() {
);
}

export default App;
export default Landing;
9 changes: 9 additions & 0 deletions client/src/components/Buyer/Dashboard.jsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
export default function Dashboard(){
return(
<>
<div>
Hello
</div>
</>
)
}
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
Empty file.
4 changes: 2 additions & 2 deletions client/src/main.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import { StrictMode } from 'react';
import { createRoot } from 'react-dom/client';
import App from './App.jsx';
import Landing from './Landing.jsx';
import './index.css';

createRoot(document.getElementById('root')).render(
<StrictMode>
<App />
<Landing />
</StrictMode>
);

0 comments on commit 3bb9132

Please sign in to comment.