Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Open sidebar
RoninDojo
Ronin-Website
Commits
4208d15f
Unverified
Commit
4208d15f
authored
Nov 22, 2020
by
Pavel Ševčík
Browse files
Pass href from every Link component
parent
2072cb60
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
src/components/Layout.tsx
src/components/Layout.tsx
+8
-8
No files found.
src/components/Layout.tsx
View file @
4208d15f
...
...
@@ -6,7 +6,7 @@ export const Layout: FC = ({ children }) => {
<
Fragment
>
<
nav
id
=
"home"
className
=
"grey darken-4"
role
=
"navigation"
>
<
div
className
=
"nav-wrapper container"
>
<
Link
href
=
"/"
>
<
Link
href
=
"/"
passHref
>
<
a
>
<
img
id
=
"logo-container"
...
...
@@ -18,12 +18,12 @@ export const Layout: FC = ({ children }) => {
</
Link
>
<
ul
className
=
"right hide-on-med-and-down"
>
<
li
>
<
Link
href
=
"/"
>
<
Link
href
=
"/"
passHref
>
<
a
>
Home
</
a
>
</
Link
>
</
li
>
<
li
>
<
Link
href
=
"/project"
>
<
Link
href
=
"/project"
passHref
>
<
a
>
Project
</
a
>
</
Link
>
</
li
>
...
...
@@ -44,12 +44,12 @@ export const Layout: FC = ({ children }) => {
</
ul
>
<
ul
id
=
"nav-mobile"
className
=
"sidenav grey darken-3"
>
<
li
>
<
Link
href
=
"/"
>
<
Link
href
=
"/"
passHref
>
<
a
className
=
"white-text"
>
Home
</
a
>
</
Link
>
</
li
>
<
li
>
<
Link
href
=
"/project"
>
<
Link
href
=
"/project"
passHref
>
<
a
className
=
"white-text"
>
Project
</
a
>
...
...
@@ -104,12 +104,12 @@ export const Layout: FC = ({ children }) => {
</
a
>
</
li
>
<
li
>
<
Link
href
=
"/pgp"
>
<
Link
href
=
"/pgp"
passHref
>
<
a
className
=
"red-text text-darken-2"
>
PGP Keys
</
a
>
</
Link
>
</
li
>
<
li
>
<
Link
href
=
"/project"
>
<
Link
href
=
"/project"
passHref
>
<
a
className
=
"red-text text-darken-2"
>
Project
</
a
>
...
...
@@ -173,7 +173,7 @@ export const Layout: FC = ({ children }) => {
<
div
className
=
"footer-copyright grey darken-4"
>
<
div
className
=
"container"
>
Founded 2019 @ The Local Talent Bar, America - ©
{
new
Date
().
getFullYear
()
}
Ronin Dev Group -
{
"
"
}
<
Link
href
=
"/canary"
>
<
Link
href
=
"/canary"
passHref
>
<
a
className
=
"red-text text-darken-2"
>
Warrant Canary
</
a
>
</
Link
>
</
div
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment