separated gamedev webring into its own component
This commit is contained in:
35
src/lib/webrings/gamedev.svelte
Normal file
35
src/lib/webrings/gamedev.svelte
Normal file
@@ -0,0 +1,35 @@
|
|||||||
|
<div class="webring-container">
|
||||||
|
<div class="webring-row">
|
||||||
|
<span>〔</span>
|
||||||
|
<a href="https://www.rainbowcemetery.com/devring">GAMEDEV WEBRING</a>
|
||||||
|
<span>〕</span>
|
||||||
|
</div>
|
||||||
|
<div class="webring-row">
|
||||||
|
<span>〔</span>
|
||||||
|
<a href="https://www.rainbowcemetery.com/devring/prev.php?id=0">↫ PREV</a>
|
||||||
|
<a href="https://www.rainbowcemetery.com/devring/rand.php?id=0">RAND</a>
|
||||||
|
<a href="https://www.rainbowcemetery.com/devring/list.php?id=0">LI<i>S</i>T</a>
|
||||||
|
<a href="https://www.rainbowcemetery.com/devring/next.php?id=0">NEXT ↬</a>
|
||||||
|
<span>〕</span>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.webring-container {
|
||||||
|
display: flex;
|
||||||
|
width: fit-content;
|
||||||
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
|
margin: 16px auto;
|
||||||
|
}
|
||||||
|
.webring-row a {
|
||||||
|
margin: 0 4px;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
.webring-row {
|
||||||
|
font-family: 'Space Mono';
|
||||||
|
display: flex;
|
||||||
|
width: 100%;
|
||||||
|
justify-content: space-between;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import Header from "$lib/header.svelte";
|
import Header from "$lib/header.svelte";
|
||||||
|
import GamedevWebring from "$lib/webrings/gamedev.svelte";
|
||||||
|
|
||||||
var lastIndex = -1;
|
var lastIndex = -1;
|
||||||
let meImg: string = "common/me/a.webp";
|
let meImg: string = "common/me/a.webp";
|
||||||
@@ -40,22 +41,7 @@
|
|||||||
|
|
||||||
<p>Feel free to contact me via these means:</p>
|
<p>Feel free to contact me via these means:</p>
|
||||||
|
|
||||||
<!-- gamedev webring -->
|
<GamedevWebring />
|
||||||
<div class="webring-container">
|
|
||||||
<div class="webring-row">
|
|
||||||
<span>〔</span>
|
|
||||||
<a href="https://www.rainbowcemetery.com/devring">GAMEDEV WEBRING</a>
|
|
||||||
<span>〕</span>
|
|
||||||
</div>
|
|
||||||
<div class="webring-row">
|
|
||||||
<span>〔</span>
|
|
||||||
<a href="https://www.rainbowcemetery.com/devring/prev.php?id=0">↫ PREV</a>
|
|
||||||
<a href="https://www.rainbowcemetery.com/devring/rand.php?id=0">RAND</a>
|
|
||||||
<a href="https://www.rainbowcemetery.com/devring/list.php?id=0">LI<i>S</i>T</a>
|
|
||||||
<a href="https://www.rainbowcemetery.com/devring/next.php?id=0">NEXT ↬</a>
|
|
||||||
<span>〕</span>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
@@ -75,22 +61,4 @@
|
|||||||
width: 32px;
|
width: 32px;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.webring-container {
|
|
||||||
display: flex;
|
|
||||||
width: fit-content;
|
|
||||||
flex-direction: column;
|
|
||||||
align-items: center;
|
|
||||||
margin: 16px auto;
|
|
||||||
}
|
|
||||||
.webring-row a {
|
|
||||||
margin: 0 4px;
|
|
||||||
text-decoration: none;
|
|
||||||
}
|
|
||||||
.webring-row {
|
|
||||||
font-family: 'Space Mono';
|
|
||||||
display: flex;
|
|
||||||
width: 100%;
|
|
||||||
justify-content: space-between;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
Reference in New Issue
Block a user