Skip to content

Commit 5f3e2ff

Browse files
committed
Update with Leaf description inclusion
1 parent 3442aeb commit 5f3e2ff

File tree

1 file changed

+29
-5
lines changed

1 file changed

+29
-5
lines changed

src/components/sections/features.tsx

Lines changed: 29 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import { Cpu, FileSliders, Layers, Terminal, Users, Zap } from 'lucide-react';
44
import { Card } from '~/components/ui/card';
5+
import Link from 'next/link';
56

67
const FEATURES = [
78
{
@@ -18,7 +19,8 @@ const FEATURES = [
1819
},
1920
{
2021
title: 'Optimized Chunk Generation',
21-
description: 'With fixed linear scaling, chunk performance is unparalleled compared to other forks',
22+
description:
23+
'With fixed linear scaling, chunk performance is unparalleled compared to other forks.',
2224
icon: Zap,
2325
},
2426
{
@@ -29,7 +31,8 @@ const FEATURES = [
2931
},
3032
{
3133
title: 'Optional Regionizing',
32-
description: 'Implementing a rewrite of Folias regionizing implementation, we add optional regionizing to the server',
34+
description:
35+
'Implementing a rewrite of Folia’s regionizing implementation, we add optional regionizing to the server.',
3336
icon: Users,
3437
},
3538
{
@@ -42,8 +45,26 @@ const FEATURES = [
4245

4346
export function Features() {
4447
return (
45-
<section className='mx-auto max-w-7xl px-6 py-20 sm:px-8 lg:px-12 lg:py-28'>
46-
<header className='max-w-2xl'>
48+
<section className='mx-auto max-w-7xl px-6 py-20 sm:px-8 lg:px-12 lg:py-2'>
49+
<header className='max-w-9xl'>
50+
<h2 className='font-semibold text-3xl text-white'>What is Canvas?</h2>
51+
<p className='mt-10 text-neutral-300 whitespace-pre-line'>
52+
Canvas is a Minecraft server software introducing a fully multithreaded architecture to the dedicated server through a rewritten
53+
chunk system executor, parallel world ticking and regionization. Canvas is an attempt at a fully multithreaded Minecraft
54+
dedicated server without breaking plugin compatibility, and creating a more scalable environment for more modern CPUs.
55+
{'\n\n'}
56+
<strong>Canvas is not a simple drop-in replacement for Paper or Purpur. It is a fundamentally different architecture that requires
57+
some configuration and understanding before use.</strong>
58+
{'\n\n'}
59+
Canvas&apos; config (<code>canvas-server.yml</code>) is aimed for vanilla parity and stability rather than raw performance, so it needs to be manually configured to benefit your server. Canvas is also highly hardware-dependent and not well-suited for shared hosting due to its aggressive chunk system executor. That said, it provides significantly higher performance when run on appropriate hardware (at least 10 threads / 5 physical cores recommended).
60+
{'\n\n'}
61+
Please thoroughly test before deploying to production, as Canvas introduces a plugin compatibility layer due to its threaded design. If you find a plugin incompatibility, report it in our <Link href="https://canvasmc.io/discord" className="text-sky-400 underline">Discord server</Link>.
62+
{'\n\n'}
63+
Canvas includes upstream from <Link href="https://github.com/Winds-Studio/Leaf" className="text-sky-400 underline">Leaf</Link> to improve single-threaded performance. This does <strong>not</strong> mean Canvas is better or worse than Leaf—they are tailored to different goals and environments.
64+
</p>
65+
</header>
66+
67+
<header className='max-w-2xl mt-24'>
4768
<h2 className='font-semibold text-3xl text-white'>What makes Canvas special?</h2>
4869
<p className='mt-3 text-lg text-neutral-300'>
4970
Find out what makes Canvas different from other Minecraft server software.
@@ -52,7 +73,10 @@ export function Features() {
5273

5374
<div className='mt-10 grid gap-6 sm:grid-cols-2 lg:grid-cols-3'>
5475
{FEATURES.map(({ title, description, icon: Icon }) => (
55-
<Card key={title} className='p-5 transition-all duration-200 hover:ring-neutral-600/60'>
76+
<Card
77+
key={title}
78+
className='p-5 transition-all duration-200 hover:ring-neutral-600/60'
79+
>
5680
<div className='flex gap-4'>
5781
<div className='shrink-0'>
5882
<div className='rounded-lg bg-neutral-700/50 p-2.5'>

0 commit comments

Comments
 (0)