fixed links and increased the size
This commit is contained in:
parent
5d45aeea4a
commit
d8f780a7ec
|
@ -8,11 +8,11 @@ const Homebar: QuartzComponent = ({ fileData, cfg, displayClass }: QuartzCompone
|
||||||
const baseDir = pathToRoot(fileData.slug!)
|
const baseDir = pathToRoot(fileData.slug!)
|
||||||
return (
|
return (
|
||||||
<div class="homebar">
|
<div class="homebar">
|
||||||
<a class="hb-button" href="index">Home</a>
|
<a class="hb-button" href="/index">Home</a>
|
||||||
<a class="hb-button" href="Characters">Characters</a>
|
<a class="hb-button" href="/Characters">Characters</a>
|
||||||
<a class="hb-button" href="Links">Where you can find me</a>
|
<a class="hb-button" href="/Links">Where you can find me</a>
|
||||||
<a class="hb-button" href="Projects">Projects</a>
|
<a class="hb-button" href="/Projects">Projects</a>
|
||||||
<a class="hb-button" href="Articles">Articles</a>
|
<a class="hb-button" href="/Articles">Articles</a>
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
@ -24,10 +24,11 @@ Homebar.css = `
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
}
|
}
|
||||||
.hb-button {
|
.hb-button {
|
||||||
|
text-size: 0.9rem;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
border:none;
|
border:none;
|
||||||
background-color: rgba(100,100,100, 0.3);
|
background-color: rgba(100,100,100, 0.3);
|
||||||
padding: 0.2rem 0.4rem;
|
padding: 0.4rem 0.8rem;
|
||||||
margin: 0.2rem 0.4rem;
|
margin: 0.2rem 0.4rem;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
width: fit-content;
|
width: fit-content;
|
||||||
|
|
Loading…
Reference in a new issue