refactor: 收敛工坊模板页面职责与视觉
This commit is contained in:
1 parent
f12003004b
commit
cfd42e17f8
15 files changed
+64
-190
No files matched your search
@@ -129,7 +129,7 @@ function Home({ workspace }: Props) {
|
||||
<Text className="atelier-card-title">{p.ctaTitle}</Text>
|
||||
<Text className="atelier-caption">{p.ctaSubtitle}</Text>
|
||||
</View>
|
||||
<Button onClick={() => navigate("profile")}>{p.ctaAction}</Button>
|
||||
<InquiryAction workspace={workspace} label={p.ctaAction} />
|
||||
</View>
|
||||
</View>
|
||||
);
|
||||
@@ -238,34 +238,22 @@ function Profile({ workspace }: Props) {
|
||||
{p.recordsAction}
|
||||
</Button>
|
||||
</View>
|
||||
<View className="atelier-card">
|
||||
<View data-editor-target="atelier.profile.identity">
|
||||
<View className="atelier-identity">
|
||||
{text(b.avatarUrl) && <Image src={text(b.avatarUrl)} mode="aspectFill" />}
|
||||
<View>
|
||||
<Text className="atelier-card-title">{text(b.founder)}</Text>
|
||||
<Text className="atelier-caption">{text(b.title)}</Text>
|
||||
</View>
|
||||
<View className="atelier-card" data-editor-target="atelier.profile.contact">
|
||||
<InquiryAction workspace={workspace} label={`${p.inquiryAction} ${p.timeHint}`} />
|
||||
<View className="atelier-wechat">
|
||||
<View>
|
||||
<Text className="atelier-caption">{p.wechatLabel}</Text>
|
||||
<Text>{text(b.contactWechat) || p.contactHint}</Text>
|
||||
</View>
|
||||
<Text className="atelier-body atelier-bio">{text(b.description)}</Text>
|
||||
</View>
|
||||
<View data-editor-target="atelier.profile.contact">
|
||||
<InquiryAction workspace={workspace} label={`${p.inquiryAction} ${p.timeHint}`} />
|
||||
<View className="atelier-wechat">
|
||||
<View>
|
||||
<Text className="atelier-caption">{p.wechatLabel}</Text>
|
||||
<Text>{text(b.contactWechat) || p.contactHint}</Text>
|
||||
</View>
|
||||
<Button
|
||||
className="atelier-copy"
|
||||
disabled={!text(b.contactWechat)}
|
||||
onClick={() => void copyWechat()}
|
||||
>
|
||||
{p.copyAction}
|
||||
</Button>
|
||||
</View>
|
||||
<Text className="atelier-contact-note">✓ {p.promise}</Text>
|
||||
<Button
|
||||
className="atelier-copy"
|
||||
disabled={!text(b.contactWechat)}
|
||||
onClick={() => void copyWechat()}
|
||||
>
|
||||
{p.copyAction}
|
||||
</Button>
|
||||
</View>
|
||||
<Text className="atelier-contact-note">✓ {p.promise}</Text>
|
||||
</View>
|
||||
<View className="atelier-faq-heading" data-editor-target="atelier.profile.faqHeading">
|
||||
<Text className="atelier-title">{p.faqTitle}</Text>
|
||||
|
||||
@@ -216,7 +216,7 @@
|
||||
font:
|
||||
72px Georgia,
|
||||
serif;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
}
|
||||
.atelier-case-copy {
|
||||
padding: 20px;
|
||||
@@ -244,14 +244,14 @@
|
||||
}
|
||||
.atelier-symbol {
|
||||
font-size: 36px;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
}
|
||||
.atelier-cta {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 20px;
|
||||
justify-content: space-between;
|
||||
background: #183329;
|
||||
background: #1f3a5f;
|
||||
color: #fff;
|
||||
border-radius: 28px;
|
||||
padding: 30px;
|
||||
@@ -262,13 +262,13 @@
|
||||
}
|
||||
.atelier-cta .atelier-caption,
|
||||
.atelier-cta .atelier-body {
|
||||
color: #c5d1c6;
|
||||
color: #c8d3e4;
|
||||
}
|
||||
.atelier-cta button {
|
||||
--brand-button-height: 72px;
|
||||
width: auto;
|
||||
background: #fff;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
flex-shrink: 0;
|
||||
font-size: 23px;
|
||||
}
|
||||
@@ -278,7 +278,7 @@
|
||||
.atelier-cta-large button {
|
||||
margin-top: 24px;
|
||||
width: 100%;
|
||||
background: #fcdfb1;
|
||||
background: #fff;
|
||||
}
|
||||
.atelier-deliverable {
|
||||
display: grid;
|
||||
@@ -312,7 +312,7 @@
|
||||
border-left: 1px solid #deded5;
|
||||
}
|
||||
.atelier-step-dot {
|
||||
background: #183329;
|
||||
background: #1f3a5f;
|
||||
color: #fff;
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
@@ -373,7 +373,7 @@
|
||||
width: auto;
|
||||
padding: 6px 14px;
|
||||
font-size: 20px;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
background: #e8eae3;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -386,7 +386,7 @@
|
||||
.atelier .atelier-records {
|
||||
--brand-button-height: 60px;
|
||||
background: transparent;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
font-size: 22px;
|
||||
margin-top: 12px;
|
||||
}
|
||||
@@ -402,7 +402,7 @@
|
||||
grid-template-columns: 36px 1fr 22px;
|
||||
gap: 16px;
|
||||
background: transparent;
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
text-align: left;
|
||||
padding: 4px;
|
||||
}
|
||||
@@ -469,7 +469,7 @@
|
||||
.atelier-forms .inquiry-page,
|
||||
.atelier-forms .success-page,
|
||||
.atelier-forms .records-page {
|
||||
background: #fbf9f5;
|
||||
background: #f6f6f4;
|
||||
padding: 40px;
|
||||
}
|
||||
.atelier-forms .form-intro {
|
||||
@@ -489,11 +489,11 @@
|
||||
border-radius: 18px;
|
||||
}
|
||||
.atelier-forms .form-title {
|
||||
color: #183329;
|
||||
color: #1f3a5f;
|
||||
font-family: "Songti SC", serif;
|
||||
}
|
||||
.atelier-forms .submit-button {
|
||||
background: #183329;
|
||||
background: #1f3a5f;
|
||||
}
|
||||
.atelier-privacy {
|
||||
padding: 0 40px 60px;
|
||||
@@ -515,9 +515,9 @@
|
||||
padding: 14px 10px;
|
||||
}
|
||||
.atelier-forms .choice.selected {
|
||||
color: #183329;
|
||||
background: #eaf0e9;
|
||||
border-color: #183329;
|
||||
color: #1f3a5f;
|
||||
background: #e8edf5;
|
||||
border-color: #1f3a5f;
|
||||
}
|
||||
.atelier-forms .atelier-privacy {
|
||||
padding: 28px;
|
||||
|
||||
Reference in new issue
Block a user