Refine copilot UI
This commit is contained in:
@@ -86,10 +86,11 @@ impl CopilotCodeVerification {
|
|||||||
.flex_1()
|
.flex_1()
|
||||||
.gap_2()
|
.gap_2()
|
||||||
.items_center()
|
.items_center()
|
||||||
.w_full()
|
.child(Headline::new("Use Github Copilot in Zed.").size(HeadlineSize::Large))
|
||||||
.child(Label::new(
|
.child(
|
||||||
"Enable Copilot by connecting your existing license",
|
Label::new("Using Copilot requres an active subscription on Github.")
|
||||||
))
|
.color(Color::Muted),
|
||||||
|
)
|
||||||
.child(Self::render_device_code(data, cx))
|
.child(Self::render_device_code(data, cx))
|
||||||
.child(
|
.child(
|
||||||
Label::new("Paste this code into GitHub after clicking the button below.")
|
Label::new("Paste this code into GitHub after clicking the button below.")
|
||||||
@@ -156,11 +157,10 @@ impl Render for CopilotCodeVerification {
|
|||||||
v_stack()
|
v_stack()
|
||||||
.id("copilot code verification")
|
.id("copilot code verification")
|
||||||
.elevation_3(cx)
|
.elevation_3(cx)
|
||||||
.size_full()
|
.w_96()
|
||||||
.items_center()
|
.items_center()
|
||||||
.p_4()
|
.p_4()
|
||||||
.gap_4()
|
.gap_2()
|
||||||
.child(Headline::new("Connect Copilot to Zed").size(HeadlineSize::Large))
|
|
||||||
.child(
|
.child(
|
||||||
svg()
|
svg()
|
||||||
.w_32()
|
.w_32()
|
||||||
|
|||||||
Reference in New Issue
Block a user