-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#4] feat: converted AnnouncementBar component to Bar
- Loading branch information
Damla Koksal
committed
Nov 27, 2020
1 parent
a7c2173
commit 7c155fd
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
import AnnouncementBar from "../../announcement-bar/announcement-bar.component"; | ||
|
||
import Bar from "../../bar/bar.component"; | ||
import "./announcement.styles.scss"; | ||
|
||
export default function Announcement() { | ||
return <AnnouncementBar />; | ||
return ( | ||
<Bar> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
<a href="tel:+902123456789">+90 (212) 345 67 89</a> | ||
</Bar> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,14 @@ | ||
import "./footer.styles.scss"; | ||
import Bar from "../../bar/bar.component"; | ||
|
||
export default function Footer() { | ||
return ( | ||
<footer className="footer-container"> | ||
<Bar height={"7vh"}> | ||
<span>Tüm hakları saklıdır 2020 © Karsal Örme A. Ş.</span> | ||
<span> | ||
<a href="mailto:[email protected]">[email protected]</a> | | ||
tel. <a href="tel:+902123456789">+90 (212) 345 67 89</a> | ||
<a href="mailto:[email protected]">[email protected]</a> | ||
| | ||
<a href="tel:+902123456789">tel. +90 (212) 345 67 89</a> | ||
</span> | ||
</footer> | ||
</Bar> | ||
); | ||
} |