Skip to content

Commit 2dae31d

Browse files
committed
Adjustments to HERO and others
1 parent b93ac3a commit 2dae31d

File tree

7 files changed

+12
-24
lines changed

7 files changed

+12
-24
lines changed

public/logo_big.png

4.56 MB
Loading

src/app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ export const metadata: Metadata = {
1919
template: `%s | ${siteConfig.name}`,
2020
},
2121
description: siteConfig.description,
22-
keywords: ['CanvasMC', 'PaperMC', 'Purpur', 'Performance', 'Multithreading'],
22+
keywords: ['CanvasMC', 'Canvas', 'Regionizing', 'Threaded Minecraft', 'PaperMC', 'Purpur', 'Performance', 'Multithreading'],
2323
openGraph: {
2424
url: new URL(siteConfig.url),
2525
siteName: siteConfig.name,

src/components/footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ const LINKS = {
1616
],
1717
'Get Involved': [
1818
{ href: `${siteConfig.links.github.repo}/issues`, label: 'GitHub Issues' },
19-
{ href: siteConfig.links.donate, label: 'Sponsor' },
19+
{ href: siteConfig.links.donate, label: 'Donate' },
2020
],
2121
'About Canvas': [
2222
{ href: '/team', label: 'Team' },

src/components/sections/community.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ const COMMUNITIES = [
1010
{
1111
title: 'Discord',
1212
description:
13-
'Join our vibrant Discord community to get support, share your experiences, and connect with other Canvas users.',
13+
'Join our Discord community to get support, share your experiences, and connect with other Canvas users.',
1414
icon: MessageCircle,
1515
buttonText: 'Join Discord',
1616
href: siteConfig.links.discord,

src/components/sections/features.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ const FEATURES = [
77
{
88
title: 'Multithreaded Performance',
99
description:
10-
'Leverage multiple CPU cores for dimension ticking and chunk generation, dramatically improving server performance.',
10+
'Leverage multiple CPU cores for ticking the server, dramatically improving performance.',
1111
icon: Cpu,
1212
},
1313
{
@@ -28,14 +28,14 @@ const FEATURES = [
2828
icon: Terminal,
2929
},
3030
{
31-
title: 'Seamless Player Joining',
32-
description: 'Asynchronous player joining process ensures no lag even with many players connecting simultaneously.',
31+
title: 'Optional Regionizing',
32+
description: 'Implementing a rewrite of Folias regionizing implementation, we add optional regionizing to the server',
3333
icon: Users,
3434
},
3535
{
3636
title: 'Extensive Configuration',
3737
description:
38-
'Fine-tune every aspect of your server with comprehensive configuration options and performance settings.',
38+
'Fine-tune every aspect of your server with documented configuration options and performance settings.',
3939
icon: FileSliders,
4040
},
4141
] as const;

src/components/sections/hero.tsx

Lines changed: 4 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -9,18 +9,7 @@ import { Card } from '~/components/ui/card';
99
import { GradientBackground } from '~/components/ui/gradient-background';
1010
import { cn } from '~/lib/utils';
1111

12-
const SOFTWARE_OPTIONS = [
13-
{ id: 'paper', image: '/purpur-logo.png', name: 'Purpur' },
14-
{ id: 'canvas', image: '/logo.png', name: 'Canvas' },
15-
] as const;
16-
1712
export function Hero() {
18-
const [selected, setSelected] = useState<'paper' | 'canvas'>('canvas');
19-
20-
const getChange = (paper: number, canvas: number, inverted = false) => {
21-
const diff = ((inverted ? paper - canvas : canvas - paper) / paper) * 100;
22-
return Math.round(selected === 'paper' ? -diff : diff);
23-
};
2413

2514
return (
2615
<section className='relative isolate'>
@@ -32,8 +21,8 @@ export function Hero() {
3221
High-performance Minecraft server software
3322
</h1>
3423
<p className='mt-6 text-lg text-neutral-300'>
35-
Supercharge your Minecraft server with multithreaded dimension ticking, improved chunk generation,
36-
optimized entity handling and many more powerful optimizations.
24+
Supercharge your Minecraft server with experimental, yet powerful performance optimizations,
25+
like a rewritten chunk system executor, and threaded dimensions and regions
3726
</p>
3827
<div className='mt-8 flex flex-col gap-4 sm:flex-row'>
3928
<Button asChild size='lg'>
@@ -55,9 +44,8 @@ export function Hero() {
5544
<div className='flex justify-center'>
5645
<Image src='/logo_big.png'
5746
alt='Canvas Logo Blur'
58-
width={450}
59-
height={450}
60-
className='rounded-lg shadow-lg'/>
47+
width={460}
48+
height={460}/>
6149
</div>
6250
</div>
6351
</div>

src/components/ui/gradient-background.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export function GradientBackground({
1818
>
1919
<div
2020
className={cn(
21-
'-translate-x-1/2 relative left-[calc(50%-11rem)] aspect-[1155/678] w-[106.125rem] rotate-[30deg] bg-gradient-to-tr opacity-15 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]',
21+
'-translate-x-1/5 relative left-[calc(100%-11rem)] aspect-[1155/678] w-[106.125rem] rotate-[30deg] bg-gradient-to-tr opacity-36 sm:left-[calc(50%-30rem)] sm:w-[72.1875rem]',
2222
...colors,
2323
)}
2424
style={{

0 commit comments

Comments
 (0)