Skip to content

Commit d869c30

Browse files
killercupashleygwilliams
authored andcommitted
Cli landing page (#78)
* Add rust-toolchain file No idea what tool the RustConfig file is for, but this one works with rustup (which I hear is quite popular ;)) * Update CLI entry page with some nicer content * Address review feedback - Code in partials - Less CSS noise * Adding some preliminary icons that have been modified from their upstream counterparts * Add/Rename CLI Icons for Great Justice * Add Some Icons to CLI Landing Page * CLI Pitch Boxes * CLI: Mo Boxes, Mo Content * Changing icon colours to white background and decreasing opacity * Making the initial pitch icons also white and tweaking the CSS to match * Adding initial texts to most of the detail boxes * Changing exit-codes svg from $? to arrow * Fixing the CLI icon colour * CLI: White buttons pls * CLI: Links, Three More Sections * CLI: Line breaks and code * Cli: Trim title * CLI: Last but not least * this would require to much updating
1 parent 69b6db4 commit d869c30

17 files changed

+1347
-61
lines changed

src/styles/app.scss

Lines changed: 59 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,8 @@ span.brand img {
9090
.domains h3, #whitepapers h3, #using-the-trademarks h3,
9191
#contribute-code h3, #contribute-talk h3, #contribute h3,
9292
#community-events h3, #tools-code-quality h3, #learn-use h3,
93-
#embedded-why-rust h3, #embedded-get-started h3 {
93+
#embedded-why-rust h3, #embedded-get-started h3,
94+
#cli-features h3, #cli-pitch h3 {
9495
font-weight: 800;
9596
font-size: 1.8em;
9697
}
@@ -560,6 +561,63 @@ blockquote::before {
560561
}
561562
}
562563

564+
#cli-pitch,
565+
#cli-features {
566+
.domain-icon {
567+
display: block;
568+
padding-bottom: 0;
569+
570+
img {
571+
max-width: 90px;
572+
height: auto;
573+
display: block;
574+
margin-left: auto;
575+
margin-right: auto;
576+
padding-bottom: 1em;
577+
opacity: 0.9;
578+
}
579+
}
580+
}
581+
582+
#cli-pitch {
583+
background-color: $green;
584+
color: white;
585+
586+
.button-secondary {
587+
border-color: #fff;
588+
}
589+
590+
a {
591+
color: #fff;
592+
text-decoration: none;
593+
}
594+
}
595+
596+
#cli-features {
597+
background-color: $red;
598+
color: white;
599+
600+
a {
601+
color: $yellow;
602+
}
603+
604+
h3 code {
605+
background-color: transparent;
606+
border: none;
607+
word-break: break-word;
608+
white-space: pre-line;
609+
}
610+
}
611+
612+
#cli-use-it {
613+
background-color: $purple;
614+
color: white;
615+
616+
pre {
617+
color: black;
618+
}
619+
}
620+
563621
#ferris-error {
564622
width: 80%;
565623
}

static/images/cli-app-structure-2.svg

Lines changed: 190 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)