dsadsaasddsa

This commit is contained in:
RezHackXYZ 2025-07-09 20:56:35 -07:00
parent e05bf71aa0
commit e2422a0945
No known key found for this signature in database
GPG key ID: C4C90E569C9669E2
2 changed files with 48 additions and 2 deletions

View file

@ -1,2 +1,31 @@
<h1>Welcome to SvelteKit</h1> <script>
<p>Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the documentation</p> import posters from './posters.json';
</script>
<div class="flex h-[80vh] flex-col items-center justify-center gap-5 bg-green-200">
<h1 class="text-3xl sm:text-8xl md:text-9xl lg:text-9xl xl:text-9xl 2xl:text-9xl">Any Posters</h1>
<span class="max-w-[700px] text-center">
A bunch of posters primarily made by
<a class="underline" href="https://rezhack.xyz" target="_blank">@RezHackXYZ</a>
for
<a class="underline" href="https://neighborhood.hackclub.com/" target="_blank">
Hack Club Neighborhood
</a>, but free for anyone to print and use in any hackathon, hotel, etc!
</span>
</div>
<div class="grid grid-cols-1 gap-6 p-6 sm:grid-cols-2 md:grid-cols-3">
{#each posters as poster}
<div class="flex flex-col items-center rounded bg-white p-4 shadow">
<img src={poster.svgURL} alt={poster.name} class="h-auto border-2 rounded max-h-[300px]" />
<h2 class="mt-2 text-xl font-semibold">{poster.name}</h2>
<a
href={poster.pdfURL}
target="_blank"
class="mt-2 rounded bg-blue-500 px-4 py-2 text-white hover:bg-blue-600"
>
Print 🖨️
</a>
</div>
{/each}
</div>

17
src/routes/posters.json Normal file
View file

@ -0,0 +1,17 @@
[
{
"name": "Cans in the trash!",
"pdfURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/a13c8dd4193fe82edffa5ab7512fc6905ca851cf_cans_in_the_trash_.pdf",
"svgURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/0d043d554083169accf18ddccfdb6d34f879b61c_cans_in_the_trash_.svg"
},
{
"name": "Take out the trash.",
"pdfURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/a958760bb7a38ae03436de0f68f3c486f1248685_take_out_the_trash.pdf",
"svgURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/ab765175f191721ed7f7a7a4c43333b0bda17e6a_take_out_the_trash.svg"
},
{
"name": "Lost and found",
"pdfURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/b3ec18ddaa6017be9a9faa5ac8f51e6f8c938379_lost_and_found.pdf",
"svgURL": "https://hc-cdn.hel1.your-objectstorage.com/s/v3/6f4da0e11c17a20ddbce801cb9a12264d3ff2b5a_lost_and_found.svg"
}
]