Skip to content

Commit

Permalink
Merge pull request #16 from La-DAO/feat/logos
Browse files Browse the repository at this point in the history
replacing Logos
  • Loading branch information
iafhurtado authored Mar 14, 2024
2 parents 716c284 + 10b9a62 commit d196e4b
Show file tree
Hide file tree
Showing 15 changed files with 50 additions and 123 deletions.
9 changes: 4 additions & 5 deletions packages/nextjs/components/index/cta.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import React, { useState, useEffect } from "react";
import React, { useEffect, useState } from "react";
import { xocolatlABI } from "../xoc-dapp/abis/xocabis";
import { xocPinABI } from "./abis/xocpin";
import { parseEther, formatEther } from "viem";
import { parseEther } from "viem";
import { useContractRead, useContractWrite } from "wagmi";
import { useAccount } from "wagmi";
import Familia from "../../public/Familia.png";
Expand Down Expand Up @@ -34,7 +34,7 @@ const Cta = () => {
args: [account.address],
});

const { data: tokenID} = useContractRead({
const { data: tokenID } = useContractRead({
address: "0x72fa57b14b83D165EACab4E2bB3B3B9D5B9C5A52",
abi: xocPinABI,
functionName: "nextTokenId",
Expand All @@ -45,12 +45,11 @@ const Cta = () => {

useEffect(() => {
if (tokenID) {
const ID = tokenID.toString() -1;
const ID = tokenID.toString() - 1;
setLatestTokenID(ID);
}
}, [tokenID]);


console.log(tokenID);

return (
Expand Down
164 changes: 46 additions & 118 deletions packages/nextjs/components/index/hero.tsx

Large diffs are not rendered by default.

Binary file added packages/nextjs/public/GnosisChain.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/Polygon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/PolygonWhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/arbitrum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/arbitrumdark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/arbitrumlight.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/ethereum.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/ethereumgray.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/ethereumwhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/gnosisblack.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/gnosiswhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/optimism.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added packages/nextjs/public/optimismwhite.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d196e4b

Please sign in to comment.