Skip to content

Commit

Permalink
Fix eslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
sweetpea22 committed Dec 12, 2023
1 parent 53bbd54 commit a66792c
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 8 deletions.
Binary file added public/banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import localFont from 'next/font/local';
import {Inconsolata} from 'next/font/google'
import './globals.css'

export const neueMontreal = localFont({
const neueMontreal = localFont({
weight: '400',
src: [
{
Expand All @@ -25,7 +25,7 @@ export const neueMontreal = localFont({
variable: '--font-nm',
});

export const inconsolata = Inconsolata({ weight: ["400", "500"], subsets: ["latin"], variable: "--font-mono" } );
const inconsolata = Inconsolata({ weight: ["400", "500"], subsets: ["latin"], variable: "--font-mono" } );


export const metadata: Metadata = {
Expand Down
1 change: 1 addition & 0 deletions src/components/Loading/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client"
/* eslint-disable @next/next/no-img-element */

import { stylesWithCssVar } from "@/utils/useCssVar";
import { useScroll, useTransform, motion } from "framer-motion";
Expand Down
1 change: 1 addition & 0 deletions src/components/ShrinkLogoOnScroll/index.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
"use client"
/* eslint-disable @next/next/no-img-element */

import { stylesWithCssVar } from "@/utils/useCssVar";
import { useScroll, useTransform, motion } from "framer-motion";
Expand Down
8 changes: 2 additions & 6 deletions src/sections/LearnMore/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,9 @@ export default function LearnMore() {
{processes.map((card, index) => (
<div key={index} className='transition-all py-8 flex flex-col justify-start' >
<div className='bg-neutral-950 h-[300px]'>
{/* process */}
</div>
<div className='px-2'>
<h3 className='mt-1 md:mt-3 text-gray-300 text-xl leading-7 max-w-[80%]'>{card.desc}</h3>
{card.calibnetCommand ? (<h3 className='mt-1 md:mt-3 text-xl leading-6 text-brand-400 font-mono max-w-[80%]'><span className="text-lg font-sans text-gray-300">On calibnet: </span> {card.calibnetCommand}</h3>) : ''}
<h3 className='mt-1 md:mt-1 text-brand-400 text-xl leading-6 font-mono max-w-[80%]'><span className="text-lg font-sans text-gray-300">On mainnet: </span> {card.mainnetCommand}</h3>
{/* embed youtube */}
</div>

</div>
))}
</div>
Expand Down

0 comments on commit a66792c

Please sign in to comment.