[+] Title

This commit is contained in:
2025-02-14 19:18:28 -05:00
parent fd0a062d7b
commit c91a61fcb5
4 changed files with 57 additions and 0 deletions
BIN
View File
Binary file not shown.
+1
View File
@@ -18,6 +18,7 @@
"vite": "^6.1.0" "vite": "^6.1.0"
}, },
"dependencies": { "dependencies": {
"@iconify/svelte": "^4.2.0",
"sass": "^1.85.0" "sass": "^1.85.0"
} }
} }
+49
View File
@@ -1,6 +1,7 @@
<script lang="ts"> <script lang="ts">
import { onMount } from "svelte"; import { onMount } from "svelte";
import rana from "./rana.png" import rana from "./rana.png"
import Icon from "@iconify/svelte";
const duration = 0.3 const duration = 0.3
@@ -95,6 +96,14 @@
</script> </script>
<main> <main>
<div class="info">
<h1>半熟迷子工作室</h1>
<div>
<span>Maigo Labs</span>
<div class="flex-1"></div>
<a href="https://github.com/MaigoLabs"><Icon icon="fa6-brands:github"/></a>
</div>
</div>
<div class="img" bind:this={divEl}> <div class="img" bind:this={divEl}>
<img bind:this={imgEl} src={rana} alt="rana" on:mouseenter={onHover}/> <img bind:this={imgEl} src={rana} alt="rana" on:mouseenter={onHover}/>
</div> </div>
@@ -109,9 +118,49 @@
max-height: 100% max-height: 100%
overflow: hidden overflow: hidden
background: #f0f0f0
display: flex
justify-content: center
align-items: center
.img .img
position: absolute position: absolute
img img
width: 200px width: 200px
.info
h1
font-size: 3rem
color: transparent
background-color: rgb(136 130 130 / 70%)
-webkit-background-clip: text
background-clip: text
text-shadow: rgba(255, 255, 255, .7) 0 3px 6px
margin-bottom: 0
overflow: hidden
white-space: nowrap
div
display: flex
align-items: center
font-size: 1.5rem
color: rgb(136 130 130 / 70%)
a
display: flex
align-items: center
@media screen and (max-width: 400px)
.info
h1
font-size: 2rem
div
font-size: 1.2rem
.img
img
width: 150px
</style> </style>
+7
View File
@@ -17,5 +17,12 @@ body
width: 100% width: 100%
height: 100% height: 100%
.flex-1
flex: 1
a
color: inherit
text-decoration: none
* *
cursor: url("./matcha_cursor.png") 16 16, auto cursor: url("./matcha_cursor.png") 16 16, auto