pancakeswap / pancake-toolkit Goto Github PK
View Code? Open in Web Editor NEW:hammer_and_pick: Pancake frontend packages
Home Page: https://pancakeswap-uikit.netlify.app/
License: GNU General Public License v3.0
:hammer_and_pick: Pancake frontend packages
Home Page: https://pancakeswap-uikit.netlify.app/
License: GNU General Public License v3.0
I want if theres any way to create profile in codes, not in browser? Hope you guys can give some help, thx so much!
I can't find a way to change logo of pancake swap in navbar. On digging in the library i found out that static logo is used. There should be an option to change though.
Hi,
I want to set up a farm site using the pancakeswap infrastructure, but I don't know where to start. I'll be glad, if you help me ?
Here's the config https://github.com/pancakeswap/pancake-frontend/blob/9dd0b38d67cbcae5106c44cb40b53f1c057f8b8f/src/components/Menu/config/footerConfig.ts#L25
And you can check the screenshot below:
Generally I think it can be rendered as a normal text when there's no href
defined, e.g.,
Let me know what you think, if we can come to consensus, I can file a pull request to fix it.
If you want to put Link inside modal in useModal
it doesn't work since modals are rendered outside of router provider. We need to find a solution to be able to use react router links in modals, otherwise we forcing users to reload the site / open a new tab.
So, I forked the pancakeswap frontend, but, I am getting this error:
Attempted import error: 'ArrowUpDownIcon' is not exported from '@pancakeswap/uikit'.
Am I missing something?
Pancake UI Kit version:
"version": "0.55.0",
Pancakeswap Frontend Version:
"version": "0.1.0",
Hey guys,
the package.json
from the uikit (storybook) contains a rm -rf
in the build command, this is not really compatible when building it on windows. I'm unsure if storybook deletes the dist/
folder or cleans it up by itself when building.
I tried to run the toolkit, firstly I had to install yarn to I did yarn install but every time when it's almost finished installed I got the following error message.
Output:
yarn run v1.22.18
$ typechain --out-dir src/utils/abi/types --target=ethers-v5 "src/utils/abi/*.json"
node:internal/modules/cjs/loader:936
throw err;
^
Error: Cannot find module 'C:\Users\kylee\Desktop\Fork\pancake-toolkit-master\node_modules\node_
modules\typechain\dist\cli\cli.js'
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
at Function.Module._load (node:internal/modules/cjs/loader:778:27)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:77:12)
at node:internal/main/run_main_module:17:47 {
code: 'MODULE_NOT_FOUND',
requireStack: []
}
Node.js v17.9.0
Can you include a license or advise on what the license is?
fixed.
<App />
should be wrapped by <Providers />
which provides theme context.
Icon takes half of the the uikit bundle size and it's not tree shakable right now. ~250kb
Because we re import all the icons here, webpack cannot tree shake the icon based on the router code splitting
TODO:
icon
should accpet jsx instead of stringfuture plan:
Our import of "jest-styled-components" in setupTests.js
doesn't seem to be working. Without snapshots capturing styles, they aren't much good.
As detailed here https://github.com/styled-components/jest-styled-components#snapshot-testing, we'd expect our snapshots to capture styles, and have placeholder classNames rather than hashed classnames (which will change on every style update). i.e.
// breadcrumbs.test.tsx
.c0 {
-webkit-align-items: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center;
color: #BDC2C4;
display: -webkit-box;
display: -webkit-flex;
display: -ms-flexbox;
display: flex;
-webkit-flex-wrap: wrap;
-ms-flex-wrap: wrap;
flex-wrap: wrap;
list-style-type: none;
}
<ul
class="c0"
/>
But, instead, our snapshots are missing styles and have hashed classnames, i.e.
// breadcrumbs.test.tsx
<ul
class="sc-dlfnbm lhEQuh"
/>
The Zenon.network community kindly requests that PCS add the $ZNN token to the PCS Extended Token List. Our formal request can be found here:
Uikit in next.js will throw eoor document is not defined
.
Looking forward to your reply.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.