Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,5 +44,5 @@ Smartswap of Rigel Protocol is available on https://smartswap.rigelprotocol.com/
- Linkedin: [rigelprotocol](https://www.linkedin.com/company/rigelprotocol)
- Discord: [rigelprotocol](https://discord.com/invite/j86NH95GDD)
- Email: [support@rigelprotocol](mailto:support@rigelprotocol.com)
- Telegram: [rigel protocol](https://www.t.me/rigelprotocol)
- Telegram: [rigeldao](https://t.me/rigeldao)
- Whitepaper: [Link](www.rigelprotocol.com/whitepaper)
127 changes: 65 additions & 62 deletions public/index.html
Original file line number Diff line number Diff line change
@@ -1,76 +1,79 @@
<!DOCTYPE html>
<html lang="en">
<head>
<base href="/">
<base href="/" />
<meta charset="utf-8" />
<meta
http-equiv="Cache-Control"
content="no-cache, no-store, must-revalidate, max-age=0"
/>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<!-- The first thing in any HTML file should be the charset -->
<meta charset="utf-8" />
<!-- Make the page mobile compatible -->
<meta name="viewport" content="width=device-width, initial-scale=1" />
http-equiv="Cache-Control"
content="no-cache, no-store, must-revalidate, max-age=0"
/>
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<!-- The first thing in any HTML file should be the charset -->
<meta charset="utf-8" />
<!-- Make the page mobile compatible -->
<meta name="viewport" content="width=device-width, initial-scale=1" />

<!-- Allow installing the app to the homescreen -->
<meta name="mobile-web-app-capable" content="yes" />
<!-- Allow installing the app to the homescreen -->
<meta name="mobile-web-app-capable" content="yes" />

<!-- Allow installing the app to the homescreen -->
<meta name="mobile-web-app-capable" content="yes" />
<title>
RigelProtocol - Dapps for all your Defi Needs
</title>
<meta
name="keywords"
content="RigelProtocol, Rigel, Smart Swap, Limit, Set price, Auto invest, AutoTrade, Apply for Farms, Staking, , DEFI, Yield Farm, Secure Swap, High yield Farm"
/>
<meta
name="description"
content="Rigel Protocol is the blockchain Decentralized protocol for all your Defi Needs.
<!-- Allow installing the app to the homescreen -->
<meta name="mobile-web-app-capable" content="yes" />
<title>RigelProtocol - Dapps for all your Defi Needs</title>
<meta
name="keywords"
content="RigelProtocol, Rigel, Smart Swap, Limit, Auto Limit, Auto invest, AutoTrade, Apply for Farms, Staking, , DEFI, Yield Farm, Secure Swap, High yield Farm"
/>
<meta
name="description"
content="Rigel Protocol is the blockchain Decentralized protocol for all your Defi Needs.
Several DeFi products featured are smartswap operations, automated dexes trading, Liquidity mining, Launchpad & Product Token offering services, Influencers & New projects rewarding systems and other innovative features. Available on Binance Smart Chain, Polygon and Oasis "
/>
/>

<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />
<meta name="msapplication-TileColor" content="#da532c" />
<meta name="theme-color" content="#ffffff" />

<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://smartswap.rigelprotocol.com" />
<meta
property="og:title"
content="RigelProtocol - Dapps for all your Defi Needs"
/>
<meta
property="og:description"
content="RigelProtocol is a number of Decentralized finance(DEFI) products: Smart swapping exchange, Margin trading, yield farming and cross-chain on both Binance Smart Chain and Ethereum Chain. Highly Secure, Seamless Transactions and low fees "
/>
<meta property="og:image" content="/images/favicon-16x16.svg" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-JRRW1SDM6G"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website" />
<meta property="og:url" content="https://smartswap.rigelprotocol.com" />
<meta
property="og:title"
content="RigelProtocol - Dapps for all your Defi Needs"
/>
<meta
property="og:description"
content="RigelProtocol is a number of Decentralized finance(DEFI) products: Smart swapping exchange, Margin trading, yield farming and cross-chain on both Binance Smart Chain and Ethereum Chain. Highly Secure, Seamless Transactions and low fees "
/>
<meta property="og:image" content="/images/favicon-16x16.svg" />
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=G-JRRW1SDM6G"
></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag() {
dataLayer.push(arguments);
}
gtag("js", new Date());

gtag('config', 'G-JRRW1SDM6G');
</script>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://smartswap.rigelprotocol.com/"
/>
<meta
property="twitter:title"
content="RigelProtocol - Smart Swapping Exchange, Yield Farming, Margin Trading & Cross Chain Protocol"
/>
<meta
property="twitter:description"
content="RigelProtocol is a number of Decentralized finance(DEFI) products: Smart swapping exchange, Margin trading, yield farming and cross-chain on both Binance Smart Chain and Ethereum Chain. Highly Secure, Seamless Transactions and low fees "
/>
<meta property="twitter:image" content="/images/favicon-16x16.svg" />
gtag("config", "G-JRRW1SDM6G");
</script>
<!-- Twitter -->
<meta property="twitter:card" content="summary_large_image" />
<meta
property="twitter:url"
content="https://smartswap.rigelprotocol.com/"
/>
<meta
property="twitter:title"
content="RigelProtocol - Smart Swapping Exchange, Yield Farming, Margin Trading & Cross Chain Protocol"
/>
<meta
property="twitter:description"
content="RigelProtocol is a number of Decentralized finance(DEFI) products: Smart swapping exchange, Margin trading, yield farming and cross-chain on both Binance Smart Chain and Ethereum Chain. Highly Secure, Seamless Transactions and low fees "
/>
<meta property="twitter:image" content="/images/favicon-16x16.svg" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/images/favicon-16x16.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
Expand Down
81 changes: 40 additions & 41 deletions src/components/Farming/Modals/Filter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -92,60 +92,60 @@ const Filter = ({
<PopoverTrigger>
<Flex
h={10}
border='1px'
borderRadius='4px'
border="1px"
borderRadius="4px"
borderColor={filterButton}
cursor='pointer'
cursor="pointer"
px={4}
alignItems='center'
alignItems="center"
>
<Icon mr={2} as={FiFilter} />
<Text fontSize='14px'>Filters</Text>
<Text fontSize="14px">Filters</Text>
</Flex>
</PopoverTrigger>

<PopoverContent
borderRadius='6px'
borderRadius="6px"
bg={bgColor}
borderColor={borderColor}
mt='0px'
zIndex='1'
mt="0px"
zIndex="1"
>
<PopoverHeader ml={3} color={textColor} borderBottom='none'>
<PopoverHeader ml={3} color={textColor} borderBottom="none">
Filters
</PopoverHeader>
<PopoverCloseButton
bg='none'
bg="none"
size={"sm"}
mt={2}
mr={3}
cursor='pointer'
cursor="pointer"
_focus={{ outline: "none" }}
p={"7px"}
border={"1px solid"}
borderColor={textColorTwo}
/>
<PopoverBody>
<Flex mx={2} fontSize='14px' flexDirection='column'>
<Flex mx={2} fontSize="14px" flexDirection="column">
<Flex
mt={3}
cursor='pointer'
border='1px'
cursor="pointer"
border="1px"
borderColor={
newestToOldest ? filterBorderColor : inactiveButtonBorder
}
borderRadius='6px'
borderRadius="6px"
p={3}
justifyContent='space-between'
alignItems='center'
justifyContent="space-between"
alignItems="center"
bgColor={buttonBgColor}
onClick={() =>{
GFarmingFilterSearch(true)
onClick={() => {
GFarmingFilterSearch(true);
handleNewestToOldest(
setNewestToOldest,
setOldestToNewset,
oldestToNewest
)
);
}}
>
<Text>Newest to Oldest</Text>
Expand All @@ -155,24 +155,24 @@ const Filter = ({
/>
</Flex>
<Flex
cursor='pointer'
cursor="pointer"
mt={4}
bgColor={buttonBgColor}
border='1px'
border="1px"
borderColor={
oldestToNewest ? filterBorderColor : inactiveButtonBorder
}
borderRadius='6px'
borderRadius="6px"
p={3}
justifyContent='space-between'
alignItems='center'
onClick={() =>{
GFarmingFilterSearch(true)
justifyContent="space-between"
alignItems="center"
onClick={() => {
GFarmingFilterSearch(true);
handleOldestToNewest(
setNewestToOldest,
setOldestToNewset,
newestToOldest
)
);
}}
>
<Text>Oldest to Newest </Text>
Expand All @@ -181,13 +181,12 @@ const Filter = ({
color={checkIconColor}
/>
</Flex>
<Flex p={3} flexDirection='column'>
<Flex p={3} flexDirection="column">
<Text my={3}>APY Value</Text>

<RangeSlider
onChange={(value) => {
GFarmingFilterSearch(true)
console.log(value);
GFarmingFilterSearch(true);
setRange0(value[0]);
setRange1(value[1]);
}}
Expand All @@ -212,18 +211,18 @@ const Filter = ({
</Flex>
<Flex
my={3}
alignItems='center'
justifyContent='space-between'
alignItems="center"
justifyContent="space-between"
>
<Input
value={range0}
onChange={(e) => {
handleRangeChange(setRange0, e, false);
}}
borderRadius='6px'
borderRadius="6px"
py={3}
px={3}
w='45%'
w="45%"
bgColor={buttonBgColor}
/>
-
Expand All @@ -232,22 +231,22 @@ const Filter = ({
onChange={(e) => {
handleRangeChange(setRange1, e, true);
}}
borderRadius='6px'
borderRadius="6px"
py={3}
px={3}
w='45%'
w="45%"
bgColor={buttonBgColor}
/>
</Flex>
<Flex
my={3}
color={lastButtonColor}
bgColor={lastButtonBgColor}
cursor='pointer'
borderRadius='6px'
cursor="pointer"
borderRadius="6px"
p={3}
justifyContent='center'
alignItems='center'
justifyContent="center"
alignItems="center"
onClick={() => {
// FilterFarm();
setSavedChanges(true);
Expand Down
Loading