diff --git a/src/components/SocialBanner.tsx b/src/components/SocialBanner.tsx index 4e1bf8e3..37ee6239 100644 --- a/src/components/SocialBanner.tsx +++ b/src/components/SocialBanner.tsx @@ -7,9 +7,9 @@ import {useRef, useEffect} from 'react'; import cn from 'classnames'; import {ExternalLink} from './ExternalLink'; -const bannerText = 'Join us for React Conf on May 15-16.'; -const bannerLink = 'https://conf.react.dev/'; -const bannerLinkText = 'Learn more.'; +const bannerText = 'Украинаны қолдаңыз 🇺🇦'; +const bannerLink = 'https://opensource.fb.com/support-ukraine'; +const bannerLinkText = 'Украинаға гуманитарлық көмек көрсетуге көмектесіңіз' export default function SocialBanner() { const ref = useRef(null); diff --git a/src/content/learn/editor-setup.md b/src/content/learn/editor-setup.md index 9e9642a2..7242e0ff 100644 --- a/src/content/learn/editor-setup.md +++ b/src/content/learn/editor-setup.md @@ -40,7 +40,6 @@ React қауымдастығында қолданылатын басқа тан ### Форматтау {/*formatting*/} - Кодыңызды басқа адамдармен бөліскен кезде ең соңғы уайымдайтын нәрсе ол [табтар немесе бос орындар](https://www.google.com/search?q=tabs+vs+spaces)! Қуанышқа орай, [Prettier](https://prettier.io/) кодты алдын ала орнатылған ережелерге сәйкес форматтайды. Prettier-ді іске қосыңыз, сонда барлық қойған табтар, бос орындар, тырнақша түрі және т.б. конфигурацияға сәйкес келетіндей етіп өзгертіледі. Prettier файлды сақтаған кезде форматтауды іске қосылады, бұл сіздің жұмысынызды жеңілдетеді. The last thing you want to do when sharing your code with another contributor is get into a discussion about [tabs vs spaces](https://www.google.com/search?q=tabs+vs+spaces)! Fortunately, [Prettier](https://prettier.io/) will clean up your code by reformatting it to conform to preset, configurable rules. Run Prettier, and all your tabs will be converted to spaces—and your indentation, quotes, etc will also all be changed to conform to the configuration. In the ideal setup, Prettier will run when you save your file, quickly making these edits for you. diff --git a/src/content/learn/installation.md b/src/content/learn/installation.md index 27ff8030..05611213 100644 --- a/src/content/learn/installation.md +++ b/src/content/learn/installation.md @@ -36,7 +36,8 @@ export default function App() { Дәл осы жерде код жазуға немесе жоғарғы оң жақ бұрыштағы «Fork» түймесін басу арқылы кодты жаңа табта ашуға болады. -Most pages in the React documentation contain sandboxes like this. Outside of the React documentation, there are many online sandboxes that support React: for example, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), or [CodePen.](https://codepen.io/pen?template=QWYVwWN) + +Мұндай құмжәшіктер React құжаттамасының беттерінің көпшілігінде қолжетімді. React құжаттамасынан басқа, React-ті қолдайтын көптеген онлайн құмжәшіктері бар: мысалы, [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), немесе [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb) ### Локальде React-тi қолданып көріңіз {/*try-react-locally*/}