Skip to content

Commit

Permalink
[#4] feat: converted AnnouncementBar component to Bar
Browse files Browse the repository at this point in the history
  • Loading branch information
Damla Koksal committed Nov 27, 2020
1 parent a7c2173 commit 7c155fd
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
10 changes: 7 additions & 3 deletions components/layout/announcement/announcement.component.jsx
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>
);
}
11 changes: 6 additions & 5 deletions components/layout/footer/footer.component.jsx
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>
&nbsp;|&nbsp;
<a href="tel:+902123456789">tel. +90 (212) 345 67 89</a>
</span>
</footer>
</Bar>
);
}

0 comments on commit 7c155fd

Please sign in to comment.