File tree Expand file tree Collapse file tree 10 files changed +214
-211
lines changed Expand file tree Collapse file tree 10 files changed +214
-211
lines changed Original file line number Diff line number Diff line change @@ -131,24 +131,24 @@ export function HomeContent() {
131131 React
132132 </ h1 >
133133 < 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
135135 </ p >
136136 < div className = "mt-5 self-center flex gap-2 w-full sm:w-auto flex-col sm:flex-row" >
137137 < ButtonLink
138138 href = { '/learn' }
139139 type = "primary"
140140 size = "lg"
141141 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
144144 </ ButtonLink >
145145 < ButtonLink
146146 href = { '/reference/react' }
147147 type = "secondary"
148148 size = "lg"
149149 className = "w-full sm:w-auto justify-center"
150- label = "API Reference " >
151- API Reference
150+ label = "Forritaskil " >
151+ Forritaskil
152152 </ ButtonLink >
153153 </ div >
154154 </ div >
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ export function Toc({headings}: {headings: Toc}) {
1616 < nav role = "navigation" className = "pt-20 sticky top-0 right-0" >
1717 { headings . length > 0 && (
1818 < 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
2020 </ h2 >
2121 ) }
2222 < div
Original file line number Diff line number Diff line change @@ -268,7 +268,7 @@ export default function TopNav({
268268 ) }
269269 onClick = { onOpenSearch } >
270270 < IconSearch className = "mr-3 align-middle text-gray-30 shrink-0 group-betterhover:hover:text-gray-70" />
271- Search
271+ Leit
272272 < span className = "ml-auto hidden sm:flex item-center mr-1" >
273273 < Kbd data-platform = "mac" > ⌘</ Kbd >
274274 < Kbd data-platform = "win" wide >
@@ -281,25 +281,25 @@ export default function TopNav({
281281 < div className = "text-base justify-center items-center gap-1.5 flex 3xl:flex-1 flex-row 3xl:justify-end" >
282282 < div className = "mx-2.5 gap-1.5 hidden lg:flex" >
283283 < NavItem isActive = { section === 'learn' } url = "/learn" >
284- Learn
284+ Lærðu
285285 </ NavItem >
286286 < NavItem
287287 isActive = { section === 'reference' }
288288 url = "/reference/react" >
289- Reference
289+ Uppflettirit
290290 </ NavItem >
291291 < NavItem isActive = { section === 'community' } url = "/community" >
292- Community
292+ Samfélag
293293 </ NavItem >
294294 < NavItem isActive = { section === 'blog' } url = "/blog" >
295- Blog
295+ Blogg
296296 </ NavItem >
297297 </ div >
298298 < div className = "flex w-full md:hidden" > </ div >
299299 < div className = "flex items-center -space-x-2.5 xs:space-x-0 " >
300300 < div className = "flex md:hidden" >
301301 < button
302- aria-label = "Search "
302+ aria-label = "Leit "
303303 type = "button"
304304 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"
305305 onClick = { onOpenSearch } >
Original file line number Diff line number Diff line change @@ -173,7 +173,7 @@ function YouWillLearn({
173173 children : any ;
174174 isChapter ?: boolean ;
175175} ) {
176- let title = isChapter ? 'In this chapter ' : 'You will learn ' ;
176+ let title = isChapter ? 'Í þessum kafla ' : 'Þú munt læra ' ;
177177 return < SimpleCallout title = { title } > { children } </ SimpleCallout > ;
178178}
179179
Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ function getDomain(languageCode: string): string {
4242export const Seo = withRouter (
4343 ( {
4444 title,
45- description = 'The library for web and native user interfaces ' ,
45+ description = 'React – Forritasafnið fyrir notendaviðmót á vefnum og heimavangi ' ,
4646 image = '/images/og-default.png' ,
4747 router,
4848 children,
Original file line number Diff line number Diff line change 11---
22id : home
3- title : React – The library for web and native user interfaces
3+ title : React – Forritasafnið fyrir notendaviðmót á vefnum og heimavangi
44permalink : index.html
55---
66
7- {/* See HomeContent.js * /}
7+ {/* See HomeContent.js * /}
You can’t perform that action at this time.
0 commit comments