more edits

master
lza_menace 2 years ago
parent 7539014894
commit ee6e61d92d

@ -39,12 +39,12 @@ ReactDOM.createRoot(document.getElementById("root")).render(
<WagmiConfig client={wagmiClient}> <WagmiConfig client={wagmiClient}>
<RainbowKitProvider chains={chains}> <RainbowKitProvider chains={chains}>
<Wallet /> <Wallet />
<Panel /> <Panel txt="I need money to buy crack. You'll probably just use it for illiquid jpegs and ponzi schemes. Give it to me, I'll make good use of it." />
</RainbowKitProvider> </RainbowKitProvider>
<ParticlesBg type="cobweb" num={400} bg={{ <ParticlesBg type="cobweb" num={400} bg={{
position: "fixed", position: "fixed",
zIndex: -1, zIndex: -1,
}}/> }}/>
<Footer title="Send me your ETH you worthless piece of shit. Nobody loves you." /> <Footer title="Give me your ETH and then fuck off (respectfully)." />
</WagmiConfig> </WagmiConfig>
); );

@ -5,8 +5,8 @@
top: 50%; top: 50%;
left: 50%; left: 50%;
transform: translate(-50%, -50%); transform: translate(-50%, -50%);
height: 300px; height: 400px;
width: 300px; width: 400px;
text-align: center; text-align: center;
border-radius: 10px; border-radius: 10px;
} }

@ -5,7 +5,7 @@ import { usePrepareSendTransaction, useSendTransaction, useAccount } from 'wagmi
import Typewriter from 'react-ts-typewriter'; import Typewriter from 'react-ts-typewriter';
export function Panel() { export function Panel({ txt }) {
const { isConnected } = useAccount(); const { isConnected } = useAccount();
const { config } = usePrepareSendTransaction({ const { config } = usePrepareSendTransaction({
request: { request: {
@ -17,7 +17,7 @@ export function Panel() {
return ( return (
<Card elevation={Elevation.FOUR} className="mainPanel"> <Card elevation={Elevation.FOUR} className="mainPanel">
<p className="wrap"> <p className="wrap">
<Typewriter text={"I need crack money and need it more than you. You'd just spend it on illiquid jpegs anyways..."} random={10} /> <Typewriter text={txt} random={10} />
</p> </p>
    <p>     <p>
<AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}> <AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}>

Loading…
Cancel
Save