mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-10 12:19:28 +00:00
Refine copilot UI
This commit is contained in:
parent
d1445431f2
commit
76b1a3ca0e
1 changed files with 7 additions and 7 deletions
|
@ -86,10 +86,11 @@ impl CopilotCodeVerification {
|
|||
.flex_1()
|
||||
.gap_2()
|
||||
.items_center()
|
||||
.w_full()
|
||||
.child(Label::new(
|
||||
"Enable Copilot by connecting your existing license",
|
||||
))
|
||||
.child(Headline::new("Use Github Copilot in Zed.").size(HeadlineSize::Large))
|
||||
.child(
|
||||
Label::new("Using Copilot requres an active subscription on Github.")
|
||||
.color(Color::Muted),
|
||||
)
|
||||
.child(Self::render_device_code(data, cx))
|
||||
.child(
|
||||
Label::new("Paste this code into GitHub after clicking the button below.")
|
||||
|
@ -156,11 +157,10 @@ impl Render for CopilotCodeVerification {
|
|||
v_stack()
|
||||
.id("copilot code verification")
|
||||
.elevation_3(cx)
|
||||
.size_full()
|
||||
.w_96()
|
||||
.items_center()
|
||||
.p_4()
|
||||
.gap_4()
|
||||
.child(Headline::new("Connect Copilot to Zed").size(HeadlineSize::Large))
|
||||
.gap_2()
|
||||
.child(
|
||||
svg()
|
||||
.w_32()
|
||||
|
|
Loading…
Reference in a new issue