Fix about section

main
trivernis 5 months ago
parent bf5b1d0b74
commit 1b8d53df86
Signed by: Trivernis
GPG Key ID: 7E6D18B61C8D2F4B

@ -31,6 +31,8 @@
</div> </div>
<style lang="scss"> <style lang="scss">
@import "$lib/styles/mixins.scss";
@layer component { @layer component {
.page-title { .page-title {
display: flex; display: flex;
@ -49,6 +51,10 @@
text-shadow: 0px 0px 0.5em var(--color-primary); text-shadow: 0px 0px 0.5em var(--color-primary);
user-select: none; user-select: none;
@include portrait {
font-size: 1.8em;
}
h1, h1,
h6 { h6 {
width: 100%; width: 100%;

@ -1,15 +1,12 @@
<script> <script>
import Box from "../atoms/Box.svelte"; import Box from "../atoms/Box.svelte";
import ContainerDualColumn from "../atoms/ContainerDualColumn.svelte";
import Paragraph from "../atoms/Paragraph.svelte";
import Thumbnail from "../molecules/Thumbnail.svelte"; import Thumbnail from "../molecules/Thumbnail.svelte";
</script> </script>
<Box title="About"> <Box title="About">
<ContainerDualColumn leftRatio="1" rightRatio="2"> <div class="about-content">
<div class="about-image">
<Thumbnail <Thumbnail
slot="left"
imageData={{ imageData={{
altText: altText:
"A picture of Ferris, the Rust mascot. An orange crab plushie.", "A picture of Ferris, the Rust mascot. An orange crab plushie.",
@ -22,12 +19,44 @@
], ],
}} }}
/> />
<Paragraph slot="right"> </div>
<p>
Heyyy. I'm a software developer and tinkerer from Germany. I do a lot of Heyyy. I'm a software developer and tinkerer from Germany. I do a lot of
stuff so this website is an attempt in providing an overview. stuff so this website is an attempt in providing an overview.
<br /><br /> <br /><br />
Right now it's very much a work in progress as I'm figuring out how to properly Right now it's very much a work in progress as I'm figuring out how to properly
design a website (lol). But there's already some content to explore. design a website (lol). But there's already some content to explore.
</Paragraph> </p>
</ContainerDualColumn> </div>
</Box> </Box>
<style lang="scss">
@import "$lib/styles/mixins.scss";
@layer component {
.about-content {
display: block;
@include portrait {
display: flex;
flex-direction: column;
}
.about-image {
margin-right: 1em;
float: left;
width: 30%;
@include portrait {
width: 100%;
margin-right: 0;
margin-bottom: 1em;
}
}
p {
margin: 0;
}
}
}
</style>

Loading…
Cancel
Save