From 66fa020be8880064bba24d4c33b64effec2bc03f Mon Sep 17 00:00:00 2001
From: CalciumIon <1808837298@qq.com>
Date: Mon, 11 Nov 2024 17:29:34 +0800
Subject: [PATCH] feat: update LinuxDo icon
---
web/src/components/LinuxDoIcon.js | 27 +++++++++++++++++++++++++++
web/src/components/LoginForm.js | 4 ++--
2 files changed, 29 insertions(+), 2 deletions(-)
create mode 100644 web/src/components/LinuxDoIcon.js
diff --git a/web/src/components/LinuxDoIcon.js b/web/src/components/LinuxDoIcon.js
new file mode 100644
index 0000000..c23cd68
--- /dev/null
+++ b/web/src/components/LinuxDoIcon.js
@@ -0,0 +1,27 @@
+import React from 'react';
+import { Icon } from '@douyinfe/semi-ui';
+
+const LinuxDoIcon = (props) => {
+ function CustomIcon() {
+ return (
+
+ );
+ }
+
+ return } />;
+};
+
+export default LinuxDoIcon;
\ No newline at end of file
diff --git a/web/src/components/LoginForm.js b/web/src/components/LoginForm.js
index b5fb7fd..f840c11 100644
--- a/web/src/components/LoginForm.js
+++ b/web/src/components/LoginForm.js
@@ -27,6 +27,7 @@ import TelegramLoginButton from 'react-telegram-login';
import { IconGithubLogo, IconAlarm } from '@douyinfe/semi-icons';
import WeChatIcon from './WeChatIcon';
import { setUserData } from '../helpers/data.js';
+import LinuxDoIcon from './LinuxDoIcon.js';
const LoginForm = () => {
const [inputs, setInputs] = useState({
@@ -247,8 +248,7 @@ const LoginForm = () => {
)}
{status.linuxdo_oauth ? (
}
+ icon={}
onClick={() =>
onLinuxDOOAuthClicked(status.linuxdo_client_id)
}