Skip to content

Commit 4bbc223

Browse files
committed
Fyrstu þýðingar á innsetningarkafla
1 parent 521affb commit 4bbc223

File tree

3 files changed

+28
-29
lines changed

3 files changed

+28
-29
lines changed

src/content/learn/installation.md

Lines changed: 22 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,57 +1,56 @@
11
---
2-
title: Installation
2+
title: Innsetning
33
---
44

55
<Intro>
66

7-
React has been designed from the start for gradual adoption. You can use as little or as much React as you need. Whether you want to get a taste of React, add some interactivity to an HTML page, or start a complex React-powered app, this section will help you get started.
7+
React var hannað þannig að hægt sé að byrja að nota það hægt og rólega. Þú getur notað React eins lítið eða eins mikið og þú þarft. Hvort sem þig langar bara að finna smjörþefinn af React, bæta við gagnvirkni á HTML síðu, eða byrja á flóknu React verkefni, þá er þetta svæði fyrir þig.
88

99
</Intro>
1010

1111
<YouWillLearn isChapter={true}>
1212

13-
* [How to start a new React project](/learn/start-a-new-react-project)
14-
* [How to add React to an existing project](/learn/add-react-to-an-existing-project)
15-
* [How to set up your editor](/learn/editor-setup)
16-
* [How to install React Developer Tools](/learn/react-developer-tools)
13+
* [Byrjaðu á nýju React verkefni](/learn/start-a-new-react-project)
14+
* [Innsetning á React í tiltæku verkefni](/learn/add-react-to-an-existing-project)
15+
* [Uppsetning á ritli](/learn/editor-setup)
16+
* [Þróunartól fyrir React](/learn/react-developer-tools)
1717

1818
</YouWillLearn>
1919

20-
## Try React {/*try-react*/}
20+
## Prófaðu React {/*try-react*/}
2121

22-
You don't need to install anything to play with React. Try editing this sandbox!
22+
Þú þarft ekki að innsetja neitt til að byrja að fikta í React. Prófaðu að breyta kóðanum í þessum sandkassa!
2323

2424
<Sandpack>
2525

2626
```js
27-
function Greeting({ name }) {
28-
return <h1>Hello, {name}</h1>;
27+
function Heilsun({ nafn }) {
28+
return <h1>Halló, {nafn}</h1>;
2929
}
3030

31-
export default function App() {
32-
return <Greeting name="world" />
31+
export default function Forrit() {
32+
return <Heilsun nafn="heimur" />
3333
}
3434
```
3535

3636
</Sandpack>
3737

38-
You can edit it directly or open it in a new tab by pressing the "Fork" button in the upper right corner.
38+
Þú getur breytt kóðanum beint eða opnað sandkassan í nýjum flipa með því að smella á „Fork“ hnappinn í efri hægri kantinum.
3939

40-
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?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb)
40+
Flestar síðurnar í React skjalbúnaðinum innihalda sandkassa eins og þennan. Fyrir utan þessa vefsíðu eru til aðrir sandkassar á veraldarvefnum sem styðja React: til dæmis [CodeSandbox](https://codesandbox.io/s/new), [StackBlitz](https://stackblitz.com/fork/react), og [CodePen.](https://codepen.io/pen?&editors=0010&layout=left&prefill_data_id=3f4569d1-1b11-4bce-bd46-89090eed5ddb)
4141

42-
### Try React locally {/*try-react-locally*/}
42+
### Prófaðu React á eigin vél {/*try-react-locally*/}
4343

44-
To try React locally on your computer, [download this HTML page.](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) Open it in your editor and in your browser!
44+
[Sæktu þessa HTML skrá](https://gist.githubusercontent.com/gaearon/0275b1e1518599bbeafcde4722e79ed1/raw/db72dcbf3384ee1708c4a07d3be79860db04bff0/example.html) til að prófa React staðbundið á eigin vél. Prófaðu að opna hana í eigin ritli og í vafranum þínum!
4545

46-
## Start a new React project {/*start-a-new-react-project*/}
46+
## Byrjaðu á nýju React verkefni {/*start-a-new-react-project*/}
4747

48-
If you want to build an app or a website fully with React, [start a new React project.](/learn/start-a-new-react-project)
48+
Skoðaðu [leiðbeiningar um uppsetningu á nýju React verkefni](/learn/start-a-new-react-project) ef þú vilt smíða vefforrit eða vefsíðu frá grunni með React.
4949

50-
## Add React to an existing project {/*add-react-to-an-existing-project*/}
50+
## Bættu React við tiltækt verkefni {/*add-react-to-an-existing-project*/}
5151

52-
If want to try using React in your existing app or a website, [add React to an existing project.](/learn/add-react-to-an-existing-project)
52+
Skoðaðu [leiðbeiningar um innsetningu á React í tiltæku verkefni](/learn/add-react-to-an-existing-project) ef þú vilt prófa að nota React í núverandi verkefni.
5353

54-
## Next steps {/*next-steps*/}
55-
56-
Head to the [Quick Start](/learn) guide for a tour of the most important React concepts you will encounter every day.
54+
## Næstu skref {/*next-steps*/}
5755

56+
Kíktu á [fyrstu skref](/learn) til að fá heildaryfirsýn á React og þeim hugtökum sem þú munt koma til með að nota dagsdaglega.

src/sidebarHome.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"path": "/learn"
1212
},
1313
{
14-
"title": "Installation",
14+
"title": "Innsetning",
1515
"path": "/learn/installation"
1616
},
1717
{

src/sidebarLearn.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,23 +21,23 @@
2121
]
2222
},
2323
{
24-
"title": "Installation",
24+
"title": "Innsetning",
2525
"path": "/learn/installation",
2626
"routes": [
2727
{
28-
"title": "Start a New React Project",
28+
"title": "Byrjaðu á nýju React verkefni",
2929
"path": "/learn/start-a-new-react-project"
3030
},
3131
{
32-
"title": "Add React to an Existing Project",
32+
"title": "Innsetning á React í tiltæku verkefni",
3333
"path": "/learn/add-react-to-an-existing-project"
3434
},
3535
{
36-
"title": "Editor Setup",
36+
"title": "Uppsetning á ritli",
3737
"path": "/learn/editor-setup"
3838
},
3939
{
40-
"title": "React Developer Tools",
40+
"title": "Þróunartól fyrir React",
4141
"path": "/learn/react-developer-tools"
4242
}
4343
]

0 commit comments

Comments
 (0)