Skip to content

Commit

Permalink
new images
Browse files Browse the repository at this point in the history
  • Loading branch information
Fyrlex committed Nov 14, 2023
1 parent 04ffc7c commit b263e5d
Show file tree
Hide file tree
Showing 9 changed files with 142 additions and 110 deletions.
143 changes: 71 additions & 72 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"svelte-preprocess": "^5.0.4",
"tailwindcss": "^3.3.3",
"tslib": "^2.4.1",
"typescript": "^5.1.6",
"typescript": "^5.2.2",
"vite": "^4.4.9"
},
"type": "module",
Expand Down
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
<link rel="icon" href="/favicon.png" />
<meta name="viewport" content="width=device-width" />
%sveltekit.head%
</head>
Expand Down
2 changes: 1 addition & 1 deletion src/components/hobbies.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

{#each data as { date, description, src, title }, i}
<div
class="lg:flex lg:w-[50vw] mx-auto bg-stone-800 rounded-md border border-stone-600 shadow-lg scale-[0.8] hover:scale-[1] duration-700"
class="lg:flex lg:w-[50vw] mx-auto bg-stone-800 rounded-md border border-stone-600 shadow-lg scale-[0.9] hover:scale-[1] duration-700"
>
{#if i % 2 === 0}
<img
Expand Down
Binary file added src/lib/assets/ASTRO_PINWHEEL.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/lib/assets/ASTRO_TRIANGULUM.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/routes/+layout.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
const pages: { name: string; url: string }[] = [
{ name: "home", url: "" },
{ name: "hobbies", url: "hobbies" },
{ name: "astronomy", url: "astronomy" },
{ name: "music", url: "music" },
{ name: "programming", url: "programming" },
];
Expand Down
62 changes: 62 additions & 0 deletions src/routes/astronomy/+page.svelte
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
<script lang="ts">
import Meta from "../../components/meta.svelte";
import ASTRO_MOON from "$lib/assets/ASTRO_MOON.jpg";
import ASTRO_TRIFFID from "$lib/assets/ASTRO_TRIFFID.jpg";
import ASTRO_TRIANGULUM from "$lib/assets/ASTRO_TRIANGULUM.jpg";
import ASTRO_PINWHEEL from "$lib/assets/ASTRO_PINWHEEL.jpg";
import Hobbies from "../../components/hobbies.svelte";
const astroImages: {
src: string;
title: string;
description: string;
date: string;
}[] = [
{
title: "Triangulum Galaxy",
description:
"Second to closest galaxy to the Milky Way, 2.8 million light years away.",
src: ASTRO_TRIANGULUM,
date: "Blacksburg, VA - November 12, 2023",
},
{
title: "Triffid Nebula",
description:
"Celestron Omni 150 XLT, ZWO ASI 183MC, ~1.5 hours @ 30s sub-exposure.",
src: ASTRO_TRIFFID,
date: "Sky Meadows State Park - July 10, 2023",
},
{
title: "Waxing Gibbous",
description: "Earth's moon in a waxing gibbous phase.",
src: ASTRO_MOON,
date: "Rockville, MD - May 30, 2023",
},
{
title: "Pinwheel Galaxy",
description: "A spiral galaxy with a recent supernova SN 2023ixf.",
src: ASTRO_PINWHEEL,
date: "Fairfax, VA - May 25, 2023",
},
];
</script>

<svelte:head>
<Meta data={{ title: "Astronomy", url: "astronomy" }} />
</svelte:head>

<div class="h-screen bg-stone-900 text-center text-gray-300 font-extralight">
<h1 class="text-6xl lg:text-8xl text-center p-8">astronomy experience</h1>
<div class="m-5">
<h2 class="text-4xl lg:text-6xl text-cyan-500 m-4">Astrophotography</h2>
<p class="text-2xl w-1/2 my-5 max-w-fit mx-auto">
Member of the Northern Virginia Astronomy Club and Astronomy Club of
Virginia Tech.
</p>
<p class="text-cyan-500 text-2xl">Personal Equipment</p>
<p class="text-xl">Celestron Omni XLT 150</p>
<p class="text-xl">ZWO ASI 183MC</p>
<Hobbies data={astroImages} />
</div>
</div>
Loading

0 comments on commit b263e5d

Please sign in to comment.