AstroCol/src/components/ResourceBar.astro

32 lines
715 B
Plaintext

---
import { getHighestWeightedLanguage, getLocales } from '../lib/lang/langDriver';
interface Props {
loggedIn: string;
}
const lang = await getLocales(getHighestWeightedLanguage(Astro.request.headers.get('accept-language')), 'resourcebar');
// const { loggedIn } = Astro.props;
---
<div id="resourcebar">
<div>
<!-- <div style="width: 64px; height: 64px; background-color: red; margin: 10px; border-radius: 10px;"></div> -->
<div>coal</div>
</div>
</div>
<style>
/* #resourcebar {
color: pink;
background-color: blueviolet;
border-radius: 15px;
}
#resourcebar ul {
list-style: none;
display: flex;
flex-direction: row;
padding-left: 15px;
} */
</style>