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}>
<RainbowKitProvider chains={chains}>
<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>
<ParticlesBg type="cobweb" num={400} bg={{
position: "fixed",
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>
);

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

@ -5,7 +5,7 @@ import { usePrepareSendTransaction, useSendTransaction, useAccount } from 'wagmi
import Typewriter from 'react-ts-typewriter';
export function Panel() {
export function Panel({ txt }) {
const { isConnected } = useAccount();
const { config } = usePrepareSendTransaction({
request: {
@ -17,7 +17,7 @@ export function Panel() {
return (
<Card elevation={Elevation.FOUR} className="mainPanel">
<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>
<AwesomeButton ripple={true} disabled={!sendTransaction} onReleased={() => sendTransaction?.()}>

Loading…
Cancel
Save