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 14 additions and 14 deletions
Showing only changes of commit 8949594090 - Show all commits

View file

@ -76,7 +76,7 @@ const Page = ({ params }: { params: { slug: string } }) => {
<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 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

@ -57,7 +57,7 @@ const LogsPage: React.FC = () => {
<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 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-4">
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"
> >
<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

@ -15,11 +15,11 @@ const Contribute = () => {
<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 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-4">
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

@ -61,7 +61,7 @@ const DownloadPage: React.FC = () => {
<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 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-4">
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

@ -61,7 +61,7 @@ const ModsPage: React.FC = () => {
<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 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-4">
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

@ -17,10 +17,10 @@ const PrivacyPolicy = () => {
<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 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-4">
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

@ -15,10 +15,10 @@ const TermsOfService = () => {
<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 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-4">
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

@ -15,14 +15,14 @@ const Vulnerabilities = () => {
<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 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-4">
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>