From 50ec52ab6e97493b373bd79deb1e9e56bf8211cb Mon Sep 17 00:00:00 2001 From: gahusb Date: Wed, 27 May 2026 02:05:08 +0900 Subject: [PATCH] feat(saju-ui-v2): PrimaryButton + GhostButton + InputRow --- src/pages/saju/_shell/GhostButton.jsx | 18 ++++++++++++++ src/pages/saju/_shell/InputRow.jsx | 32 +++++++++++++++++++++++++ src/pages/saju/_shell/PrimaryButton.jsx | 22 +++++++++++++++++ 3 files changed, 72 insertions(+) create mode 100644 src/pages/saju/_shell/GhostButton.jsx create mode 100644 src/pages/saju/_shell/InputRow.jsx create mode 100644 src/pages/saju/_shell/PrimaryButton.jsx diff --git a/src/pages/saju/_shell/GhostButton.jsx b/src/pages/saju/_shell/GhostButton.jsx new file mode 100644 index 0000000..1a13fb0 --- /dev/null +++ b/src/pages/saju/_shell/GhostButton.jsx @@ -0,0 +1,18 @@ +import React from 'react'; +import hexA from './helpers/hexA'; + +export default function GhostButton({ + children, color = '#1F2A44', onClick, full = true, style = {}, type = 'button', +}) { + return ( + + ); +} diff --git a/src/pages/saju/_shell/InputRow.jsx b/src/pages/saju/_shell/InputRow.jsx new file mode 100644 index 0000000..ce7402a --- /dev/null +++ b/src/pages/saju/_shell/InputRow.jsx @@ -0,0 +1,32 @@ +import React from 'react'; + +export default function InputRow({ + label, name, type = 'text', value, onChange, placeholder, error, children, +}) { + return ( +
+ +
+ {children || ( + + )} + {error && ( + {error} + )} +
+
+ ); +} diff --git a/src/pages/saju/_shell/PrimaryButton.jsx b/src/pages/saju/_shell/PrimaryButton.jsx new file mode 100644 index 0000000..b72c85a --- /dev/null +++ b/src/pages/saju/_shell/PrimaryButton.jsx @@ -0,0 +1,22 @@ +import React from 'react'; +import hexA from './helpers/hexA'; + +export default function PrimaryButton({ + children, color = '#1F2A44', onClick, full = true, style = {}, gold = true, type = 'button', +}) { + return ( + + ); +}