style: add border to buttons

This commit is contained in:
AykutSarac 2024-05-17 21:17:03 +03:00
parent 46523c4997
commit 86c6a48065
No known key found for this signature in database
7 changed files with 15 additions and 12 deletions

View File

@ -180,6 +180,7 @@ export const NotSupported = () => {
variant="gradient" variant="gradient"
radius="xl" radius="xl"
rightSection={<MdChevronRight size="24" />} rightSection={<MdChevronRight size="24" />}
style={{ border: "1px solid #625BF6" }}
> >
Get Premium Get Premium
</Button> </Button>

View File

@ -52,7 +52,7 @@ export const AccountModal = ({ opened, onClose }: ModalProps) => {
<Group justify="right"> <Group justify="right">
<Button <Button
variant="gradient" variant="gradient"
gradient={{ from: "teal", to: "lime", deg: 105 }} style={{ border: "1px solid #625BF6" }}
leftSection={<IoRocketSharp />} leftSection={<IoRocketSharp />}
onClick={() => { onClick={() => {
setVisible("upgrade")(true); setVisible("upgrade")(true);

View File

@ -79,6 +79,7 @@ export const Toolbar = ({ isWidget = false }: ToolbarProps) => {
<Button <Button
size="xs" size="xs"
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
leftSection={<AiFillGift />} leftSection={<AiFillGift />}
onClick={() => { onClick={() => {
setVisible("upgrade")(true); setVisible("upgrade")(true);

View File

@ -28,6 +28,7 @@ export const Footer = () => {
<Button <Button
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
component={Link} component={Link}
prefetch={false} prefetch={false}
href="/pricing" href="/pricing"

View File

@ -106,6 +106,7 @@ export const Navbar = () => {
</Button> </Button>
<Button <Button
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
component={Link} component={Link}
prefetch={false} prefetch={false}
href="/pricing" href="/pricing"

View File

@ -262,6 +262,7 @@ export const HomePage = () => {
onClick={() => gaEvent("Hero Section", "click upgrade premium")} onClick={() => gaEvent("Hero Section", "click upgrade premium")}
component="a" component="a"
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
href="/#pricing" href="/#pricing"
size="lg" size="lg"
visibleFrom="sm" visibleFrom="sm"
@ -288,6 +289,7 @@ export const HomePage = () => {
href="/pricing" href="/pricing"
size="md" size="md"
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
rightSection={<MdChevronRight size={24} />} rightSection={<MdChevronRight size={24} />}
hiddenFrom="sm" hiddenFrom="sm"
radius="lg" radius="lg"
@ -328,12 +330,6 @@ export const HomePage = () => {
</Carousel.Slide> </Carousel.Slide>
))} ))}
</Carousel> </Carousel>
<Flex justify="center" align="center" mt={10} gap={4}>
<IoMdInformationCircle color="gray" />
<Text c="dimmed" fz="sm" ta="center">
Preview images are from the premium version
</Text>
</Flex>
</StyledCarouselWrapper> </StyledCarouselWrapper>
<Paper <Paper
@ -342,16 +338,18 @@ export const HomePage = () => {
pb={rem(20)} pb={rem(20)}
maw="95%" maw="95%"
radius="xl" radius="xl"
bg="dark.9"
mx="auto" mx="auto"
mt="-17.5rem" mt="-17.5rem"
style={{ textAlign: "center" }} style={{
textAlign: "center",
background: "linear-gradient(rgb(98, 91, 246) 0%, rgb(54, 46, 243) 100%)",
}}
visibleFrom="sm" visibleFrom="sm"
> >
<Title c="white" order={2} fz={36} fw={500} mb="md"> <Title c="white" order={2} fz={42} fw={700} mb="md">
Optimized for easy navigation Optimized for easy navigation
</Title> </Title>
<Text mx="auto" fz={16} maw="80%" c="dimmed" mb={60}> <Text mx="auto" fz={16} maw="80%" c="gray.4" mb={60}>
Designed to help you navigate through your data with ease. The editor provides a clean and Designed to help you navigate through your data with ease. The editor provides a clean and
intuitive interface that allows you to focus on what matters most: your data. intuitive interface that allows you to focus on what matters most: your data.
</Text> </Text>

View File

@ -46,7 +46,7 @@ const StyledPaper = styled(Paper)`
width: 400px; width: 400px;
border-radius: 1em; border-radius: 1em;
border: 2px solid #e9e9e9; border: 2px solid #e9e9e9;
border-top: 3px solid #601bf4; border-top: 3px solid #625bf6;
background: white; background: white;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
`; `;
@ -96,6 +96,7 @@ export const PricingCards = () => {
<Button <Button
component="a" component="a"
variant="gradient" variant="gradient"
style={{ border: "1px solid #625BF6" }}
onClick={() => gaEvent("Pricing", "click upgrade premium")} onClick={() => gaEvent("Pricing", "click upgrade premium")}
href={isMonthly ? purchaseLinks.monthly : purchaseLinks.annual} href={isMonthly ? purchaseLinks.monthly : purchaseLinks.annual}
target="_blank" target="_blank"