updated layouts, added thumbnails

This commit is contained in:
liyunze 2025-08-10 14:58:03 +10:00
parent 83671a22b3
commit 84b4462eb4
10 changed files with 38 additions and 39 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 12 KiB

BIN
public/images/socials.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.2 KiB

View file

@ -1,6 +1,6 @@
--- ---
import { Image } from "astro:assets"; import { Image } from "astro:assets";
import contactPhoto from "@/components/images/contact_photo.webp"; import contactPhoto from "@/components/images/profile/contact_photo.webp";
import { AnimatedTooltip } from "@/components/ui/AnimatedToolTip"; import { AnimatedTooltip } from "@/components/ui/AnimatedToolTip";
--- ---

View file

@ -1,16 +1,11 @@
--- ---
import NavBar from "../components/global/NavBar.astro"; import NavBar from "../components/global/NavBar.astro";
import Layout from "../layouts/Layout.astro"; import PageLayout from "@/layouts/PageLayout.astro";
import ContactComponent from "../components/contact/ContactComponent.astro"; import ContactComponent from "../components/contact/ContactComponent.astro";
import Card from "../components/global/Card.astro";
import Footer from "../components/global/FooterComponent.astro"; import Footer from "../components/global/FooterComponent.astro";
--- ---
<Layout <PageLayout title="Contact" description="Have an idea? Contact Ryan here!">
title="Contact"
description="Find out how to contact RythonDev, for sponsorship offers or collaboration opportunities!"
>
<NavBar />
<div id="contact-component" class="mt-10 pt-20"> <div id="contact-component" class="mt-10 pt-20">
<h1 class="text-center text-5xl">Contact</h1> <h1 class="text-center text-5xl">Contact</h1>
@ -19,4 +14,4 @@ import Footer from "../components/global/FooterComponent.astro";
</div> </div>
</div> </div>
<Footer /> <Footer />
</Layout> </PageLayout>

View file

@ -1,6 +1,4 @@
--- ---
import NavBar from "../components/global/NavBar.astro";
import Layout from "../layouts/Layout.astro";
import ExperienceComponent from "../components/experience/ExperienceComponent.astro"; import ExperienceComponent from "../components/experience/ExperienceComponent.astro";
import MoreExperience from "../components/experience/MoreExperience.astro"; import MoreExperience from "../components/experience/MoreExperience.astro";
import Footer from "../components/global/FooterComponent.astro"; import Footer from "../components/global/FooterComponent.astro";
@ -10,6 +8,7 @@ import PageLayout from "@/layouts/PageLayout.astro";
<PageLayout <PageLayout
title="Experience" title="Experience"
description="Find out RythonDev's previous education" description="Find out RythonDev's previous education"
thumbnail="/images/profile/contact_photo.webp"
> >
<div id="Experience" class="pt-30"> <div id="Experience" class="pt-30">
<ExperienceComponent /> <ExperienceComponent />

View file

@ -74,19 +74,20 @@ import Footer from "../components/global/FooterComponent.astro";
</Card> </Card>
<Footer /> <Footer />
</div> </div>
<style>
.card-content {
display: flex;
flex-direction: column;
gap: 1rem;
background-image: radial-gradient(
rgba(255, 255, 255, 0.1) 1px,
transparent 1px
);
background-position: 50% 50%;
background-size: 1.1rem 1.1rem;
border-radius: 1.25rem;
overflow: hidden;
}
</style>
</Layout> </Layout>
<style>
.card-content {
display: flex;
flex-direction: column;
gap: 1rem;
background-image: radial-gradient(
rgba(255, 255, 255, 0.1) 1px,
transparent 1px
);
background-position: 50% 50%;
background-size: 1.1rem 1.1rem;
border-radius: 1.25rem;
overflow: hidden;
}
</style>

View file

@ -1,6 +1,4 @@
--- ---
import NavBar from "../components/global/NavBar.astro";
import Layout from "../layouts/Layout.astro";
import NetworkLine from "../components/global/NetworkLine.astro"; import NetworkLine from "../components/global/NetworkLine.astro";
import Intro from "../components/home/Intro.astro"; import Intro from "../components/home/Intro.astro";
import Projects from "../components/projects/ProjectsComponent.astro"; import Projects from "../components/projects/ProjectsComponent.astro";
@ -14,6 +12,7 @@ import PageLayout from "@/layouts/PageLayout.astro";
<PageLayout <PageLayout
title="Ryan's Portfolio" title="Ryan's Portfolio"
description="Ryan is a software developer, streamer and Computer Science undergraduate. Learn more about him and his skills here!" description="Ryan is a software developer, streamer and Computer Science undergraduate. Learn more about him and his skills here!"
thumbnail="/images/profile/contact_photo.webp"
> >
<div id="home" class="flex items-center justify-center pt-32"> <div id="home" class="flex items-center justify-center pt-32">
<Intro /> <Intro />

View file

@ -1,13 +1,15 @@
--- ---
import NavBar from "../components/global/NavBar.astro"; import PageLayout from "@/layouts/PageLayout.astro";
import Layout from "../layouts/Layout.astro";
import ProjectsComponent from "../components/projects/ProjectsComponent.astro"; import ProjectsComponent from "../components/projects/ProjectsComponent.astro";
import MoreProjects from "../components/projects/MoreProjects.svelte"; import MoreProjects from "../components/projects/MoreProjects.svelte";
import Footer from "../components/global/FooterComponent.astro"; import Footer from "../components/global/FooterComponent.astro";
--- ---
<Layout title="Projects" description="View what projects RythonDev has made"> <PageLayout
<NavBar /> title="Projects"
description="View what projects RythonDev has made"
thumbnail="/images/profile/contact_photo.webp"
>
<div id="projects" class="pt-20"> <div id="projects" class="pt-20">
<h1 class="mt-10 text-center text-5xl">Projects</h1> <h1 class="mt-10 text-center text-5xl">Projects</h1>
<!-- other projects --> <!-- other projects -->
@ -17,7 +19,7 @@ import Footer from "../components/global/FooterComponent.astro";
<ProjectsComponent /> <ProjectsComponent />
</div> </div>
<Footer /> <Footer />
</Layout> </PageLayout>
<style> <style>
.image-container img, .image-container img,

View file

@ -1,22 +1,21 @@
--- ---
import NavBar from "../components/global/NavBar.astro";
import Layout from "../layouts/Layout.astro";
import SkillsComponent from "../components/skills/SkillsComponent.astro"; import SkillsComponent from "../components/skills/SkillsComponent.astro";
import MoreSkills from "../components/skills/MoreSkills.astro"; import MoreSkills from "../components/skills/MoreSkills.astro";
import Footer from "../components/global/FooterComponent.astro"; import Footer from "../components/global/FooterComponent.astro";
import PageLayout from "@/layouts/PageLayout.astro";
--- ---
<Layout <PageLayout
title="Skills" title="Skills"
description="Learn what skills RythonDev has honed in the past few years" description="Learn what skills RythonDev has honed in the past few years"
thumbnail="/images/profile/contact_photo.webp"
> >
<NavBar />
<div id="skills" class="mt-10 pb-20"> <div id="skills" class="mt-10 pb-20">
<SkillsComponent /> <SkillsComponent />
<MoreSkills /> <MoreSkills />
</div> </div>
<Footer /> <Footer />
</Layout> </PageLayout>
<style> <style>
.card-content { .card-content {

View file

@ -16,7 +16,11 @@ import DateTimeIcon from "./_images/date-time.svg";
import DiscordIcon from "./_images/discord.svg"; import DiscordIcon from "./_images/discord.svg";
--- ---
<Layout title="Socials" description="Check out Ryan's socials"> <Layout
title="Socials"
description="Check out Ryan's socials"
thumbnail="/images/socials.webp"
>
<div class="flex flex-col items-center justify-center px-0 py-10"> <div class="flex flex-col items-center justify-center px-0 py-10">
<div class="w-[calc(100%-20px)] max-w-[1024px]"> <div class="w-[calc(100%-20px)] max-w-[1024px]">
<div <div