astro setup for react is ready

This commit is contained in:
2025-02-02 03:04:26 -05:00
parent f5f335ff33
commit f0a9566c24
3 changed files with 22 additions and 6 deletions

View File

@ -6,7 +6,7 @@ import { Links } from '../ts/links';
<header>
<Button href={Links.Self} display="[rhpidfyre.io]" color="black"/>
<section>
<Button href={Links.Git} display="REPOS"/>
<Button href={Links.Git} display="GIT"/>
<Button href={Links.Cloud} display="CLOUD"/>
<Button href={Links.Gsm} display="GSM"/>
</section>

View File

@ -32,6 +32,7 @@ const {title} = Astro.props
font-size: 15px;
letter-spacing: 2px;
cursor: text;
text-wrap: nowrap;
}
:root {
color-scheme: dark;

View File

@ -1,6 +1,7 @@
---
import Webpage from '../layouts/Webpage.astro';
import { Links } from '../ts/links';
import Shell from '../components/react/shell';
---
<Webpage title="Home">
@ -22,19 +23,23 @@ import { Links } from '../ts/links';
<p><span class="red">But, you will not be limited at exploring my services which you can find by navigating towards the top-right.</span></p>
<p><span class="red">=================================================</span></p>
</noscript>
<Shell client:only/>
</main>
</Webpage>
<style lang="scss">
<style lang="scss" is:global>
@use "../scss/variables";
@mixin text-styles {
.red { color: rgb(200,0,0); }
.green { color: rgb(0,200,0); }
.blue { color: rgb(0,0,200); }
.red { color: rgb(200, 0, 0); }
.green { color: rgb(0, 200, 0); }
.blue { color: rgb(0, 0, 200); }
.cyan { color: rgb(18,167,148); }
}
:global(main) {
.shell-prompt { display: flex; }
main {
width: 100vw;
height: calc(99.3vh - variables.$header-Y - variables.$footer-Y);
padding: 5px;
@ -49,9 +54,19 @@ import { Links } from '../ts/links';
font-size: inherit;
&:hover { text-decoration: underline; }
}
span { font-size: inherit }
}
.return {
margin-top: 25px;
}
}
input {
font-size: 1.2rem;
background-color: transparent;
border: 0;
outline: 0;
width: 90%;
/* Pester me when this gets undrafted */
caret-shape: block;
}
</style>