Skip to content
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.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions content/en/learn/module-2/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -62,12 +62,4 @@ speech - into the very belly of the beast. Buckle up friends: it's gonna be a bu

</Box>

<Box>

**Kevin Owocki - July 23, 2020**

<Video src="https://www.youtube-nocookie.com/embed/1tHQ9K5Oj9s?start=380" />

</Box>

</Column>
16 changes: 0 additions & 16 deletions content/en/learn/module-3/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -64,22 +64,6 @@ While the first two pillars point to internal or introspective work, it is criti

</Box>

<Box>

**Juan Benet - July 30, 2020**

<Video src="https://www.youtube-nocookie.com/embed/WjQ87t2s2y8?start=1257" />

</Box>

<Box>

**David Vorick and Manasi Vora - Feb 4, 2021**

<Video src="https://www.youtube-nocookie.com/embed/zNx7_qYdsrE?start=217" />

</Box>

</Column>


Expand Down
24 changes: 8 additions & 16 deletions content/en/learn/module-4/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,41 +40,33 @@ In particular, we will make the claim this week that we can indeed [build for be

<Box>

**Kei Kreutler & Aaron Lewis - October 14, 2022**

<Video src="https://www.youtube-nocookie.com/embed/koknoQSERkE" />

</Box>

<Box>

**Yancey Strickler - October 28, 2021**
**Ethan Buchman - October 30, 2025**

<Video src="https://www.youtube-nocookie.com/embed/WAJaE0Uy6qE?start=275" />
<Video src="https://www.youtube-nocookie.com/embed/4dzGKQKlIYs" />

</Box>

<Box>

**Andy Tudhope - June 17, 2021**
**Kei Kreutler & Aaron Lewis - October 14, 2022**

<Video src="https://www.youtube-nocookie.com/embed/ijmmKr-ZjsU" />
<Video src="https://www.youtube-nocookie.com/embed/koknoQSERkE" />

</Box>

<Box>

**Mariano Conti - Feb 11, 2021**
**Yancey Strickler - October 28, 2021**

<Video src="https://www.youtube-nocookie.com/embed/dtNvB6D2Emw?start=175" />
<Video src="https://www.youtube-nocookie.com/embed/WAJaE0Uy6qE?start=275" />

</Box>

<Box>

**Dandelion Mane - August 6 2020**
**Andy Tudhope - June 17, 2021**

<Video src="https://www.youtube-nocookie.com/embed/djQhzNA9bzc?start=938" />
<Video src="https://www.youtube-nocookie.com/embed/ijmmKr-ZjsU" />

</Box>

Expand Down
16 changes: 0 additions & 16 deletions content/en/learn/module-5/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,20 +67,4 @@ If you'd like to explore some interesting case studies in order to contextualise

</Box>

<Box>

**Bea Ramos and Sparrow - Feb 18, 2021**

<Video src="https://www.youtube-nocookie.com/embed/NUO86413eD4?start=132" />

</Box>

<Box>

**Andy Tudhope - August 13, 2020**

<Video src="https://www.youtube-nocookie.com/embed/JVDcfwWkP18?start=361" />

</Box>

</Column>
16 changes: 0 additions & 16 deletions content/en/learn/module-6/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,4 @@ play with one another.

</Box>

<Box>

**Vitalik Buterin - Feb 25, 2021**

<Video src="https://www.youtube-nocookie.com/embed/xpKEVtjBNYg" />

</Box>

<Box>

**Dany Ryan - Aug 20, 2020**

<Video src="https://www.youtube-nocookie.com/embed/0WeQ7c-RbwM?start=1007" />

</Box>

</Column>
16 changes: 0 additions & 16 deletions content/en/learn/module-7/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,4 @@ we would like to dedicate this module to [the intergalactic memory of David Grae

</Box>

<Box>

**Vitalik Buterin - Aug 27, 2020**

<Video src="https://www.youtube-nocookie.com/embed/6u1xZqOe5pE?start=276" />

</Box>

<Box>

**Andy Tudhope - March 4, 2021**

<Video src="https://www.youtube-nocookie.com/embed/XHCv7e4NRAM?start=220" />

</Box>

</Column>
17 changes: 0 additions & 17 deletions gatsby-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -265,23 +265,6 @@ module.exports = {
theme_color_in_head: false,
},
},
// this (optional) plugin enables Progressive Web App + Offline functionality
// To learn more, visit: https://gatsby.dev/offline
// {
// resolve: 'gatsby-redirect-from',
// options: {
// query: 'allMdx'
// }
// },
`gatsby-plugin-client-side-redirect`, //<- NOTE(Rejon): We're only using this because we're using Github Pages. If we're on vercel or netlify just use their redirect scripts.
// `gatsby-plugin-meta-redirect`,
{
resolve: 'gatsby-plugin-offline',
options: {
workboxConfig: {
globPatterns: ['**/images/icons/icon-512x512.png'],
},
},
},
],
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
"gatsby-plugin-lunr": "^1.5.2",
"gatsby-plugin-manifest": "^3.15.0",
"gatsby-plugin-mdx": "^2.15.0",
"gatsby-plugin-offline": "^4.15.0",
"gatsby-plugin-page-creator": "^3.15.0",
"gatsby-plugin-preload-link-crossorigin": "^1.0.2",
"gatsby-plugin-react-helmet": "^4.15.0",
Expand Down Expand Up @@ -103,4 +102,4 @@
"bugs": {
"url": "https://github.com/kernel-community/kernel-v2/issues"
}
}
}
4 changes: 2 additions & 2 deletions src/modules/flashcard/flash.js
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ const Flash = ({ children }) => {
completed
? 'completed'
: isCurrentlyRevealed
? 'active'
: 'inactive'
? 'active'
: 'inactive'
}
sx={{ position: completed ? 'absolute' : 'initial' }}>
<Flex
Expand Down
5 changes: 3 additions & 2 deletions src/modules/layouts/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ pre[class*='language-'] {
pre[class*='language-']::before {
color: #232129;
font-size: 0.75rem;
font-family: SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono',
'Courier New', monospace;
font-family:
SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',
monospace;
letter-spacing: 0.085em;
font-weight: 500;
line-height: 1;
Expand Down
20 changes: 10 additions & 10 deletions src/modules/testimonials/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ const Card = ({ source, url, author_name, text, author_image }) => {
source === 'slack'
? 'testimonialCardSlack'
: source === 'twitter'
? 'testimonialCardTwitter'
: 'black',
? 'testimonialCardTwitter'
: 'black',
flexDirection: 'column',
position: 'relative',
zIndex: 1,
Expand All @@ -43,8 +43,8 @@ const Card = ({ source, url, author_name, text, author_image }) => {
source === 'slack'
? QuotationsYellow
: source === 'twitter'
? QuotationsPurple
: QuotationsYellow
? QuotationsPurple
: QuotationsYellow
}
sx={{
width: ['70px', '80px'],
Expand Down Expand Up @@ -83,8 +83,8 @@ const Card = ({ source, url, author_name, text, author_image }) => {
source === 'slack'
? 'testimonialCardSlackText'
: source === 'twitter'
? 'testimonialCardTwitterText'
: 'black',
? 'testimonialCardTwitterText'
: 'black',
fontSize: '105%',
fontFamily: 'sanserif',
'& > .anchor-link': {
Expand Down Expand Up @@ -124,8 +124,8 @@ const Card = ({ source, url, author_name, text, author_image }) => {
source === 'slack'
? 'testimonialCardSlackText'
: source === 'twitter'
? 'testimonialCardTwitterText'
: 'black',
? 'testimonialCardTwitterText'
: 'black',
margin: 'auto',
}}>
{author_name}
Expand All @@ -141,8 +141,8 @@ const Card = ({ source, url, author_name, text, author_image }) => {
source === 'slack'
? '10%'
: source === 'twitter'
? '50%'
: '50%',
? '50%'
: '50%',
width: '66px',
boxShadow:
'rgba(17, 17, 26, 0.1) 0px 8px 24px, rgba(17, 17, 26, 0.1) 0px 16px 56px, rgba(17, 17, 26, 0.1) 0px 24px 80px',
Expand Down
8 changes: 4 additions & 4 deletions src/modules/ui/Button.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ const Button = ({
variant || secondary
? 'secondary'
: outline
? 'outline'
: text
? 'text'
: 'primary'
? 'outline'
: text
? 'text'
: 'primary'
}${small ? 'Small' : ''}`

const internal = /^\/(?!\/)/.test(href) || /^\/(?!\/)/.test(to)
Expand Down
18 changes: 13 additions & 5 deletions src/modules/ui/FlipCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const styles = {
width: '100%',
},
cardHeight: {
height: 345,
height: 345,
},
flipCardInner: {
position: 'relative',
Expand Down Expand Up @@ -134,8 +134,12 @@ const FlipCard = ({
aria-pressed={isFlipped}
style={styles.flipBtn}
onClick={() => setIsFlipped(true)}
onMouseEnter={(e) => (e.currentTarget.style.backgroundColor = 'rgb(229, 231, 235)')}
onMouseLeave={(e) => (e.currentTarget.style.backgroundColor = 'transparent')}>
onMouseEnter={(e) =>
(e.currentTarget.style.backgroundColor = 'rgb(229, 231, 235)')
}
onMouseLeave={(e) =>
(e.currentTarget.style.backgroundColor = 'transparent')
}>
<RotateIcon />
</button>

Expand Down Expand Up @@ -173,8 +177,12 @@ const FlipCard = ({
aria-pressed={!isFlipped}
style={styles.flipBtn}
onClick={() => setIsFlipped(false)}
onMouseEnter={(e) => (e.currentTarget.style.backgroundColor = 'rgb(209, 213, 219)')}
onMouseLeave={(e) => (e.currentTarget.style.backgroundColor = 'transparent')}>
onMouseEnter={(e) =>
(e.currentTarget.style.backgroundColor = 'rgb(209, 213, 219)')
}
onMouseLeave={(e) =>
(e.currentTarget.style.backgroundColor = 'transparent')
}>
<RotateIcon />
</button>

Expand Down
8 changes: 6 additions & 2 deletions src/modules/utility/seo.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,15 @@ function SEO({ description, lang, meta, title, keywords, url, featuredImage }) {
},
{
property: 'og:image',
content: featuredImage?.startsWith('http') ? featuredImage : `https://read.kernel.community${featuredImage}`,
content: featuredImage?.startsWith('http')
? featuredImage
: `https://read.kernel.community${featuredImage}`,
},
{
name: 'twitter:image',
content: featuredImage?.startsWith('http') ? featuredImage : `https://read.kernel.community${featuredImage}`,
content: featuredImage?.startsWith('http')
? featuredImage
: `https://read.kernel.community${featuredImage}`,
},
{
name: `twitter:description`,
Expand Down
12 changes: 6 additions & 6 deletions src/pages/en/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,13 @@ const BlogHome = ({ data }) => {
)
.slice(0, 3)
: types.length > 0
? types.map((type) =>
data.allMdx.edges.find(
({ node }) =>
getBlogPostTypeFromPath(node.fileAbsolutePath) === type
? types.map((type) =>
data.allMdx.edges.find(
({ node }) =>
getBlogPostTypeFromPath(node.fileAbsolutePath) === type
)
)
)
: data.allMdx.edges.slice(0, 3)
: data.allMdx.edges.slice(0, 3)

const [sectionData, setSectionData] = useState({
type: initialSectionExists ? initialSection : null,
Expand Down