diff --git a/scripts/copyUsedEmojis.ts b/scripts/copyUsedEmojis.ts index 7d4b09e88..719eb3528 100644 --- a/scripts/copyUsedEmojis.ts +++ b/scripts/copyUsedEmojis.ts @@ -106,7 +106,9 @@ const allUsedEmojis = [ '🧠', '📓', '😴', - '🚦' + '🚦', + '👨🏻‍💻', + '👋' ]) ] diff --git a/src/components/H.tsx b/src/components/H.tsx index f6b079392..91cdcc662 100644 --- a/src/components/H.tsx +++ b/src/components/H.tsx @@ -35,7 +35,7 @@ import EmojiNumber from 'src/components/EmojiNumber' import TwitterEmbed from 'src/components/TwitterEmbed' import { shareId, shareVisible } from 'src/lib/twitter' import { dateString, dateSchemaString } from 'src/lib/date' -import { githubRepo, jpBaseUrl, enBaseUrl } from 'src/lib/meta' +import { githubRepo, jpBaseUrl } from 'src/lib/meta' import CustomEmoji from 'src/components/CustomEmoji' import InlinePrioritiesLabel from 'src/components/InlinePrioritiesLabel' import { VariableNames } from 'src/types/VariableNames' @@ -166,6 +166,7 @@ interface HProps { | { name: 'whatTheNumberIsCaption' } | { name: 'runAndShowAllSteps' } | { name: 'ignoreForNow' } + | { name: 'aboutMe' } } const H = ({ args, highlightType, episodeNumberOverrides }: HProps) => { @@ -1136,9 +1137,9 @@ const H = ({ args, highlightType, episodeNumberOverrides }: HProps) => {
ソースコード:{' '} GitHubで公開中 -
+ {/*
英語版:{' '} - 英語版はこちら + 英語版はこちら*/} {args.includeTwitter && ( <>
@@ -1710,6 +1711,17 @@ const H = ({ args, highlightType, episodeNumberOverrides }: HProps) => { ) } } + if (args.name === 'aboutMe') { + if (locale === 'en') { + return ( + <> +

?

+ + ) + } else { + return <> + } + } throw new Error() } diff --git a/src/components/Twemoji/1f44b.tsx b/src/components/Twemoji/1f44b.tsx new file mode 100644 index 000000000..aec2cfa2b --- /dev/null +++ b/src/components/Twemoji/1f44b.tsx @@ -0,0 +1,21 @@ +import * as React from 'react' + +const Svg1F44B = (props: React.SVGProps) => ( + + + + + + + + + +) + +export default Svg1F44B diff --git a/src/components/Twemoji/1f468-1f3fb-200d-1f4bb.tsx b/src/components/Twemoji/1f468-1f3fb-200d-1f4bb.tsx new file mode 100644 index 000000000..69bb7c942 --- /dev/null +++ b/src/components/Twemoji/1f468-1f3fb-200d-1f4bb.tsx @@ -0,0 +1,60 @@ +import * as React from 'react' + +const Svg1F4681F3Fb200D1F4Bb = (props: React.SVGProps) => ( + + + + + + + + + + + + + + + +) + +export default Svg1F4681F3Fb200D1F4Bb diff --git a/src/contents/0.en.tsx b/src/contents/0.en.tsx index 3584dfe11..7232e8049 100644 --- a/src/contents/0.en.tsx +++ b/src/contents/0.en.tsx @@ -11,10 +11,10 @@ import { P, HighlightBold, Bold, - Italic + Italic, // Ol, // OlLi, - // Hr + Hr } from 'src/components/ContentTags' import Emoji from 'src/components/Emoji' import CustomEmoji from 'src/components/CustomEmoji' @@ -151,7 +151,7 @@ export default () => ( } }, { - title: <>Start now, or read the introduction, + title: <>Start now or read the introduction, content: ( <>

@@ -165,7 +165,8 @@ export default () => (

🤔{' '} If you want to read the introduction before you get - started, scroll down and keep reading! + started, scroll down and keep reading! The + introduction only takes a few minutes to read.

( NOT talk about this startup investing firm.{' '} Y Combinator is actually the name of{' '} - an important concept in computer science, and + an interesting concept in computer science, and that’s what we’re going to talk about.

@@ -225,14 +226,15 @@ export default () => ( <> Y Combinator is actually the name of
- an important concept in computer science + an interesting concept in computer science } />

In fact: The startup investing firm Y Combinator was{' '} - named after this computer science concept. Paul - Graham, a co-founder of the firm, said this in{' '} + named after this computer science concept.{' '} + 👨🏻‍🦳 Paul Graham, a co-founder of the firm, said this + in{' '} his 2010 interview @@ -245,19 +247,19 @@ export default () => ( children: ( <>

- [Y Combinator is] a programming trick. … I wanted to - call it Y Combinator just because I thought the Y - Combinator was a really cool thing. So it would be the - perfect name for picking out the kind of people that we - wanted. + [Y Combinator is] a programming trick. … I + wanted to call it Y Combinator just because I thought + the Y Combinator was a really cool thing. So it would be + the perfect name for picking out the kind of people that + we wanted.

- Hackers would look at this and think,{' '} + Hackers would look at this and think,{' '} “That’s so cool. They’re named after the Y Combinator. There must be something going on here.” {' '} - And suits would look at it and think,{' '} + And suits would look at it and think,{' '} “Y Combinator, what’s that?”

@@ -270,11 +272,11 @@ export default () => ( ]} />

- Explanation of the above quote: Paul Graham, a - computer scientist,{' '} + 👨🏻‍🦳 Explanation of the above quote:{' '} + Paul Graham, a computer scientist,{' '} - wanted to invest in entrepreneurs who are also programmers - (“hackers” 😎) + wanted to invest in entrepreneurs who are also programmers (“ + hackers😎) . So he named his investing firm “Y Combinator”, which is a computer science (programming) term, in order to attract hackers. @@ -283,9 +285,10 @@ export default () => ( And because Y Combinator is a very technical computer science concept,{' '} - he assumed businesspeople (“suits” 👔), who he - didn’t care about, won’t understand what it means. - + he assumed businesspeople (“suits”{' '} + 👔) won’t understand what it means + {' '} + and therefore won’t be attracted.

( <> Hackers vs Suits:
- To attract programmers, Paul Graham + To attract programmers +
+ but not businesspeople,
- named his investing firm “Y Combinator”, + Paul Graham named his investing firm
- an important computer science concept. + “Y Combinator” } /> +

+ 😉 But don’t worry:{' '} + + Even if you have no programming background, by the time you + finish this course, you’ll understand what Y Combinator is. + +

+

Let’s now talk about this course!

) + }, + { + title: <>Why teach Y Combinator for non-programmers?, + content: <>, + footer: { + content: ( + <> +

For programmers

+

Please ★ star it on GitHub!

+ + ) + } + }, + { + title: <>How to teach Y Combinator for non-programmers, + content: <>, + footer: { + content: ( + <> +

Travel

+ + ) + } + }, + { + title: <>Let’s begin!, + content: <>, + footer: { + content: ( + <> + Continue reading, + content: ( + <> +

+ 👨🏻‍💻 About me: Sorry for not + introducing myself earlier!{' '} + + I’m Shu Uesugi, a full-stack developer + based in San Francisco Bay Area, USA. + +

+

+ 👋 Available for hire:{' '} + + I’m looking for a{' '} + full-time senior engineering position. + {' '} + Press “Continue reading” below to learn more about me!{' '} + 😉 +

+ + ) + }} + > +
+

?

+
+ + ) + } } ]} /> diff --git a/src/lib/emojisBundle.tsx b/src/lib/emojisBundle.tsx index 9df10611e..052a283ca 100644 --- a/src/lib/emojisBundle.tsx +++ b/src/lib/emojisBundle.tsx @@ -32,11 +32,13 @@ import Emoji1f3c1 from 'src/components/Twemoji/1f3c1' import Emoji1f3ef from 'src/components/Twemoji/1f3ef' import Emoji1f40d from 'src/components/Twemoji/1f40d' import Emoji1f436 from 'src/components/Twemoji/1f436' +import Emoji1f44b from 'src/components/Twemoji/1f44b' import Emoji1f44d from 'src/components/Twemoji/1f44d' import Emoji1f44e from 'src/components/Twemoji/1f44e' import Emoji1f454 from 'src/components/Twemoji/1f454' import Emoji1f467ZZ1f3fb from 'src/components/Twemoji/1f467-1f3fb' import Emoji1f468ZZ1f3fbZZ200dZZ1f393 from 'src/components/Twemoji/1f468-1f3fb-200d-1f393' +import Emoji1f468ZZ1f3fbZZ200dZZ1f4bb from 'src/components/Twemoji/1f468-1f3fb-200d-1f4bb' import Emoji1f468ZZ1f3fbZZ200dZZ1f9b3 from 'src/components/Twemoji/1f468-1f3fb-200d-1f9b3' import Emoji1f468ZZ1f3fdZZ200dZZ1f4bb from 'src/components/Twemoji/1f468-1f3fd-200d-1f4bb' import Emoji1f468ZZ200dZZ1f3a4 from 'src/components/Twemoji/1f468-200d-1f3a4' @@ -169,11 +171,13 @@ export default { '1f3ef': Emoji1f3ef, '1f40d': Emoji1f40d, '1f436': Emoji1f436, + '1f44b': Emoji1f44b, '1f44d': Emoji1f44d, '1f44e': Emoji1f44e, '1f454': Emoji1f454, '1f467-1f3fb': Emoji1f467ZZ1f3fb, '1f468-1f3fb-200d-1f393': Emoji1f468ZZ1f3fbZZ200dZZ1f393, + '1f468-1f3fb-200d-1f4bb': Emoji1f468ZZ1f3fbZZ200dZZ1f4bb, '1f468-1f3fb-200d-1f9b3': Emoji1f468ZZ1f3fbZZ200dZZ1f9b3, '1f468-1f3fd-200d-1f4bb': Emoji1f468ZZ1f3fdZZ200dZZ1f4bb, '1f468-200d-1f3a4': Emoji1f468ZZ200dZZ1f3a4,