Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(launchpad): help section changed after beta #2363

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 10 additions & 13 deletions node-launchpad/src/components/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,17 +96,17 @@ impl Component for Help {

let quickstart_guide_link = Hyperlink::new(
Span::styled(
"docs.autonomi.com/getstarted",
"autonomi.com/getstarted",
Style::default().fg(VIVID_SKY_BLUE).underlined(),
),
"https://docs.autonomi.com/getstarted",
"https://autonomi.com/getstarted",
);
let beta_rewards_link = Hyperlink::new(
let terms_and_conditions_link = Hyperlink::new(
Span::styled(
"autonomi.com/beta",
"autonomi.com/terms",
Style::default().fg(VIVID_SKY_BLUE).underlined(),
),
"https://autonomi.com/beta",
"https://autonomi.com/terms",
);
let get_direct_support_link = Hyperlink::new(
Span::styled(
Expand Down Expand Up @@ -134,7 +134,7 @@ impl Component for Help {
// Render hyperlinks in the new area
f.render_widget(
Span::styled(
"See the quick start guides:",
"Read the quick start guides:",
Style::default().fg(GHOST_WHITE),
),
left_column[0],
Expand All @@ -147,20 +147,17 @@ impl Component for Help {
f.render_widget_ref(get_direct_support_link, left_column[3]);
f.render_widget(
Span::styled(
"To join the Beta Rewards Program:",
"Download the latest launchpad:",
Style::default().fg(GHOST_WHITE),
),
right_column[0],
);
f.render_widget_ref(beta_rewards_link, right_column[1]);
f.render_widget_ref(download_latest_link, right_column[1]);
f.render_widget(
Span::styled(
"Download the latest launchpad:",
Style::default().fg(GHOST_WHITE),
),
Span::styled("Terms & Conditions:", Style::default().fg(GHOST_WHITE)),
right_column[2],
);
f.render_widget_ref(download_latest_link, right_column[3]);
f.render_widget_ref(terms_and_conditions_link, right_column[3]);

f.render_widget(block, layout[1]);

Expand Down
Loading