From e6a32b0b91e0f4d6677bb142017da3462dfa9bee Mon Sep 17 00:00:00 2001 From: CPunisher <1343316114@qq.com> Date: Tue, 23 Jun 2020 21:38:35 +0800 Subject: [PATCH] logo component --- src/components/app/PartHeader.js | 11 +- src/components/svg/QrbtfLogo.js | 472 +++++++++++++++++++++++++++++++ 2 files changed, 475 insertions(+), 8 deletions(-) create mode 100644 src/components/svg/QrbtfLogo.js diff --git a/src/components/app/PartHeader.js b/src/components/app/PartHeader.js index c6870de..d2319a5 100644 --- a/src/components/app/PartHeader.js +++ b/src/components/app/PartHeader.js @@ -1,17 +1,12 @@ import React from "react"; import '../Qrcode.css'; -import logo from "../../qrbtf-logo.svg"; import InputText from "../../containers/app/InputText"; - -const logoStyle = { - background: `url(${logo})`, - backgroundRepeat: 'no-repeat', - backgroundPosition: 'left' -}; +import QrbtfLogo from "../svg/QrbtfLogo"; const PartHeader = () => (
-
+
+

参数化二维码生成器 测试版

diff --git a/src/components/svg/QrbtfLogo.js b/src/components/svg/QrbtfLogo.js new file mode 100644 index 0000000..7ca55bf --- /dev/null +++ b/src/components/svg/QrbtfLogo.js @@ -0,0 +1,472 @@ +import * as React from "react" + +function QrbtfLogo(props) { + return ( + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ) +} + +export default QrbtfLogo