Fix some stuff for Vercel

This commit is contained in:
MeowcaTheoRange 2023-09-13 10:49:43 -05:00
parent d0c59301d6
commit 63c6eb6c2f
7 changed files with 49 additions and 18 deletions

1
.gitignore vendored
View file

@ -38,5 +38,6 @@ next-env.d.ts
# Renogare font, until further licensing agreement # Renogare font, until further licensing agreement
public/fonts/Renogare/Renogare* public/fonts/Renogare/Renogare*
src/styles/licensed/
# Celeste assets (ripped) # Celeste assets (ripped)
public/assets/celeste/ public/assets/celeste/

View file

@ -17,12 +17,12 @@ export default function Ads() {
<iframe <iframe
src="https://mothvertising.moth.monster/embed" src="https://mothvertising.moth.monster/embed"
className={styles.Mothvertisement} className={styles.Mothvertisement}
// key={Math.random()} key={Math.random()}
></iframe> ></iframe>
) : adService < 0.4 ? ( ) : adService < 0.4 ? (
<iframe <iframe
src="https://dimden.neocities.org/navlink/" src="https://dimden.neocities.org/navlink/"
// key={Math.random()} key={Math.random()}
className={styles.NavLink} className={styles.NavLink}
width="180" width="180"
height="180" height="180"
@ -33,12 +33,12 @@ export default function Ads() {
width="300" width="300"
height="250" height="250"
src="https://googol.neocities.org/neolink/embed.html" src="https://googol.neocities.org/neolink/embed.html"
// key={Math.random()} key={Math.random()}
></iframe> ></iframe>
) : adService < 0.8 ? ( ) : adService < 0.8 ? (
<iframe <iframe
src="https://john.citrons.xyz/embed?ref=example.com" src="https://john.citrons.xyz/embed?ref=example.com"
// key={Math.random()} key={Math.random()}
className={styles.Johnvertisement} className={styles.Johnvertisement}
width="732" width="732"
height="90" height="90"

View file

@ -24,15 +24,22 @@ export default function TrollSkeleton() {
<p className={globals.text}> <p className={globals.text}>
Also known as ffjfjjfjjfjfjjjjjfjjf online. Also known as ffjfjjfjjfjfjjjjjfjjf online.
</p> </p>
<br /> <hr className={globals.invisep} />
<p className={globals.horizontalListLeft}> <p className={globals.horizontalList}>
<span className={globals.text}>fj</span> <span className={globals.text}>fj</span>
<span className={globals.text}>-</span> <span className={globals.text}>-</span>
<span className={globals.text}>ffjfj</span> <span className={globals.text}>ffjfj</span>
<span className={globals.text}>-</span> <span className={globals.text}>-</span>
<span className={globals.text}>fj/fjj/fjjjf</span> <span className={globals.text}>fj/fjj/fjjjf</span>
</p> </p>
<br /> <p className={globals.horizontalList}>
<span className={globals.text}>fj</span>
<span className={globals.text}>-</span>
<span className={globals.text}>ffjfj</span>
<span className={globals.text}>-</span>
<span className={globals.text}>fj/fjj/fjjjf</span>
</p>
<hr className={globals.invisep} />
<ul> <ul>
<li className={globals.text}>fjjfjjfjffj</li> <li className={globals.text}>fjjfjjfjffj</li>
<li className={globals.text}>fjjjjfjffjjfffjfj</li> <li className={globals.text}>fjjjjfjffjjfffjfj</li>

View file

@ -1,4 +1,5 @@
import Box from "@/components/Box/Box"; import Box from "@/components/Box/Box";
import ClanCard from "@/components/cards/ClanCard/ClanCard";
import TrollCard from "@/components/cards/TrollCard/TrollCard"; import TrollCard from "@/components/cards/TrollCard/TrollCard";
import { TrollGET } from "@/lib/trollcall/api/troll"; import { TrollGET } from "@/lib/trollcall/api/troll";
import { getSingleClan } from "@/lib/trollcall/clan"; import { getSingleClan } from "@/lib/trollcall/clan";
@ -55,6 +56,20 @@ export default function Index({
link={false} link={false}
small={false} small={false}
/> />
<Box
properties={{
title: {
text: "More..."
}
}}
>
<Link
className={globals.linkButton}
href={`/gallery/${troll.owner.name}/${troll.name[0]}/`}
>
Gallery
</Link>
</Box>
<Box <Box
properties={{ properties={{
title: { title: {
@ -205,7 +220,7 @@ export default function Index({
))} ))}
<Link <Link
className={globals.linkButton} className={globals.linkButton}
href={`/testQuirk/troll/${troll.owner.name}/${troll.name[0]}/`} href={`/quirk/${troll.owner.name}/${troll.name[0]}/`}
> >
Quirk Tester Quirk Tester
</Link> </Link>
@ -218,8 +233,22 @@ export default function Index({
style={{ backgroundImage: `url("${troll.images[0]}")` }} style={{ backgroundImage: `url("${troll.images[0]}")` }}
></div> ></div>
</div> </div>
<Box> <Box
<p className={globals.title}>Description</p> properties={{
title: {
text: "Owned by"
}
}}
>
<ClanCard clan={troll.owner} />
</Box>
<Box
properties={{
title: {
text: "Description"
}
}}
>
<p className={globals.blockText}>{troll.description}</p> <p className={globals.blockText}>{troll.description}</p>
</Box> </Box>
</> </>

View file

@ -8,14 +8,6 @@
format("opentype"); format("opentype");
} }
/* ANY usage of the Renogare font should also specify a fallback! Try the Poppins font found below. */
@font-face {
font-family: "Renogare";
src: url("../../public/fonts/Renogare/Renogare.woff") format("woff"),
url("../../public/fonts/Renogare/Renogare.woff2") format("woff2"),
url("../../public/fonts/Renogare/Renogare.otf") format("opentype");
}
@font-face { @font-face {
font-family: "Poppins"; font-family: "Poppins";
src: url("../../public/fonts/Poppins/Poppins.ttf") format("truetype"); src: url("../../public/fonts/Poppins/Poppins.ttf") format("truetype");

View file

@ -1,4 +1,5 @@
@import url(./fonts.css); @import url(./fonts.css);
@import url(./licensed/fonts.css);
.link { .link {
text-decoration: none; text-decoration: none;

View file

@ -1,4 +1,5 @@
@import url(./fonts.css); @import url(./fonts.css);
@import url(./licensed/fonts.css);
.title { .title {
font-size: 24px; font-size: 24px;