Skip to content

Commit

Permalink
add donate3
Browse files Browse the repository at this point in the history
  • Loading branch information
0xhardman authored and TwilightLogic committed Nov 5, 2023
1 parent dc5231c commit 503828d
Show file tree
Hide file tree
Showing 4 changed files with 34 additions and 46 deletions.
6 changes: 3 additions & 3 deletions components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const NavList = ({ title, items }) => (
const Footer = () => {
const theme = useTheme()
return (
<Box sx={{ background: '#ffffff' }} width="100%">
<Box sx={{ background: '#ffffff' }} width="100%" mt={'110px'}>
<Container paddingY={{ md: '50px', xs: '44px' }} margin="0 auto">
<Box
display="flex"
Expand All @@ -90,7 +90,7 @@ const Footer = () => {
items={[
{
name: 'My First NFT',
link: 'https://myfirstnft.info/',
link: 'https://github.com/lxdao-official/LXDAO-Developer-Guide',
},
{
name: 'My First Layer2',
Expand Down Expand Up @@ -123,7 +123,7 @@ const Footer = () => {
title="Resources"
items={[
{
name: 'LXDAO',
name: 'LX DAO',
link: 'https://lxdao.io/',
},
{
Expand Down
60 changes: 23 additions & 37 deletions pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,42 +49,28 @@ export default function App({ Component, pageProps }) {
const theme = getTheme(mode)

return (
<>
<Script
async
src="https://www.googletagmanager.com/gtag/js?id=G-YBM7P1VZH9"
/>
<Script id="google-analytics">
{`
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-YBM7P1VZH9');
`}
</Script>
<WagmiConfig client={wagmiClient}>
<RainbowKitProvider
chains={chains}
theme={lightTheme({
accentColor: '#000',
accentColorForeground: 'white',
borderRadius: 'large',
fontStack: 'system',
overlayBlur: 'small',
selectionColor: '#000',
modalBorder: '1px solid #fff',
})}
>
<NextIntlProvider messages={pageProps.messages}>
<ColorModeContext.Provider value={colorMode}>
<ThemeProvider theme={theme}>
<Component {...pageProps} />
</ThemeProvider>
</ColorModeContext.Provider>
</NextIntlProvider>
</RainbowKitProvider>
</WagmiConfig>
</>
<WagmiConfig client={wagmiClient}>
<RainbowKitProvider
chains={chains}
theme={lightTheme({
accentColor: '#000',
accentColorForeground: 'white',
borderRadius: 'large',
fontStack: 'system',
overlayBlur: 'small',
selectionColor: '#000',
modalBorder: '1px solid #fff',
})}
>
<NextIntlProvider messages={pageProps.messages}>
<ColorModeContext.Provider value={colorMode}>
<ThemeProvider theme={theme}>
<Component {...pageProps} />
<Script src="https://cdn.jsdelivr.net/npm/donate3-sdk@0.3.48/dist/webpack/bundle.js" />
</ThemeProvider>
</ColorModeContext.Provider>
</NextIntlProvider>
</RainbowKitProvider>
</WagmiConfig>
)
}
10 changes: 6 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,12 @@ export default function Index({ content, directory }) {
<SectionMyFirstProject />
<SectionSponsors />
<SectionTeam />
{/* <SectionLXDAOIntro /> */}
{/* <Box id="joinus" paddingTop={{ xs: '50px', md: 15 }} marginBottom={{ md: 15 }} paddingX={0}>
<LXDAOIntroduction imgBackground={`${theme?.palette.bodyBg.main}`} titleColor={theme?.palette?.mode === 'dark' ? '#fff' : '#141414'} detailColor={theme?.palette?.mode === 'dark' ? '#fff' : '#667085'} maxWidth="1240px" xsWidth="326px" />
</Box> */}
<div
data-donate3-type="embed"
data-donate3-color="#000"
data-donate3-title="MyFirstLayer2(TEST)"
data-donate3-to-address="0x72bc49A5F2CE1200bD42f2428485fB9c140CF6bF"
></div>
<Footer />
</Main>
)
Expand Down
4 changes: 2 additions & 2 deletions sections/SectionTeam.js
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ export default function SectionTeam() {
desc={t('sectionTeam-title-12')}
id="team"
>
<Box padding={{ xs: 2, sm: '0px' }} mb="110px">
<Box padding={{ xs: 2, sm: '0px' }} mb="90px">
<Grid container spacing={2.5}>
{coreContributors.map((item, i) => (
<Grid
Expand All @@ -452,7 +452,7 @@ export default function SectionTeam() {
}
}}
item
xs={12 / 5}
xs={12 / 7}
sm={12 / 7}
md={12 / 12}
key={i}
Expand Down

0 comments on commit 503828d

Please sign in to comment.