Improved descriptions
This commit is contained in:
+10
-13
@@ -9,9 +9,17 @@ export const mistShowcase = [
|
|||||||
{
|
{
|
||||||
title: "Rust.. With ergonomics?",
|
title: "Rust.. With ergonomics?",
|
||||||
description:
|
description:
|
||||||
"Mist is a systems language that compiles to Rust, built on the idea that writing low-level code shouldn't feel mentally heavy.",
|
"C/C++ style syntax for comfort. Mist is designed for fast, readable systems code with minimal friction compared to raw Rust.",
|
||||||
code: `void main() {
|
code: `void main() {
|
||||||
println!("Hello, World!");
|
println!("Hello, World!");
|
||||||
|
|
||||||
|
greet("Developer");
|
||||||
|
}
|
||||||
|
|
||||||
|
public void greet(str* name) {
|
||||||
|
// Familiar pointer ergonomics with Rust safety
|
||||||
|
String greeting = name.to_string();
|
||||||
|
println!("Hello, {}!", greeting);
|
||||||
}`,
|
}`,
|
||||||
cta: true,
|
cta: true,
|
||||||
},
|
},
|
||||||
@@ -29,17 +37,6 @@ void process_data() {
|
|||||||
}`,
|
}`,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
|
||||||
title: "Ergonomic Development",
|
|
||||||
description:
|
|
||||||
"C/C++ style syntax for quick onboarding. Mist is designed for fast, readable systems code with minimal friction compared to raw Rust.",
|
|
||||||
code: `public void greet(str* name) {
|
|
||||||
// Familiar pointer ergonomics with Rust safety
|
|
||||||
String greeting = name.to_string();
|
|
||||||
println!("Hello, {}!", greeting);
|
|
||||||
}`,
|
|
||||||
},
|
|
||||||
|
|
||||||
{
|
{
|
||||||
title: "Class and Type System",
|
title: "Class and Type System",
|
||||||
description:
|
description:
|
||||||
@@ -101,7 +98,7 @@ function ShowSection({
|
|||||||
<h1 className="text-5xl bg-linear-to-r from-fd-primary to-fd-muted-foreground bg-clip-text text-transparent h-13">
|
<h1 className="text-5xl bg-linear-to-r from-fd-primary to-fd-muted-foreground bg-clip-text text-transparent h-13">
|
||||||
{show.title}
|
{show.title}
|
||||||
</h1>
|
</h1>
|
||||||
<p className="text-xl text-zinc-400">{show.description}</p>
|
<p className="text-xl text-zinc-400 text-center">{show.description}</p>
|
||||||
{show.cta && (
|
{show.cta && (
|
||||||
<div className="mt-3 lg:mt-1 flex gap-6">
|
<div className="mt-3 lg:mt-1 flex gap-6">
|
||||||
<Link
|
<Link
|
||||||
|
|||||||
Reference in New Issue
Block a user