✨ add advertisement (bun.lockb, package.json, src/pages/index.astro)
This commit is contained in:
parent
7e3384b85f
commit
b85808b7c5
3 changed files with 16 additions and 16 deletions
BIN
bun.lockb
BIN
bun.lockb
Binary file not shown.
|
@ -16,6 +16,9 @@
|
||||||
"prettier-plugin-astro": "^0.14.1"
|
"prettier-plugin-astro": "^0.14.1"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
|
"@iconify-json/ant-design": "^1.2.5",
|
||||||
|
"@iconify-json/devicon": "^1.2.12",
|
||||||
|
"@iconify-json/devicon-plain": "^1.2.11",
|
||||||
"@iconify-json/game-icons": "^1.2.1",
|
"@iconify-json/game-icons": "^1.2.1",
|
||||||
"@iconify-json/pixelarticons": "^1.2.2",
|
"@iconify-json/pixelarticons": "^1.2.2",
|
||||||
"@iconify-json/tabler": "^1.2.15",
|
"@iconify-json/tabler": "^1.2.15",
|
||||||
|
|
|
@ -10,6 +10,9 @@ import {
|
||||||
NEXT_INSTANCE_URL,
|
NEXT_INSTANCE_URL,
|
||||||
} from "../consts";
|
} from "../consts";
|
||||||
|
|
||||||
|
const click =
|
||||||
|
"text-center group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30";
|
||||||
|
|
||||||
const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
||||||
i < MAIN_MESSAGE_LINE.length - 1 ? `${m}<br />` : m,
|
i < MAIN_MESSAGE_LINE.length - 1 ? `${m}<br />` : m,
|
||||||
).join("");
|
).join("");
|
||||||
|
@ -22,13 +25,7 @@ const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
||||||
<body>
|
<body>
|
||||||
<header class="w-full h-12 backdrop-blur-lg bg-black!">
|
<header class="w-full h-12 backdrop-blur-lg bg-black!">
|
||||||
<div class="flex justify-center items-center">
|
<div class="flex justify-center items-center">
|
||||||
<Image
|
<Icon name="ant-design:aliwangwang-outlined" height={50} width={50} class="block mx-auto" />
|
||||||
src="/hidemaru-2023.png"
|
|
||||||
height="50"
|
|
||||||
width="50"
|
|
||||||
alt="Logo"
|
|
||||||
class="block mx-auto"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</header>
|
</header>
|
||||||
<main
|
<main
|
||||||
|
@ -39,14 +36,6 @@ const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
||||||
>
|
>
|
||||||
<nav set:html={mainMessage} />
|
<nav set:html={mainMessage} />
|
||||||
<Icon name="game-icons:hasty-grave" class="w-48 sm:w-96" width={300} height={300} />
|
<Icon name="game-icons:hasty-grave" class="w-48 sm:w-96" width={300} height={300} />
|
||||||
<!-- <Image -->
|
|
||||||
<!-- class="w-48 sm:w-96" -->
|
|
||||||
<!-- src="/grave.png" -->
|
|
||||||
<!-- height={400} -->
|
|
||||||
<!-- width={400} -->
|
|
||||||
<!-- loading="lazy" -->
|
|
||||||
<!-- alt="grave" -->
|
|
||||||
<!-- /> -->
|
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div
|
<div
|
||||||
|
@ -54,7 +43,7 @@ const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
||||||
>
|
>
|
||||||
<a
|
<a
|
||||||
href={NEXT_INSTANCE_URL}
|
href={NEXT_INSTANCE_URL}
|
||||||
class="text-center group rounded-lg border border-transparent px-5 py-4 transition-colors hover:border-gray-300 hover:bg-gray-100 hover:dark:border-neutral-700 hover:dark:bg-neutral-800/30"
|
class={click}
|
||||||
target="_blank"
|
target="_blank"
|
||||||
rel="noopener noreferrer"
|
rel="noopener noreferrer"
|
||||||
>
|
>
|
||||||
|
@ -69,7 +58,15 @@ const mainMessage: string = MAIN_MESSAGE_LINE.map((m, i) =>
|
||||||
</p>
|
</p>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
<a href="https://git.v-sli.me/HidemaruOwO/FediGONE" class={"inline-flex items-center text-gray-500 rounded-lg" + click}>
|
||||||
|
<Icon name="devicon:forgejo" class="w-5 h-5 me-3" />
|
||||||
|
<span class="w-full">Powered by FediGONE</span>
|
||||||
|
<svg class="w-4 h-4 ms-2 rtl:rotate-180" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 14 10">
|
||||||
|
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M1 5h12m0 0L9 1m4 4L9 9"/>
|
||||||
|
</svg>
|
||||||
|
</a>
|
||||||
</main>
|
</main>
|
||||||
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
Loading…
Add table
Reference in a new issue