Skip to content

Commit 16ddab1

Browse files
committed
Prettier formatting fixes
1 parent a03f81d commit 16ddab1

33 files changed

Lines changed: 59 additions & 57 deletions

components/common/newsletter.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ import * as React from 'react';
33
export const Newsletter: React.FC = () => {
44
return (
55
<section id="newsletter" className="container mx-auto my-12 max-w-5xl px-4 md:my-24 lg:my-48">
6-
<div className="rounded-lg border border-grey-800 bg-[url('/images/newsletter/mailart@2x.jpg')] bg-cover bg-center bg-no-repeat py-3 px-3 md:bg-contain md:bg-right md:py-12 md:px-16">
7-
<div className="rounded bg-grey-900 p-4 md:rounded-none md:bg-transparent md:py-2 md:px-0">
6+
<div className="rounded-lg border border-grey-800 bg-[url('/images/newsletter/mailart@2x.jpg')] bg-cover bg-center bg-no-repeat px-3 py-3 md:bg-contain md:bg-right md:px-16 md:py-12">
7+
<div className="rounded bg-grey-900 p-4 md:rounded-none md:bg-transparent md:px-0 md:py-2">
88
<h3 className="my-4 text-3xl font-medium md:text-4xl lg:text-6xl">Stay tuned</h3>
99
<p className="max-w-lg md:text-lg">
1010
Subscribe to our newsletter and never miss updates, announcements and opportunities.{' '}
@@ -46,7 +46,7 @@ const NewsletterForm: React.FC = () => {
4646
</div>
4747
<input
4848
type="submit"
49-
className="curso mt-4 rounded-lg bg-grey-700 py-4 px-4 text-white hover:bg-grey-800 md:mt-0 md:rounded-l-none md:px-8"
49+
className="curso mt-4 rounded-lg bg-grey-700 px-4 py-4 text-white hover:bg-grey-800 md:mt-0 md:rounded-l-none md:px-8"
5050
value="Sign up"
5151
/>
5252
</fieldset>

components/layout/footer/layout-footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import { footerLinks } from './footer-nav-items';
77

88
export const Footer = () => {
99
return (
10-
<footer className="relative z-10 py-6 text-white sm:mt-12 md:mt-24 md:py-12 lg:mt-48 lg:py-24 lg:pt-12 lg:pb-24">
10+
<footer className="relative z-10 py-6 text-white sm:mt-12 md:mt-24 md:py-12 lg:mt-48 lg:py-24 lg:pb-24 lg:pt-12">
1111
<div className="container mx-auto max-w-7xl">
1212
<div className="flex flex-col justify-between p-4 md:flex-row md:flex-wrap">
1313
{footerLinks.map((group, index) => (

components/layout/header/header-nav.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ const NavOverlay = ({ isOpen, onNavigation }: NavOverlayProps) => {
2929
leave="transition-opacity duration-150"
3030
leaveFrom="opacity-100"
3131
leaveTo="opacity-0"
32-
className="fixed left-0 top-0 right-0 bottom-0 z-10 bg-black"
32+
className="fixed bottom-0 left-0 right-0 top-0 z-10 bg-black"
3333
>
3434
<div className="flex flex-col justify-start px-4 pt-24 md:pt-36">
3535
{Object.entries(NAV_ITEMS).map((entry) => (

components/layout/header/header.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export const Header = ({ overlayHeader = false }: HeaderProps) => {
1212
const [isMobileNavOpen, setIsMobileNavOpen] = React.useState(false);
1313

1414
return (
15-
<header className={overlayHeader ? 'absolute top-0 left-0 right-0' : 'relative'}>
15+
<header className={overlayHeader ? 'absolute left-0 right-0 top-0' : 'relative'}>
1616
<div className="container mx-auto my-4 max-w-7xl md:py-8 lg:py-12">
1717
<div className="flex flex-row items-center justify-between px-4">
1818
<Link href="/">

components/pages/binance/binance-edgeware-intro.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ export const BinanceEdgewareIntro = () => {
44
return (
55
<section
66
id="edgeware"
7-
className="container my-24 mx-auto max-w-3xl rounded-md border border-grey-700"
7+
className="container mx-auto my-24 max-w-3xl rounded-md border border-grey-700"
88
>
9-
<div className="bg-[url('/images/backgrounds/edg-logomark-bg.svg')] bg-[center_top_25%] bg-no-repeat py-8 px-16 text-center">
9+
<div className="bg-[url('/images/backgrounds/edg-logomark-bg.svg')] bg-[center_top_25%] bg-no-repeat px-16 py-8 text-center">
1010
<p className="my-12 text-2xl">
1111
Edgeware is a scalable, sovereign and cooperatively owned smart contract platform with a
1212
large public treasury, strong governing community, and a focus on DAO deployments.
@@ -23,7 +23,7 @@ export const BinanceEdgewareIntro = () => {
2323
<div className="my-12">
2424
<a
2525
href={socialMediaUrls.discordUrl}
26-
className="inline-block rounded-lg bg-grey-500 py-4 px-12 text-xl font-medium text-white hover:bg-grey-600 hover:text-white"
26+
className="inline-block rounded-lg bg-grey-500 px-12 py-4 text-xl font-medium text-white hover:bg-grey-600 hover:text-white"
2727
>
2828
Join our community on Discord
2929
</a>

components/pages/binance/binance-governance.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const BinanceGovernance: React.FC = () => {
1515
<div className="my-4">
1616
<a
1717
href="https://www.edgeware.app/#/delegation"
18-
className="inline-block rounded-lg bg-primary-500 py-4 px-12 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
18+
className="inline-block rounded-lg bg-primary-500 px-12 py-4 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
1919
target="_blank"
2020
rel="noopener noreferrer"
2121
>
@@ -44,7 +44,7 @@ export const BinanceGovernance: React.FC = () => {
4444
<div className="my-4">
4545
<a
4646
href="https://www.edgeware.app/#/delegation"
47-
className="inline-block rounded-lg bg-primary-500 py-4 px-12 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
47+
className="inline-block rounded-lg bg-primary-500 px-12 py-4 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
4848
target="_blank"
4949
rel="noopener noreferrer"
5050
>

components/pages/binance/binance-kabocha.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
export const BinanceKabocha: React.FC = () => {
22
return (
3-
<section className="container my-32 mx-auto flex max-w-4xl" id="kabocha-network">
3+
<section className="container mx-auto my-32 flex max-w-4xl" id="kabocha-network">
44
<div className="text-center">
55
<div className="flex flex-col items-center justify-center">
66
<img
@@ -26,7 +26,7 @@ export const BinanceKabocha: React.FC = () => {
2626
<div className="my-4">
2727
<a
2828
href="https://www.kabocha.network/"
29-
className="inline-block rounded-lg bg-primary-500 py-4 px-12 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
29+
className="inline-block rounded-lg bg-primary-500 px-12 py-4 text-xl font-medium text-white hover:bg-primary-600 hover:text-white"
3030
>
3131
Learn more about Kabocha
3232
</a>

components/pages/binance/binance-stake.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@ import { StakingRewardsWidget } from './binance-stake-widget';
33

44
export const BinanceStake = () => {
55
return (
6-
<section className="container my-32 mx-auto max-w-4xl" id="stake">
6+
<section className="container mx-auto my-32 max-w-4xl" id="stake">
77
<div className="text-center">
88
<div className="text-center">
99
<h2 className="text-6xl font-medium">Stake and Earn</h2>
10-
<p className="my-8 mx-auto max-w-2xl text-lg">
10+
<p className="mx-auto my-8 max-w-2xl text-lg">
1111
Grow your holdings by staking your EDG.
1212
<br />
1313
Calculate your earnings with the Staking Rewards Widget Calculator

components/pages/build/build-builders.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
export const BuildBuilders = () => {
22
return (
3-
<section className="container mx-auto max-w-6xl py-6 px-4 md:py-12 lg:py-24" id="builders">
3+
<section className="container mx-auto max-w-6xl px-4 py-6 md:py-12 lg:py-24" id="builders">
44
{/* Intro text*/}
5-
<div className="flex flex-col items-center space-y-4 md:flex-row md:space-y-0 md:space-x-16">
5+
<div className="flex flex-col items-center space-y-4 md:flex-row md:space-x-16 md:space-y-0">
66
<div className="w-full md:w-1/2">
77
<img
88
src="/images/build/code-s-slash-large.png"

components/pages/build/build-get-started.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import { LinksList } from '../get-started/links-list';
2020

2121
export const BuildGetStarted = () => {
2222
return (
23-
<section className="container mx-auto max-w-7xl py-8 px-4 md:py-16 lg:py-24" id="get-started">
23+
<section className="container mx-auto max-w-7xl px-4 py-8 md:py-16 lg:py-24" id="get-started">
2424
{/* Intro text*/}
2525
<div className="flex flex-col items-stretch md:flex-row md:space-x-24">
2626
<div className="my-8 w-full md:my-0 md:w-1/2">
@@ -132,7 +132,7 @@ const NetworksInfo = () => {
132132
<Tab
133133
key={network}
134134
className={({ selected }) =>
135-
`py-4 px-2 text-sm ${selected ? 'border-b border-b-primary-500' : ''}`
135+
`px-2 py-4 text-sm ${selected ? 'border-b border-b-primary-500' : ''}`
136136
}
137137
>
138138
{network}
@@ -148,7 +148,7 @@ const NetworksInfo = () => {
148148
<Tab
149149
key={chain}
150150
className={({ selected }) =>
151-
`py-4 px-2 text-sm ${selected ? 'border-b border-b-primary-500' : ''}`
151+
`px-2 py-4 text-sm ${selected ? 'border-b border-b-primary-500' : ''}`
152152
}
153153
>
154154
{chain}

0 commit comments

Comments
 (0)