From 96f5c4201fd2bf3db132c80c35087efaa2500e08 Mon Sep 17 00:00:00 2001 From: k1_241_02 Date: Sat, 29 Mar 2025 11:37:44 +0300 Subject: [PATCH] commit --- src/App.css | 63 ++++++++++++++++++++++++++--------------------------- src/App.js | 41 ++++++++++++++++++++-------------- 2 files changed, 56 insertions(+), 48 deletions(-) diff --git a/src/App.css b/src/App.css index 74b5e05..26c3688 100644 --- a/src/App.css +++ b/src/App.css @@ -1,38 +1,37 @@ -.App { - text-align: center; +.header { + background-color: green; + box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) + } -.App-logo { - height: 40vmin; - pointer-events: none; -} - -@media (prefers-reduced-motion: no-preference) { - .App-logo { - animation: App-logo-spin infinite 20s linear; - } -} - -.App-header { - background-color: #282c34; - min-height: 100vh; +.header .container { display: flex; - flex-direction: column; + justify-content: space-between; align-items: center; - justify-content: center; - font-size: calc(10px + 2vmin); +} + +.header .logo{ + display: flex; + align-items: center; + font-size: 1.5em; + font-family: 'DM Serif Display'; + font-style: normal; + font-weight: 600; + font-size: 24px; + line-height: 100%; +} + +.header .logo img{ + margin-right: 10px +} + +.header nav a { + margin-left: 60px; + text-decoration: none; color: white; -} + font-family: "Poppins", sans-serif; + font-weight: 400; + font-style: normal; + font-size: 16px; -.App-link { - color: #61dafb; -} - -@keyframes App-logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } -} +} \ No newline at end of file diff --git a/src/App.js b/src/App.js index 3784575..d3fc5ea 100644 --- a/src/App.js +++ b/src/App.js @@ -3,23 +3,32 @@ import './App.css'; function App() { return ( -
-
- logo -

- Edit src/App.js and save to reload. -

- - Learn React - -
-
+ +
+ + + ); } export default App; + +function Header(){ + return( +
+
+
+ + Top-Rent +
+ + +
+
+ ) +}