move components/client to rt (runtime) directory
This commit is contained in:
@ -1,25 +0,0 @@
|
||||
---
|
||||
interface Props {
|
||||
href: string,
|
||||
display: string,
|
||||
color?: string
|
||||
}
|
||||
const {href, display, color = "transparent"} = Astro.props
|
||||
---
|
||||
|
||||
<button style={`background-color: ${color}`}>
|
||||
<a href={href}>{display}</a>
|
||||
</button>
|
||||
|
||||
<style lang="scss">
|
||||
button {
|
||||
height: 100%;
|
||||
padding: 0 20px 0 20px;
|
||||
|
||||
&:hover {
|
||||
background-color: var(--hf-button-hover-color) !important;
|
||||
|
||||
& > a { color: black }
|
||||
}
|
||||
}
|
||||
</style>
|
@ -1,46 +0,0 @@
|
||||
---
|
||||
---
|
||||
|
||||
<footer>
|
||||
<p class="raw-text" id="time">00:00:00</p>
|
||||
<section>
|
||||
<p class="raw-text" id="column-line">0, 0</p>
|
||||
<button id="toggle-monospace">Monospace</button>
|
||||
<button id="toggle-term-mode">UNIX</button>
|
||||
</section>
|
||||
<noscript>
|
||||
<style>
|
||||
#toggle-monospace, .raw-text { display: none }
|
||||
</style>
|
||||
</noscript>
|
||||
</footer>
|
||||
|
||||
<style lang="scss">
|
||||
@use "../scss/variables";
|
||||
|
||||
footer {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
width: 100vw;
|
||||
height: variables.$footer-Y;
|
||||
background-color: var(--body-background-color)
|
||||
}
|
||||
p {
|
||||
padding: 0 20px 0 20px;
|
||||
}
|
||||
section {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
|
||||
button {
|
||||
height: 100%;
|
||||
padding: 0 20px 0 20px;
|
||||
|
||||
&:hover { background-color: var(--hf-button-hover-color) }
|
||||
}
|
||||
}
|
||||
#toggle-term-mode { background-color: rgb(0,50,90) }
|
||||
</style>
|
@ -1,28 +0,0 @@
|
||||
---
|
||||
import Button from './button.astro'
|
||||
import { Links } from '../ts/links';
|
||||
---
|
||||
|
||||
<header>
|
||||
<Button href={Links.Self} display="[rhpidfyre.io]" color="black"/>
|
||||
<section>
|
||||
<Button href={Links.Git} display="GIT"/>
|
||||
<Button href={Links.Cloud} display="CLOUD"/>
|
||||
<Button href={Links.Gsm} display="GSM"/>
|
||||
</section>
|
||||
</header>
|
||||
|
||||
<style lang="scss">
|
||||
@use "../scss/variables";
|
||||
|
||||
header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
width: 100vw;
|
||||
height: variables.$header-Y;
|
||||
background-color: rgb(10,10,10);
|
||||
|
||||
p { margin-left: 10px; }
|
||||
}
|
||||
section { height: 100%; }
|
||||
</style>
|
@ -1,3 +0,0 @@
|
||||
<meta charset="UTF-8"/>
|
||||
<meta name="viewport" content="width=device-width"/>
|
||||
<meta name="generator" content={Astro.generator}/>
|
@ -1,21 +0,0 @@
|
||||
---
|
||||
import { Links } from "../../ts/links"
|
||||
---
|
||||
|
||||
<p>Welcome to rhpidfyre.io!</p>
|
||||
<div class="return"></div>
|
||||
<p>This is a personal website by rhpidfyre / Brandon.</p>
|
||||
<p>You can find my services here or learn about me.</p>
|
||||
<div class="return"></div>
|
||||
<p>You can also contribute or view the source code of my website via the links:</p>
|
||||
<p>{"<"}<a href={Links.RepoGitea} target="_blank">{Links.RepoGitea}</a>{">."}</p>
|
||||
<p>{"<"}<a href={Links.RepoGithub} target="_blank">{Links.RepoGithub}</a>{">."}</p>
|
||||
<div class="return"></div>
|
||||
<p>You can get started with the command: <span class="bold">help</span></p>
|
||||
<div class="return"></div>
|
||||
<noscript>
|
||||
<p><span class="red">=================================================</span></p>
|
||||
<p><span class="red">JavaScript is disabled, functionality will be limited. :(</span></p>
|
||||
<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>
|
@ -8,7 +8,7 @@
|
||||
<style lang="scss">
|
||||
@forward "../scss/global";
|
||||
</style>
|
||||
<script src="../components/client/terminal.ts"></script>
|
||||
<script src="../rt/terminal.ts"></script>
|
||||
</head>
|
||||
<body>
|
||||
<header>
|
||||
|
Reference in New Issue
Block a user