Merged
Show file tree
Hide file tree
Changes from 1 commit
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Failed to load files.
Next Next commit
Translate two pages and some MDX tags
  • Loading branch information
@smikitky
smikitky authoredDec 1, 2021
commit 25dfdb75066bcd81031e4f24becf9c07bdd5eec0
Original file line numberDiff line numberDiff line change
Expand Up@@ -16,7 +16,7 @@ interface ExpandableCalloutProps {

const variantMap = {
note: {
title: 'Note',
title: '補足',
Icon: IconNote,
containerClasses:
'bg-green-5 dark:bg-green-60 dark:bg-opacity-20 text-primary dark:text-primary-dark text-lg',
Expand All@@ -25,7 +25,7 @@ const variantMap = {
'linear-gradient(rgba(245, 249, 248, 0), rgba(245, 249, 248, 1)',
},
gotcha: {
title: 'Gotcha',
title: '注意!',
Icon: IconGotcha,
containerClasses: 'bg-yellow-5 dark:bg-yellow-60 dark:bg-opacity-20',
textColor: 'text-yellow-50 dark:text-yellow-40',
Expand Down
Original file line numberDiff line numberDiff line change
Expand Up@@ -136,7 +136,7 @@ function MathI({children}: {children: any}) {
}

function YouWillLearn({children}: {children: any}) {
return <SimpleCallout title="You will learn">{children}</SimpleCallout>;
return <SimpleCallout title="このページで学ぶこと">{children}</SimpleCallout>;
}

// TODO: typing.
Expand Down
Loading