Feat/ui v2 ohif logo svg (#1506)

* Adding new icons

* Introducing Svg component

* Adding ohif logo into header
This commit is contained in:
Gustavo André Lelis authored and James A. Petts committed 2020-05-15 13:36:01 +02:00
1 parent a738990675
commit 8c6daf5395
12 files changed
+133 -5

No files matched your search

@@ -14,7 +14,7 @@ function Header({ appLogo = OHIFLogo(), children, t }) {
return (
<div className="bg-custom-navy flex flex-row justify-between p-2 text-white">
<div className="flex items-center">
<div>{appLogo}</div>
<div className="mx-3">{appLogo}</div>
<div>{children}</div>
</div>
<div className="flex items-center">
@@ -1,7 +1,12 @@
import React from 'react';
import { Svg } from '@ohif/ui';
function OHIFLogo() {
return <React.Fragment>ICON - Open Health Imaging Foundation</React.Fragment>;
return (
<React.Fragment>
<Svg name="logo-ohif" />
</React.Fragment>
);
}
export default OHIFLogo;