center index page

This commit is contained in:
Suhas 2021-08-03 11:32:12 -05:00
parent 37c14152f6
commit 574eafea97
3 changed files with 3 additions and 5 deletions

View File

@ -14,7 +14,6 @@
property="og:title" property="og:title"
content="Statpixel" content="Statpixel"
/> />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:site" content="@zeromomentum121" /> <meta name="twitter:site" content="@zeromomentum121" />
<meta <meta
name="twitter:title" name="twitter:title"
@ -24,7 +23,6 @@
name="twitter:description" name="twitter:description"
content="A website for hypixel stats" content="A website for hypixel stats"
/> />
<meta name="twitter:image" content="/twitter.png" />
%svelte.head% %svelte.head%
</head> </head>
<body> <body>

View File

@ -7,12 +7,12 @@
} }
</script> </script>
<div class="min-h-screen bg-blue-200 text-center"> <div class="flex flex-col justify-center items-center min-h-screen bg-blue-200">
<h1 class="text-3xl p-5">Statpixel</h1> <h1 class="text-3xl pb-5">Statpixel</h1>
<form on:submit|preventDefault={redir} class="p-3"> <form on:submit|preventDefault={redir} class="p-3">
<input bind:value={ign} placeholder="Enter your IGN"> <input bind:value={ign} placeholder="Enter your IGN" required>
<button type="submit" class="border border-black">Go</button> <button type="submit" class="border border-black">Go</button>
</form> </form>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 190 KiB