Skip to content

Commit

Permalink
feat: Updated src/components/PricingPage.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
sweep-nightly[bot] committed Sep 30, 2023
1 parent 3e8fdea commit 1e8a46c
Showing 1 changed file with 20 additions and 2 deletions.
22 changes: 20 additions & 2 deletions src/components/PricingPage.tsx
Original file line number Diff line number Diff line change
@@ -1,8 +1,26 @@
import { Text, SimpleGrid, Box, Button } from '@chakra-ui/react';
import { Text, SimpleGrid, Box, Button, useEffect } from '@chakra-ui/react';
import { tsParticles } from "tsparticles";
import { loadFireworksPreset } from "tsparticles-preset-fireworks";

tsParticles.addPreset("fireworks", loadFireworksPreset);

const PricingPage = () => {
useEffect(() => {
tsParticles.load("pricing-page", {
preset: "fireworks",
// other configuration options
});
}, []);

const handleOnClick = () => {
tsParticles.load("pricing-page", {
preset: "fireworks",
// other configuration options
});
};

return (
<Box p={8} backgroundColor="#0d1117" pb={4}>
<Box p={8} backgroundColor="#0d1117" pb={4} id="pricing-page" onClick={handleOnClick}>
<SimpleGrid columns={{ base: 1, md: 4 }} spacing={10}>
<Box
display="flex"
Expand Down

0 comments on commit 1e8a46c

Please sign in to comment.