From 32864a432c1802c30b0e3403cb22f4dbe1b11e05 Mon Sep 17 00:00:00 2001 From: AnnaFYZ <113105718+AnnaFYZ@users.noreply.github.com> Date: Fri, 9 Jun 2023 21:49:05 +0100 Subject: [PATCH 01/14] 2exercises --- src/App.css | 11 +++++++++-- src/App.js | 9 ++++++++- src/Search.js | 6 +++++- 3 files changed, 22 insertions(+), 4 deletions(-) diff --git a/src/App.css b/src/App.css index 05fe2d52e..da393c625 100644 --- a/src/App.css +++ b/src/App.css @@ -7,14 +7,21 @@ height: 80px; } +.Logo-header { + width: 150px; + margin-right: 200px; +} + .App-header { background-color: #222; - height: 50px; + display: flex; + align-items: center; + height: auto; padding: 20px; color: white; text-align: left; font-family: Arial, Helvetica, sans-serif; - font-size: 1em; + font-size: 2em; font-weight: bold; } diff --git a/src/App.js b/src/App.js index 953c98560..97ea3d3a0 100644 --- a/src/App.js +++ b/src/App.js @@ -3,10 +3,17 @@ import React from "react"; import Bookings from "./Bookings"; import "./App.css"; +const Heading = () => ( +
+ + Pellentesque habitant morbi tristique senectus et netus et malesuada + fames ac turpis egestas. Ut congue volutpat erat. Suspendisse nec + vestibulum risus, at sollicitudin lectus. Sed rhoncus odio ac magna + ultrices, in consectetur tortor convallis. Sed sed dui ante. Etiam + efficitur lacus velit, eget placerat massa rutrum ut. Integer posuere + elit eget imperdiet molestie. +
+ +- Pellentesque habitant morbi tristique senectus et netus et malesuada - fames ac turpis egestas. Ut congue volutpat erat. Suspendisse nec - vestibulum risus, at sollicitudin lectus. Sed rhoncus odio ac magna - ultrices, in consectetur tortor convallis. Sed sed dui ante. Etiam - efficitur lacus velit, eget placerat massa rutrum ut. Integer posuere - elit eget imperdiet molestie. -
- ++ Pellentesque habitant morbi tristique senectus et netus et malesuada fames + ac turpis egestas. Ut congue volutpat erat. Suspendisse nec vestibulum + risus, at sollicitudin lectus. Sed rhoncus odio ac magna ultrices, in + consectetur tortor convallis. Sed sed dui ante. Etiam efficitur lacus + velit, eget placerat massa rutrum ut.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