-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Gaurav-Verma07/sampark into…
… provider
- Loading branch information
Showing
11 changed files
with
360 additions
and
17 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
import { | ||
createStyles, | ||
Text, | ||
Title, | ||
SimpleGrid, | ||
TextInput, | ||
Textarea, | ||
Button, | ||
Group, | ||
ActionIcon, | ||
} from '@mantine/core'; | ||
import { IconBrandTwitter, IconBrandYoutube, IconBrandInstagram } from '@tabler/icons'; | ||
// import { ContactIconsList } from '../ContactIcons/ContactIcons'; | ||
|
||
const useStyles = createStyles((theme) => ({ | ||
wrapper: { | ||
minHeight: 400, | ||
boxSizing: 'border-box', | ||
backgroundImage: `linear-gradient(-60deg, ${theme.colors.gray[5]} 0%, ${ | ||
theme.colors.gray[8] | ||
} 100%)`, | ||
borderRadius: theme.radius.md, | ||
padding: theme.spacing.xl * 2.5, | ||
|
||
[`@media (max-width: ${theme.breakpoints.sm}px)`]: { | ||
padding: theme.spacing.xl * 1.5, | ||
}, | ||
}, | ||
|
||
title: { | ||
fontFamily: `Greycliff CF, ${theme.fontFamily}`, | ||
color: theme.white, | ||
lineHeight: 1, | ||
}, | ||
|
||
description: { | ||
color: theme.colors[theme.primaryColor][0], | ||
maxWidth: 300, | ||
|
||
[`@media (max-width: ${theme.breakpoints.sm}px)`]: { | ||
maxWidth: '100%', | ||
}, | ||
}, | ||
|
||
form: { | ||
backgroundColor: theme.white, | ||
padding: theme.spacing.xl, | ||
borderRadius: theme.radius.md, | ||
boxShadow: theme.shadows.lg, | ||
}, | ||
|
||
social: { | ||
color: theme.white, | ||
|
||
'&:hover': { | ||
color: theme.colors[theme.primaryColor][1], | ||
}, | ||
}, | ||
|
||
input: { | ||
backgroundColor: theme.white, | ||
borderColor: theme.colors.gray[4], | ||
color: theme.black, | ||
|
||
'&::placeholder': { | ||
color: theme.colors.gray[5], | ||
}, | ||
}, | ||
|
||
inputLabel: { | ||
color: theme.black, | ||
}, | ||
|
||
control: { | ||
backgroundColor: theme.colors[theme.primaryColor][6], | ||
}, | ||
})); | ||
|
||
const social = [IconBrandTwitter, IconBrandYoutube, IconBrandInstagram]; | ||
|
||
export function ContactUs() { | ||
const { classes } = useStyles(); | ||
|
||
const icons = social.map((Icon, index) => ( | ||
<ActionIcon key={index} size={28} className={classes.social} variant="transparent"> | ||
<Icon size={22} stroke={1.5} /> | ||
</ActionIcon> | ||
)); | ||
|
||
return ( | ||
<div className={classes.wrapper}> | ||
<SimpleGrid cols={2} spacing={50} breakpoints={[{ maxWidth: 'sm', cols: 1 }]}> | ||
<div> | ||
<Title className={classes.title}>Contact us</Title> | ||
<Text className={classes.description} mt="sm" mb={30}> | ||
Leave your email and we will get back to you within 24 hours | ||
</Text> | ||
|
||
{/* <ContactIconsList variant="white" /> */} | ||
|
||
<Group mt="xl">{icons}</Group> | ||
</div> | ||
<div className={classes.form}> | ||
<TextInput | ||
label="Email" | ||
placeholder="your@email.com" | ||
required | ||
classNames={{ input: classes.input, label: classes.inputLabel }} | ||
/> | ||
<TextInput | ||
label="Name" | ||
placeholder="John Doe" | ||
mt="md" | ||
classNames={{ input: classes.input, label: classes.inputLabel }} | ||
/> | ||
<Textarea | ||
required | ||
label="Your message" | ||
placeholder="I want to order your goods" | ||
minRows={4} | ||
mt="md" | ||
classNames={{ input: classes.input, label: classes.inputLabel }} | ||
/> | ||
|
||
<Group position="right" mt="md"> | ||
<Button className={classes.control}>Send message</Button> | ||
</Group> | ||
</div> | ||
</SimpleGrid> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,81 @@ | ||
import React from 'react' | ||
import './Values.css' | ||
function OurValues1() { | ||
return ( | ||
<div> | ||
<div className="values-container"> | ||
<h1 className='values-heading'> | ||
OUR VALUES | ||
</h1> | ||
<hr /> | ||
<div className="values-box-1"> | ||
|
||
<div className="values-content"> | ||
<h1>1</h1> | ||
<hr /> | ||
<p> | ||
Our liberty is bound together. No person, community, or ecosystem | ||
exists in isolation, which means we need each other, and we need | ||
to learn from each other. It also means the safety and wellbeing | ||
of people are inextricably linked to the safety and wellbeing of | ||
our natural world. | ||
</p> | ||
|
||
</div> | ||
<div className="values-content"> | ||
<h1>2</h1> | ||
<hr /> | ||
<p> | ||
Our liberty is bound together. No person, community, or ecosystem | ||
exists in isolation, which means we need each other, and we need | ||
to learn from each other. It also means the safety and wellbeing | ||
of people are inextricably linked to the safety and wellbeing of | ||
our natural world. | ||
</p> | ||
</div> | ||
|
||
<div className="values-content"> | ||
<h1>3</h1> | ||
<hr /> | ||
<p> | ||
Our liberty is bound together. No person, community, or ecosystem | ||
exists in isolation, which means we need each other, and we need | ||
to learn from each other. It also means the safety and wellbeing | ||
of people are inextricably linked to the safety and wellbeing of | ||
our natural world. | ||
</p> | ||
</div> | ||
</div> | ||
|
||
<div className="values-box-2"> | ||
|
||
|
||
<div className="values-content"> | ||
<h1>INTEGRITY</h1> | ||
<hr /> | ||
<p> | ||
Our liberty is bound together. No person, community, or ecosystem | ||
exists in isolation, which means we need each other, and we need | ||
to learn from each other. It also means the safety and wellbeing | ||
of people are inextricably linked to the safety and wellbeing of | ||
our natural world. | ||
</p> | ||
</div> | ||
<div className="values-content values-content-2"> | ||
<h1>INTEGRITY</h1> | ||
<hr /> | ||
<p> | ||
Our liberty is bound together. No person, community, or ecosystem | ||
exists in isolation, which means we need each other, and we need | ||
to learn from each other. It also means the safety and wellbeing | ||
of people are inextricably linked to the safety and wellbeing of | ||
our natural world. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
) | ||
} | ||
|
||
export default OurValues1 |
Oops, something went wrong.