-
Notifications
You must be signed in to change notification settings - Fork 342
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
42 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,31 @@ | ||
import { styled } from '@mui/material'; | ||
|
||
export const Section = styled('section')<{ dark?: boolean }>` | ||
background-color: ${({ dark }) => dark ? '#141414' : '#212122'}; | ||
padding: 120px 12px; | ||
`; | ||
export const SectionContent = styled('div')` | ||
max-width: 1400px; | ||
margin: 0 auto; | ||
`; | ||
|
||
export const SectionTitle = styled('h2')` | ||
font-weight: 700; | ||
font-size: 48px; | ||
line-height: 58.09px; | ||
text-align: center; | ||
`; | ||
|
||
export const Section = styled('section')<{ dark?: boolean }>` | ||
background-color: ${({ dark }) => dark ? '#141414' : '#212122'}; | ||
padding: 120px 12px; | ||
`; | ||
export const SectionContent = styled('div')` | ||
max-width: 1400px; | ||
export const SectionDescription = styled('p')` | ||
font-weight: 700; | ||
font-size: 24px; | ||
line-height: 38px; | ||
color: #B1B1B1; | ||
text-align: center; | ||
max-width: 1200px; | ||
margin: 0 auto; | ||
strong { | ||
color: #73D9B4; | ||
} | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
import { Section, SectionContent, SectionDescription, SectionTitle } from '@site/src/pages/github-campaign/_components/Section'; | ||
import React from 'react'; | ||
|
||
export function ContributionsSection () { | ||
return ( | ||
<Section> | ||
<SectionContent> | ||
<SectionTitle> | ||
TiDB ❤️ Open Source | ||
</SectionTitle> | ||
<SectionDescription> | ||
We take pride in our <strong>open-source</strong> roots. | ||
<br /> | ||
With the developer community, we align our product, to make sure it perfectly fits modern application developer's needs. | ||
</SectionDescription> | ||
</SectionContent> | ||
</Section> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters