Skip to content

Commit

Permalink
add brand assets, fix l1 token page
Browse files Browse the repository at this point in the history
  • Loading branch information
RedBeardEth committed Dec 1, 2023
1 parent a2907fe commit 2453e40
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 5 deletions.
4 changes: 4 additions & 0 deletions apps/nextjs/src/app/_components/Footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ export const Footer = () => {
name: "Discord",
href: "https://discord.gg/realmsworld",
},
{
name: "Brand Assets",
href: "https://drive.google.com/drive/folders/17vrwIjwqifxBVTkHmxoK1VhQ31hVSbDH",
},
];

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,12 @@ import {
import { BuyButton } from "@/app/collection/BuyModal";
import { ListingModal } from "@/app/collection/ListingModal";
import { GameCard } from "@/app/games/GameCard";
import { games } from "@/constants";
import type { Collection, Game, Token } from "@/types";
import { getGamesByContract } from "@/utils/getters";
import { useAccount } from "wagmi";

import { games } from "@realms-world/constants";

import { TokenActivity } from "./TokenActivity";

interface Props {
Expand All @@ -40,7 +41,7 @@ export const TokenContent = ({ token, collection }: Props) => {
name: "Games",
content: (
<div className="grid gap-4 sm:grid-cols-2">
{comptatible_games.map((game: Game, index: any) => {
{comptatible_games?.map((game: Game, index: any) => {
return <GameCard key={index} game={game} />;
})}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const TokenInformation = ({
const isBeasts = collectionId == "beasts";
return (
<>
<div className="flex w-full flex-none rounded-t md:w-1/2 lg:mt-12">
<div className="flex w-full flex-none flex-col rounded-t md:w-1/2 lg:mt-12">
{token.image && (
<Image
src={token.image}
Expand Down Expand Up @@ -65,7 +65,7 @@ export const TokenInformation = ({
</div>
)}
</div>
<div className="w-auto p-4 md:w-1/2 md:p-8">
<div className="w-full py-4 md:w-1/2 md:p-8">
<Link
className="flex opacity-70 hover:opacity-100"
href={`/collection/${collectionId}`}
Expand Down
2 changes: 1 addition & 1 deletion apps/nextjs/src/app/collection/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ export default async function Page() {
return (
<>
<div className="mask-transparent h-96 w-full before:bg-[url(/backgrounds/map.png)] before:bg-cover before:bg-center before:bg-no-repeat" />
<div className="-mt-24 h-screen w-full">
<div className="-mt-24 w-full">
<div className="container mx-auto px-8 ">
<h1>Collections</h1>
<CollectionsList />
Expand Down

0 comments on commit 2453e40

Please sign in to comment.