Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add donate3 #127

Merged
merged 3 commits into from
Nov 5, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 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 @@ -94,7 +94,7 @@ const Footer = () => {
},
{
name: 'My First Layer2',
link: '',
link: 'https://layer2.myfirst.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@1.0.43/dist/webpack/bundle.js" />
</ThemeProvider>
</ColorModeContext.Provider>
</NextIntlProvider>
</RainbowKitProvider>
</WagmiConfig>
)
}
5 changes: 1 addition & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,7 @@ 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-cid="bafkreihmg2lnhwcu2qtksrk3bjknwj5zeupemzo274rjbsef7saehdpfry"></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