More CSS bug fixes; continuation of #8 #9

Merged
DorianNiemiecSVRJS merged 4 commits from main into main 2024-07-30 13:32:27 +02:00
8 changed files with 30 additions and 30 deletions

View file

@ -72,11 +72,11 @@ const Page = ({ params }: { params: { slug: string } }) => {
return ( return (
<> <>
<section className="wrapper container py-24 md:py-28 gap-4 flex flex-col"> <section className="wrapper container py-24 md:py-28 gap-2 flex flex-col">
<h1 className="text-3xl md:text-5xl font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
{page.title} {page.title}
</h1> </h1>
<ReactMarkdown className="prose max-w-full prose-lg dark:prose-invert"> <ReactMarkdown className="prose max-w-full md:prose-lg dark:prose-invert">
{page.content} {page.content}
</ReactMarkdown> </ReactMarkdown>
</section> </section>

View file

@ -52,12 +52,12 @@ const LogsPage: React.FC = () => {
return ( return (
<section <section
id="logs" id="logs"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Server LOGS Server LOGS
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS download and compiled Files here! Get all the latest version of SVRJS download and compiled Files here!
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}
@ -65,7 +65,7 @@ const LogsPage: React.FC = () => {
{reversedDownloads.map((download) => ( {reversedDownloads.map((download) => (
<div <div
key={download._id} key={download._id}
className="flex-start prose max-w-full prose-lg dark:prose-invert flex-col" className="flex-start prose max-w-full md:prose-lg dark:prose-invert flex-col mb-4"
> >
<h2 className="font-bold text-3xl">{download.version}</h2> <h2 className="font-bold text-3xl">{download.version}</h2>
<span className="font-medium italic">{download.date}</span> <span className="font-medium italic">{download.date}</span>
@ -76,7 +76,7 @@ const LogsPage: React.FC = () => {
</ul> </ul>
</div> </div>
))} ))}
<div className="prose max-w-full prose-lg dark:prose-invert"> <div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{CHANGE_LOGS}</ReactMarkdown> <ReactMarkdown>{CHANGE_LOGS}</ReactMarkdown>
</div> </div>
</section> </section>

View file

@ -10,16 +10,16 @@ const Contribute = () => {
return ( return (
<section <section
id="tos" id="tos"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Contributing to SVR.JS Contributing to SVR.JS
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
We welcome contributions from the community! Here&apos;s how you can We welcome contributions from the community! Here&apos;s how you can
help! help!
</p> </p>
<div className="prose max-w-full prose-lg dark:prose-invert"> <div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{contribute}</ReactMarkdown> <ReactMarkdown>{contribute}</ReactMarkdown>
</div> </div>
</section> </section>

View file

@ -56,12 +56,12 @@ const DownloadPage: React.FC = () => {
return ( return (
<section <section
id="download" id="download"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Downloads Downloads
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS download and compiled Files here! Get all the latest version of SVRJS download and compiled Files here!
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}

View file

@ -56,12 +56,12 @@ const ModsPage: React.FC = () => {
return ( return (
<section <section
id="mods" id="mods"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
SvrJS Mods SvrJS Mods
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Get all the latest version of SVRJS Mods and compiled Files here!{" "} Get all the latest version of SVRJS Mods and compiled Files here!{" "}
</p> </p>
{error && <p className="text-red-500">{error}</p>} {error && <p className="text-red-500">{error}</p>}

View file

@ -12,15 +12,15 @@ const PrivacyPolicy = () => {
return ( return (
<section <section
id="privacy-policy" id="privacy-policy"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Privacy Policy Privacy Policy
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Effective date: 26.05.2024 Effective date: 26.05.2024
</p> </p>
<div className="prose max-w-full prose-lg dark:prose-invert"> <div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{PRIVACY_POLICY}</ReactMarkdown> <ReactMarkdown>{PRIVACY_POLICY}</ReactMarkdown>
</div> </div>
</section> </section>

View file

@ -10,15 +10,15 @@ const TermsOfService = () => {
return ( return (
<section <section
id="tos" id="tos"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
Terms and Conditions Terms and Conditions
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Last updated: 24.04.2024 Last updated: 24.04.2024
</p> </p>
<div className="prose max-w-full prose-lg dark:prose-invert"> <div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{TERMS_AND_CONDITIONS}</ReactMarkdown> <ReactMarkdown>{TERMS_AND_CONDITIONS}</ReactMarkdown>
</div> </div>
</section> </section>

View file

@ -10,19 +10,19 @@ const Vulnerabilities = () => {
return ( return (
<section <section
id="tos" id="tos"
className="wrapper container py-24 md:py-28 gap-4 flex flex-col" className="wrapper container py-24 md:py-28 gap-2 flex flex-col"
> >
<h1 className="text-3xl md:text-5xl md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400"> <h1 className="text-3xl md:text-5xl pb-1 md:pb-2 font-bold text-black dark:bg-clip-text dark:text-transparent dark:bg-gradient-to-b dark:from-white dark:to-neutral-400">
SVR.JS Vulnerabilities SVR.JS Vulnerabilities
</h1> </h1>
<p className="text-lg text-muted-foreground text-start mb-4"> <p className="md:text-lg text-muted-foreground text-start mb-6">
Some older versions of SVR.JS are vulnerable to cyberattacks. It&apos;s Some older versions of SVR.JS are vulnerable to cyberattacks. It&apos;s
recommended to update your SVR.JS version to the newest one. If you find recommended to update your SVR.JS version to the newest one. If you find
a security issue with SVR.JS, report it as soon as possible to a security issue with SVR.JS, report it as soon as possible to
vulnerability-reports[at]svrjs[dot]org. We&apos;ll mitigate that vulnerability-reports[at]svrjs[dot]org. We&apos;ll mitigate that
vulnerability if it is possible. vulnerability if it is possible.
</p> </p>
<div className="prose max-w-full prose-lg dark:prose-invert"> <div className="prose max-w-full md:prose-lg dark:prose-invert">
<ReactMarkdown>{vulnerabilities}</ReactMarkdown> <ReactMarkdown>{vulnerabilities}</ReactMarkdown>
</div> </div>
</section> </section>