Skip to content

Commit

Permalink
maj underconstruction
Browse files Browse the repository at this point in the history
  • Loading branch information
nephcode committed Aug 19, 2024
1 parent 6f641b5 commit c8a5624
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 7 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="fr">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/svg+xml" href="/rethagon-logo.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Rethagon Rap game</title>
<title>Rethagon Battle Rap game</title>
</head>
<body>
<div id="root"></div>
Expand Down
File renamed without changes
15 changes: 14 additions & 1 deletion src/App.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,18 @@
text-align: center;
}

.hero {
height: 9rem;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
}
.hero:hover {
filter: drop-shadow(0 0 2em #FFFFFFaa);
}

.logo {
height: 6em;
height: 3rem;
padding: 1.5em;
will-change: filter;
transition: filter 300ms;
Expand All @@ -17,6 +27,9 @@
.logo.react:hover {
filter: drop-shadow(0 0 2em #61dafbaa);
}
.logo.bun:hover {
filter: drop-shadow(0 0 2em #ebcaf0aa);
}

@keyframes logo-spin {
from {
Expand Down
18 changes: 14 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
@@ -1,32 +1,42 @@
import { useState } from 'react'
import reactLogo from './assets/react.svg'
import reactLogo from './assets/stack/react.svg'
import viteLogo from '/vite.svg'
import bunLogo from './assets/stack/bun.svg'
import rethagonLogo from '/rethagon-logo.svg'
import './App.css'

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

return (
<>
<div>
<a href="#" target="_blank">
<img src={rethagonLogo} className="hero" alt="Rethagon logo" />
</a>
</div>
<div>
<a href="https://vitejs.dev" target="_blank">
<img src={viteLogo} className="logo" alt="Vite logo" />
</a>
<a href="https://react.dev" target="_blank">
<img src={reactLogo} className="logo react" alt="React logo" />
</a>
<a href="https://bun.sh" target="_blank">
<img src={bunLogo} className="logo bun" alt="Bun logo" />
</a>
</div>
<h1>Vite + React</h1>
<h1>Vite + React + Bun</h1>
<div className="card">
<button onClick={() => setCount((count) => count + 1)}>
count is {count}
</button>
<p>
Edit <code>src/App.tsx</code> and save to test HMR
Rethagon - Forecast Game Battle Rap
</p>
</div>
<p className="read-the-docs">
Click on the Vite and React logos to learn more
Bun + Vite + React 19rc + Typescript + Foundry + Solidity + TailwindCSS
</p>
</>
)
Expand Down
1 change: 1 addition & 0 deletions src/assets/stack/bun.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Empty file added src/layouts/Footer/index.tsx
Empty file.
Empty file added src/layouts/Header/index.tsx
Empty file.

0 comments on commit c8a5624

Please sign in to comment.