File tree 10 files changed +214
-211
lines changed
10 files changed +214
-211
lines changed Original file line number Diff line number Diff line change @@ -131,24 +131,24 @@ export function HomeContent() {
131
131
React
132
132
</ h1 >
133
133
< p className = "text-4xl font-display max-w-lg md:max-w-full py-1 text-center text-secondary dark:text-primary-dark leading-snug self-center" >
134
- The library for web and native user interfaces
134
+ Forritasafnið fyrir notendaviðmót á vefnum og heimavangi
135
135
</ p >
136
136
< div className = "mt-5 self-center flex gap-2 w-full sm:w-auto flex-col sm:flex-row" >
137
137
< ButtonLink
138
138
href = { '/learn' }
139
139
type = "primary"
140
140
size = "lg"
141
141
className = "w-full sm:w-auto justify-center"
142
- label = "Learn React" >
143
- Learn React
142
+ label = "Lærðu React" >
143
+ Lærðu React
144
144
</ ButtonLink >
145
145
< ButtonLink
146
146
href = { '/reference/react' }
147
147
type = "secondary"
148
148
size = "lg"
149
149
className = "w-full sm:w-auto justify-center"
150
- label = "API Reference " >
151
- API Reference
150
+ label = "Forritaskil " >
151
+ Forritaskil
152
152
</ ButtonLink >
153
153
</ div >
154
154
</ div >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function Toc({headings}: {headings: Toc}) {
16
16
< nav role = "navigation" className = "pt-20 sticky top-0 right-0" >
17
17
{ headings . length > 0 && (
18
18
< h2 className = "mb-3 lg:mb-3 uppercase tracking-wide font-bold text-sm text-secondary dark:text-secondary-dark px-4 w-full" >
19
- On this page
19
+ Á þessari síðu
20
20
</ h2 >
21
21
) }
22
22
< div
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export default function TopNav({
268
268
) }
269
269
onClick = { onOpenSearch } >
270
270
< IconSearch className = "mr-3 align-middle text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
271
- Search
271
+ Leit
272
272
< span className = "ml-auto hidden sm:flex item-center mr-1" >
273
273
< Kbd data-platform = "mac" > ⌘</ Kbd >
274
274
< Kbd data-platform = "win" wide >
@@ -281,25 +281,25 @@ export default function TopNav({
281
281
< div className = "text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end" >
282
282
< div className = "mx-2.5 gap-1.5 hidden lg:flex" >
283
283
< NavItem isActive = { section === 'learn' } url = "/learn" >
284
- Learn
284
+ Lærðu
285
285
</ NavItem >
286
286
< NavItem
287
287
isActive = { section === 'reference' }
288
288
url = "/reference/react" >
289
- Reference
289
+ Uppflettirit
290
290
</ NavItem >
291
291
< NavItem isActive = { section === 'community' } url = "/community" >
292
- Community
292
+ Samfélag
293
293
</ NavItem >
294
294
< NavItem isActive = { section === 'blog' } url = "/blog" >
295
- Blog
295
+ Blogg
296
296
</ NavItem >
297
297
</ div >
298
298
< div className = "flex w-full md:hidden" > </ div >
299
299
< div className = "flex items-center -space-x-2.5 xs:space-x-0 " >
300
300
< div className = "flex md:hidden" >
301
301
< button
302
- aria-label = "Search "
302
+ aria-label = "Leit "
303
303
type = "button"
304
304
className = "active:scale-95 transition-transform flex md:hidden w-12 h-12 rounded-full items-center justify-center hover:bg-secondary-button hover:dark:bg-secondary-button-dark outline-link"
305
305
onClick = { onOpenSearch } >
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ function YouWillLearn({
173
173
children : any ;
174
174
isChapter ?: boolean ;
175
175
} ) {
176
- let title = isChapter ? 'In this chapter ' : 'You will learn ' ;
176
+ let title = isChapter ? 'Í þessum kafla ' : 'Þú munt læra ' ;
177
177
return < SimpleCallout title = { title } > { children } </ SimpleCallout > ;
178
178
}
179
179
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function getDomain(languageCode: string): string {
42
42
export const Seo = withRouter (
43
43
( {
44
44
title,
45
- description = 'The library for web and native user interfaces ' ,
45
+ description = 'React – Forritasafnið fyrir notendaviðmót á vefnum og heimavangi ' ,
46
46
image = '/images/og-default.png' ,
47
47
router,
48
48
children,
Original file line number Diff line number Diff line change 1
1
---
2
2
id : home
3
- title : React – The library for web and native user interfaces
3
+ title : React – Forritasafnið fyrir notendaviðmót á vefnum og heimavangi
4
4
permalink : index.html
5
5
---
6
6
7
- {/* See HomeContent.js * /}
7
+ {/* See HomeContent.js * /}
You can’t perform that action at this time.
0 commit comments