Skip to content

Commit

Permalink
add donate3
Browse files Browse the repository at this point in the history
  • Loading branch information
0xhardman committed Jun 20, 2023
1 parent 2c1e668 commit 7d1e262
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 9 deletions.
4 changes: 2 additions & 2 deletions components/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,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" flexDirection={{ lg: 'row', md: 'column', xs: 'column' }}>
<Grid container spacing={{ lg: 6, md: 8 }} flex={2}>
Expand Down Expand Up @@ -113,7 +113,7 @@ const Footer = () => {
/>
</Grid>
</Grid>
<Box display="flex" gap="24px" flexDirection="column" marginTop={{ lg: 0, xs: 4 }} flex={1}>
<Box display="flex" gap="24px" flexDirection="column" marginTop={{ lg: 0, xs: 4 }} flex={1}>
<Box width="147px" height="58px" component={'img'} src={'/icons/lxdao-logo.svg'} />
<Typography variant="body1" lineHeight="24px" fontWeight={400} color="#666F85" textTransform="uppercase">
LXDAO is an <span style={{ color: '#3C7AFF' }}>R&D</span>
Expand Down
2 changes: 1 addition & 1 deletion layouts/Main/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ const Main = ({ children = false }) => {
</Container>
)}
</Box>
<Box bgcolor="bodyBg.main" component="main" id="main" >
<Box bgcolor="bodyBg.main" component="main" id="main">
{children}
</Box>
</>
Expand Down
4 changes: 3 additions & 1 deletion pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import {
lightTheme,
midnightTheme,
} from "@rainbow-me/rainbowkit";
import Script from 'next/script';

/* RainbowKit imports */
import "@rainbow-me/rainbowkit/styles.css";
Expand Down Expand Up @@ -35,7 +36,7 @@ const wagmiClient = createClient({
});
/* RainbowKit variables */

export const ColorModeContext = createContext({ toggleColorMode: () => {} });
export const ColorModeContext = createContext({ toggleColorMode: () => { } });

export default function App({ Component, pageProps }) {
const [mode, setMode] = useState("light");
Expand Down Expand Up @@ -67,6 +68,7 @@ export default function App({ Component, pageProps }) {
<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>
Expand Down
10 changes: 6 additions & 4 deletions pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,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
2 changes: 1 addition & 1 deletion sections/SectionTeam.js
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ export default function SectionTeam() {
const t = useTranslations('SectionTeam');
return (
<SectionSimpleWrapper title={t(`sectionTeam-content-11`)} 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 Down

0 comments on commit 7d1e262

Please sign in to comment.