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

Change padding sizes for top bars #108

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion src/components/layout/SoftwareDownload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ const SoftwareDownload = ({

return (
<>
<header className="max-w-7xl flex flex-row flex-wrap mx-auto px-4 pt-32 pb-16 lg:(pt-48 pb-26) gap-16">
<header className="max-w-7xl flex flex-row flex-wrap mx-auto px-4 pt-32 pb-16 lg:(pt-28 pb-12) gap-16">
{eol && (
<div className="text-center px-4 py-8 -mt-16 font-bold bg-red-400 dark:bg-red-500 shadow-md rounded-lg w-full">
{project.name} has reached end of life! It is no longer maintained
Expand Down
2 changes: 1 addition & 1 deletion src/components/layout/SoftwareHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const SoftwareHeader = ({
github,
eol,
}: SoftwareHeaderProps): ReactElement => (
<header className="max-w-7xl flex flex-row flex-wrap mx-auto px-4 pt-32 pb-26 lg:(pt-48 pb-46) gap-16">
<header className="max-w-7xl flex flex-row flex-wrap mx-auto px-4 pt-32 pb-26 lg:(pt-28 pb-14) gap-16">
{eol && (
<div className="text-center px-4 py-8 -mt-16 font-bold bg-red-400 dark:bg-red-500 shadow-md rounded-lg w-full">
{name} has reached end of life! It is no longer maintained or supported.
Expand Down
2 changes: 1 addition & 1 deletion src/pages/contribute.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const Contribute: NextPage = () => (
keywords={["papermc", "paper", "minecraft", "sponsor", "contributing"]}
canonical="/contribute"
/>
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-16 lg:(pt-48 pb-32) gap-16">
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-16 lg:(pt-28 pb-16) gap-16">
<div className="flex-1">
<h1 className="font-medium leading-normal lg:(text-5xl leading-normal) text-4xl">
You can contribute
Expand Down
11 changes: 9 additions & 2 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import Image from "next/image";

import PaperIcon from "@/assets/brand/paper.svg";
import VelocityIcon from "@/assets/brand/velocity.svg";
import FoliaIcon from "@/assets/brand/folia.svg";
import HomeImage1 from "@/assets/images/home-1.png";
import HomeImage2 from "@/assets/images/home-2.png";
import HomeImage3 from "@/assets/images/home-3.png";
Expand All @@ -26,7 +27,7 @@ const Home: NextPage<ProjectProps> = ({ project }) => {
keywords={["papermc", "paper", "velocity", "minecraft", "performance"]}
canonical="/"
/>
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-26 lg:(pt-48 pb-46)">
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-26 lg:(pt-44 pb-38)">
<div className="flex-1">
<h1 className="font-medium leading-normal lg:(text-5xl leading-normal) text-4xl">
Modern software. <br />
Expand Down Expand Up @@ -73,12 +74,18 @@ const Home: NextPage<ProjectProps> = ({ project }) => {
icon={VelocityIcon}
description="Velocity is a high-performance, scalable Minecraft proxy server that allows players to connect to multiple Minecraft servers under the proxy."
/>
<SoftwarePreview
id="folia"
name="Folia"
icon={FoliaIcon}
description="Folia is a new fork of Paper that adds regionized multithreading to the server allowing for better performance and scalability."
/>
</div>
</div>
</section>
<section
id="facts"
className="flex flex-col max-w-7xl mx-auto px-4 py-8 gap-8 md:(gap-12 py-16)"
className="flex flex-col max-w-7xl mx-auto px-4 py-8 gap-8 md:(gap-12 py-14)"
>
<div className="flex flex-col gap-6 md:(flex-row-reverse gap-8) xl:gap-24 items-center">
<div className="w-full flex-1 rounded-xl bg-gray-900 aspect-video relative overflow-clip">
Expand Down
2 changes: 1 addition & 1 deletion src/pages/team.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ const Team: NextPage = () => {
keywords={["papermc", "paper", "minecraft", "team"]}
canonical="/team"
/>
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-26 lg:(pt-48 pb-46) gap-16">
<header className="max-w-7xl flex flex-row mx-auto px-4 pt-32 pb-26 lg:(pt-28 pb-16) gap-16">
<div className="flex-1">
<h1 className="font-medium leading-normal lg:(text-5xl leading-normal) text-4xl">
Meet our team
Expand Down