omg i made a mess again
This commit is contained in:
parent
7676c86c28
commit
1fdee24049
10 changed files with 791 additions and 72 deletions
20
src/App.jsx
20
src/App.jsx
|
|
@ -1,9 +1,19 @@
|
|||
function App() {
|
||||
import AppHeader from "./components/AppHeader";
|
||||
import AppSubHeader from "./components/AppSubHeader";
|
||||
|
||||
const App = () => {
|
||||
return (
|
||||
<>
|
||||
<p>Hi!</p>
|
||||
<div className="flex">
|
||||
<div>
|
||||
<AppHeader />
|
||||
</div>
|
||||
<div>
|
||||
<AppSubHeader />
|
||||
</div>
|
||||
</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
);
|
||||
};
|
||||
|
||||
export default App
|
||||
export default App;
|
||||
|
|
|
|||
5
src/components/AppHeader.jsx
Normal file
5
src/components/AppHeader.jsx
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
const Header = () => {
|
||||
return <h1 className="text-3xl font-bold">Kuotata</h1>;
|
||||
};
|
||||
|
||||
export default Header;
|
||||
10
src/components/AppSubHeader.jsx
Normal file
10
src/components/AppSubHeader.jsx
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
const Subheader = () => {
|
||||
return (
|
||||
<>
|
||||
<h3>¿Jaqueca con tu préstamo?</h3>
|
||||
<h3>Calcula, compara y decide</h3>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
export default Subheader;
|
||||
1
src/index.css
Normal file
1
src/index.css
Normal file
|
|
@ -0,0 +1 @@
|
|||
@import "tailwindcss";
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
import ReactDOM from 'react-dom/client'
|
||||
import App from './App.jsx'
|
||||
|
||||
import './index.css';
|
||||
|
||||
ReactDOM.createRoot(document.getElementById('root')).render(
|
||||
<App />
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue