Skip to content

Commit 84b4462

Browse files
updated layouts, added thumbnails
1 parent 83671a2 commit 84b4462

File tree

10 files changed

+38
-39
lines changed

10 files changed

+38
-39
lines changed
11.9 KB
Loading

public/images/socials.webp

9.23 KB
Loading

src/components/contact/ContactComponent.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
import { Image } from "astro:assets";
3-
import contactPhoto from "@/components/images/contact_photo.webp";
3+
import contactPhoto from "@/components/images/profile/contact_photo.webp";
44
import { AnimatedTooltip } from "@/components/ui/AnimatedToolTip";
55
---
66

src/pages/contact.astro

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,11 @@
11
---
22
import NavBar from "../components/global/NavBar.astro";
3-
import Layout from "../layouts/Layout.astro";
3+
import PageLayout from "@/layouts/PageLayout.astro";
44
import ContactComponent from "../components/contact/ContactComponent.astro";
5-
import Card from "../components/global/Card.astro";
65
import Footer from "../components/global/FooterComponent.astro";
76
---
87

9-
<Layout
10-
title="Contact"
11-
description="Find out how to contact RythonDev, for sponsorship offers or collaboration opportunities!"
12-
>
13-
<NavBar />
8+
<PageLayout title="Contact" description="Have an idea? Contact Ryan here!">
149
<div id="contact-component" class="mt-10 pt-20">
1510
<h1 class="text-center text-5xl">Contact</h1>
1611

@@ -19,4 +14,4 @@ import Footer from "../components/global/FooterComponent.astro";
1914
</div>
2015
</div>
2116
<Footer />
22-
</Layout>
17+
</PageLayout>

src/pages/experience.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
import NavBar from "../components/global/NavBar.astro";
3-
import Layout from "../layouts/Layout.astro";
42
import ExperienceComponent from "../components/experience/ExperienceComponent.astro";
53
import MoreExperience from "../components/experience/MoreExperience.astro";
64
import Footer from "../components/global/FooterComponent.astro";
@@ -10,6 +8,7 @@ import PageLayout from "@/layouts/PageLayout.astro";
108
<PageLayout
119
title="Experience"
1210
description="Find out RythonDev's previous education"
11+
thumbnail="/images/profile/contact_photo.webp"
1312
>
1413
<div id="Experience" class="pt-30">
1514
<ExperienceComponent />

src/pages/faq.astro

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -74,19 +74,20 @@ import Footer from "../components/global/FooterComponent.astro";
7474
</Card>
7575
<Footer />
7676
</div>
77-
<style>
78-
.card-content {
79-
display: flex;
80-
flex-direction: column;
81-
gap: 1rem;
82-
background-image: radial-gradient(
83-
rgba(255, 255, 255, 0.1) 1px,
84-
transparent 1px
85-
);
86-
background-position: 50% 50%;
87-
background-size: 1.1rem 1.1rem;
88-
border-radius: 1.25rem;
89-
overflow: hidden;
90-
}
91-
</style>
9277
</Layout>
78+
79+
<style>
80+
.card-content {
81+
display: flex;
82+
flex-direction: column;
83+
gap: 1rem;
84+
background-image: radial-gradient(
85+
rgba(255, 255, 255, 0.1) 1px,
86+
transparent 1px
87+
);
88+
background-position: 50% 50%;
89+
background-size: 1.1rem 1.1rem;
90+
border-radius: 1.25rem;
91+
overflow: hidden;
92+
}
93+
</style>

src/pages/index.astro

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
---
2-
import NavBar from "../components/global/NavBar.astro";
3-
import Layout from "../layouts/Layout.astro";
42
import NetworkLine from "../components/global/NetworkLine.astro";
53
import Intro from "../components/home/Intro.astro";
64
import Projects from "../components/projects/ProjectsComponent.astro";
@@ -14,6 +12,7 @@ import PageLayout from "@/layouts/PageLayout.astro";
1412
<PageLayout
1513
title="Ryan's Portfolio"
1614
description="Ryan is a software developer, streamer and Computer Science undergraduate. Learn more about him and his skills here!"
15+
thumbnail="/images/profile/contact_photo.webp"
1716
>
1817
<div id="home" class="flex items-center justify-center pt-32">
1918
<Intro />

src/pages/projects.astro

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
---
2-
import NavBar from "../components/global/NavBar.astro";
3-
import Layout from "../layouts/Layout.astro";
2+
import PageLayout from "@/layouts/PageLayout.astro";
43
import ProjectsComponent from "../components/projects/ProjectsComponent.astro";
54
import MoreProjects from "../components/projects/MoreProjects.svelte";
65
import Footer from "../components/global/FooterComponent.astro";
76
---
87

9-
<Layout title="Projects" description="View what projects RythonDev has made">
10-
<NavBar />
8+
<PageLayout
9+
title="Projects"
10+
description="View what projects RythonDev has made"
11+
thumbnail="/images/profile/contact_photo.webp"
12+
>
1113
<div id="projects" class="pt-20">
1214
<h1 class="mt-10 text-center text-5xl">Projects</h1>
1315
<!-- other projects -->
@@ -17,7 +19,7 @@ import Footer from "../components/global/FooterComponent.astro";
1719
<ProjectsComponent />
1820
</div>
1921
<Footer />
20-
</Layout>
22+
</PageLayout>
2123

2224
<style>
2325
.image-container img,

src/pages/skills.astro

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,21 @@
11
---
2-
import NavBar from "../components/global/NavBar.astro";
3-
import Layout from "../layouts/Layout.astro";
42
import SkillsComponent from "../components/skills/SkillsComponent.astro";
53
import MoreSkills from "../components/skills/MoreSkills.astro";
64
import Footer from "../components/global/FooterComponent.astro";
5+
import PageLayout from "@/layouts/PageLayout.astro";
76
---
87

9-
<Layout
8+
<PageLayout
109
title="Skills"
1110
description="Learn what skills RythonDev has honed in the past few years"
11+
thumbnail="/images/profile/contact_photo.webp"
1212
>
13-
<NavBar />
1413
<div id="skills" class="mt-10 pb-20">
1514
<SkillsComponent />
1615
<MoreSkills />
1716
</div>
1817
<Footer />
19-
</Layout>
18+
</PageLayout>
2019

2120
<style>
2221
.card-content {

src/pages/socials.astro

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,11 @@ import DateTimeIcon from "./_images/date-time.svg";
1616
import DiscordIcon from "./_images/discord.svg";
1717
---
1818

19-
<Layout title="Socials" description="Check out Ryan's socials">
19+
<Layout
20+
title="Socials"
21+
description="Check out Ryan's socials"
22+
thumbnail="/images/socials.webp"
23+
>
2024
<div class="flex flex-col items-center justify-center px-0 py-10">
2125
<div class="w-[calc(100%-20px)] max-w-[1024px]">
2226
<div

0 commit comments

Comments
 (0)