From 6317ad2802eef4fe25e9536b85fe0246f628d858 Mon Sep 17 00:00:00 2001 From: servostar Date: Thu, 24 Oct 2024 21:24:29 +0200 Subject: [PATCH] refactor(tailwindcss): added header to app.tsx --- public/brunsviga_icon.svg | 82 +++++++++++++++++++++++++++++++++++++++ src/App.css | 41 -------------------- src/App.tsx | 37 ++++++++---------- 3 files changed, 99 insertions(+), 61 deletions(-) create mode 100644 public/brunsviga_icon.svg diff --git a/public/brunsviga_icon.svg b/public/brunsviga_icon.svg new file mode 100644 index 0000000..136ea50 --- /dev/null +++ b/public/brunsviga_icon.svg @@ -0,0 +1,82 @@ + + + + diff --git a/src/App.css b/src/App.css index b9d355d..8b13789 100644 --- a/src/App.css +++ b/src/App.css @@ -1,42 +1 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; -} -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); -} - -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} - -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } -} - -.card { - padding: 2em; -} - -.read-the-docs { - color: #888; -} diff --git a/src/App.tsx b/src/App.tsx index 3d7ded3..a1c6347 100644 --- a/src/App.tsx +++ b/src/App.tsx @@ -8,26 +8,23 @@ function App() { return ( <> -
- - Vite logo - - - React logo - -
-

Vite + React

-
- -

- Edit src/App.tsx and save to test HMR -

-
-

- Click on the Vite and React logos to learn more -

+
+ +
) }