diff --git a/astro.config.mjs b/astro.config.mjs index dd70b50..cf185ed 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -12,13 +12,13 @@ import svelte from "@astrojs/svelte"; // https://astro.build/config export default defineConfig({ - site: "https://gianmarco.xyz/", + site: "https://toastiet0ast.com/", integrations: [ sitemap(), robotsTxt({ sitemap: [ - "https://gianmarco.xyz/sitemap-index.xml", - "https://gianmarco.xyz/sitemap-0.xml", + "https://toastiet0ast.com/sitemap-index.xml", + "https://toastiet0ast.com/sitemap-0.xml", ], }), solidJs(), @@ -31,7 +31,4 @@ export default defineConfig({ }, output: "server", adapter: netlify({ edgeMiddleware: true }), - vite: { - assetsInclude: "**/*.riv", - }, }); diff --git a/public/favicon.ico b/public/favicon.ico index 9de9d3e..fdefe8d 100644 Binary files a/public/favicon.ico and b/public/favicon.ico differ diff --git a/public/globe_preview.png b/public/globe_preview.png deleted file mode 100644 index 5dbe048..0000000 Binary files a/public/globe_preview.png and /dev/null differ diff --git a/public/me.webp b/public/me.webp deleted file mode 100644 index 383e451..0000000 Binary files a/public/me.webp and /dev/null differ diff --git a/public/og-image.png b/public/og-image.png deleted file mode 100644 index 5c2829b..0000000 Binary files a/public/og-image.png and /dev/null differ diff --git a/public/preview.png b/public/preview.png deleted file mode 100644 index 6e505f7..0000000 Binary files a/public/preview.png and /dev/null differ diff --git a/src/components/AboutMe.astro b/src/components/AboutMe.astro index ca4918e..8c616c1 100644 --- a/src/components/AboutMe.astro +++ b/src/components/AboutMe.astro @@ -6,28 +6,8 @@ import Card from "./Card/index.astro";

- Hi, I'm Gianmarco, a front-end software developer from Italy. -
- My primary tools of choice includes: + Hi, I'm Toastie_t0ast, a software dev & systems administrator from New Zealand.

-
-

- Beyond coding, I'm passionate about design, illustration, animation and 3D modelling and traveling. - An unusual hobby of mine is collecting vintage passports, they're - interesting pieces of history to me. -

-

- While I have some preferred tools, I always choose the best one for the - job, even if it's not on my usual list. My goal is to find the right - solution for each project. -

diff --git a/src/components/ContactsCard.astro b/src/components/ContactsCard.astro index 55ccd87..33542e9 100644 --- a/src/components/ContactsCard.astro +++ b/src/components/ContactsCard.astro @@ -12,20 +12,13 @@ import { LINKS } from "../lib/constants";

Contact Details

-

cavallogianmarco@gmail.com

-

Italy

+

hello@toastiet0ast.com

Socials

- memoji of gianmarco diff --git a/src/components/MyStack.astro b/src/components/MyStack.astro deleted file mode 100644 index 8029e98..0000000 --- a/src/components/MyStack.astro +++ /dev/null @@ -1,15 +0,0 @@ ---- -import Card from "./Card/index.astro"; ---- - - -

- Here's a snapshot of the primary tools and technologies I work with: -

- -
diff --git a/src/components/Now.astro b/src/components/Now.astro index 3f7b523..7e58807 100644 --- a/src/components/Now.astro +++ b/src/components/Now.astro @@ -13,5 +13,5 @@ import Pulse from "./Pulse.astro"; -

Currently working as freelancer

+

Currently studying

diff --git a/src/components/playground/rifle-1.tsx b/src/components/playground/rifle-1.tsx deleted file mode 100644 index 96db4d0..0000000 --- a/src/components/playground/rifle-1.tsx +++ /dev/null @@ -1,114 +0,0 @@ -import * as rive from "@rive-app/canvas"; -import rifleAnimation from "../../riveAnimations/rifle.riv"; -import { createSignal, onCleanup, onMount } from "solid-js"; - -const Illustrations = () => { - let canvas: HTMLCanvasElement | undefined; - const [riveRef, setRiveRef] = createSignal(); - const [keepShootingInput, setKeepShootingInput] = createSignal< - rive.StateMachineInput | undefined - >(); - // Signals for canvas dimensions - const [canvasWidth, setCanvasWidth] = createSignal(950); - const [canvasHeight, setCanvasHeight] = createSignal(540); - - const updateCanvasSize = () => { - const screenWidth = window.innerWidth; - // Assuming you want the canvas to take up most of the screen width but maintain its aspect ratio - const newCanvasWidth = Math.min(screenWidth * 0.9, 950); // Cap at original width or 90% of screen width - console.log("TEST", screenWidth, newCanvasWidth); - const aspectRatio = 950 / 540; - const newCanvasHeight = newCanvasWidth / aspectRatio; - setCanvasWidth(newCanvasWidth); - setCanvasHeight(newCanvasHeight); - }; - - onMount(() => { - updateCanvasSize(); // Initial size update - window.addEventListener("resize", updateCanvasSize); // Update on resize - - const keepShootingCheckbox = document.getElementById( - "keep-shooting" - ) as HTMLInputElement; - - const handleOnChange = () => { - const input = keepShootingInput(); - if (input) { - input.value = keepShootingCheckbox.checked; - } - }; - - if (canvas && rifleAnimation) { - const r = new rive.Rive({ - src: rifleAnimation, - autoplay: true, - canvas: canvas, - stateMachines: ["rifle"], - onLoad: () => { - r.resizeDrawingSurfaceToCanvas(); - setRiveRef(r); - const inputs = r.stateMachineInputs("rifle"); - const keep_shooting = inputs?.find((i) => i.name === "keep_shooting"); - if (keep_shooting) { - setKeepShootingInput(keep_shooting); - } - - if (keepShootingCheckbox) { - keepShootingCheckbox.addEventListener("change", handleOnChange); - } - }, - }); - } - - onCleanup(() => { - window.removeEventListener("resize", updateCanvasSize); - if (riveRef()) { - riveRef()?.stopRendering(); - riveRef()?.cleanup(); - } - if (keepShootingCheckbox) { - keepShootingCheckbox.removeEventListener("change", handleOnChange); - } - }); - }); - - return ( -
-

Rifle animation

-

- Interactive animation made in rive.app using an - illustration made by me -

-

- click on the rifle or on the S and on the{" "} - R to reload -

- -
-
- - -
-
- { - canvas = el; - }} - width={canvasWidth()} - height={canvasHeight()} - style={{ - width: `${canvasWidth()}px`, - height: `${canvasHeight()}px`, - }} - /> -
-
-
- ); -}; - -export default Illustrations; diff --git a/src/components/playground/scroll-1/scroll-1.svelte b/src/components/playground/scroll-1/scroll-1.svelte deleted file mode 100644 index 69a4985..0000000 --- a/src/components/playground/scroll-1/scroll-1.svelte +++ /dev/null @@ -1,107 +0,0 @@ - - - - Home - - - -
- - - -
- - -
-
- - - -
-
- - - -
-
- - - -
-
- - diff --git a/src/components/playground/scroll-1/svg-shapes/Shape1.svelte b/src/components/playground/scroll-1/svg-shapes/Shape1.svelte deleted file mode 100644 index 137d531..0000000 --- a/src/components/playground/scroll-1/svg-shapes/Shape1.svelte +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - diff --git a/src/components/playground/scroll-1/svg-shapes/Shape2.svelte b/src/components/playground/scroll-1/svg-shapes/Shape2.svelte deleted file mode 100644 index 6e1c302..0000000 --- a/src/components/playground/scroll-1/svg-shapes/Shape2.svelte +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - diff --git a/src/components/playground/scroll-1/svg-shapes/Shape3.svelte b/src/components/playground/scroll-1/svg-shapes/Shape3.svelte deleted file mode 100644 index 3adc249..0000000 --- a/src/components/playground/scroll-1/svg-shapes/Shape3.svelte +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - diff --git a/src/components/playground/scroll-1/svg-shapes/Shape4.svelte b/src/components/playground/scroll-1/svg-shapes/Shape4.svelte deleted file mode 100644 index 290ad84..0000000 --- a/src/components/playground/scroll-1/svg-shapes/Shape4.svelte +++ /dev/null @@ -1,20 +0,0 @@ - - - - - diff --git a/src/content/blog/new-projects.md b/src/content/blog/new-projects.md new file mode 100644 index 0000000..2dd9f5f --- /dev/null +++ b/src/content/blog/new-projects.md @@ -0,0 +1,39 @@ +--- +layout: ../../layouts/LayoutBlogPost.astro +title: "New projects" +description: "The projects I have started." +pubDate: 2023-12-09 +category: "updates" +--- + +Hi there, it has been a while. + +I am back to let you all know how life has been treating me so far as well as share the projects I have been working on. + +### First up is Valkyriecoms, + +Valkyriecoms is a social site I have been working on since December last year and just got things fully up, below is a screenshot of the site. + +![](https://cdn.discordapp.com/attachments/1138770664342441984/1182117160609386650/image.png) + +### Next up is Dragon's child hosting + +Dragon's child hosting is a small server hosting service I started under the Dragon's child studios name right now we are just starting out on our journey. + +Below is a screenshot of our panel (there is a new one which will replace this in the works) + +![](https://cdn.discordapp.com/attachments/881396607218753607/1182651077384994816/dashboard.png) + +### Last up is Toastielab + +Toastielab is a small git platform that I operate wit the help of Dragon's child studios which is where I host all my projects (even the one which this site is located at) + +I am going to include a screenshot of Toastielab below (our icons a little bit bugged right now so it is currently showing the default Forgejo icons) + +![](https://cdn.discordapp.com/attachments/881396607218753607/1182653249480835163/image.png) + +### Here is a list of links for the projects listed above + +- https://valkyriecoms.com +- https://dragonschildhosting.net +- https://toastielab.dev \ No newline at end of file diff --git a/src/content/blog/post1.md b/src/content/blog/post1.md deleted file mode 100644 index b7799cc..0000000 --- a/src/content/blog/post1.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: ../../layouts/LayoutBlogPost.astro -title: "Hello, World" -description: "this is a post example" -pubDate: 2023-01-21 -category: "intro" ---- - -# Hi there! - -This Markdown file creates a page at `your-domain.com/post1/` - -It probably isn't styled much, but Markdown does support: - -- **bold** and _italics._ -- lists -- [links](https://astro.build) -- and more! diff --git a/src/content/blog/post2.md b/src/content/blog/post2.md deleted file mode 100644 index b7799cc..0000000 --- a/src/content/blog/post2.md +++ /dev/null @@ -1,18 +0,0 @@ ---- -layout: ../../layouts/LayoutBlogPost.astro -title: "Hello, World" -description: "this is a post example" -pubDate: 2023-01-21 -category: "intro" ---- - -# Hi there! - -This Markdown file creates a page at `your-domain.com/post1/` - -It probably isn't styled much, but Markdown does support: - -- **bold** and _italics._ -- lists -- [links](https://astro.build) -- and more! diff --git a/src/content/blog/update-on-things.md b/src/content/blog/update-on-things.md new file mode 100644 index 0000000..8e241ac --- /dev/null +++ b/src/content/blog/update-on-things.md @@ -0,0 +1,15 @@ +--- +layout: ../../layouts/LayoutBlogPost.astro +title: "Update on things" +description: "Where I have been among other things." +pubDate: 2023-06-21 +category: "updates" +--- + +Hey guys it has been a while and I have not streamed in a little while and I want to update you on why this has happened, First of all I have been having somputer issues as well as some IRL stuff taking over a lot, Secondly I have started some major projects, one with a friend and another to support me first project. These projects are as follows [Valkyriecoms](https://valkyriecoms.com), [Toastielab](https://toastielab.dev) and last but not least a small group stared by me and a good friend who you may know by Elearu called [Dragon's Child Studios](https://dragonschildstudios.com). + +As you can see I have been quite busy but I hope I will be able to return to streaming once everything starts to quiet down a little. + +Thanks for taking the time to read this, + +Toastie_t0ast \ No newline at end of file diff --git a/src/layouts/BasicLayout.astro b/src/layouts/BasicLayout.astro index 25ca856..d0ef550 100644 --- a/src/layouts/BasicLayout.astro +++ b/src/layouts/BasicLayout.astro @@ -2,7 +2,7 @@ interface Props { title: string; description: string; - page?: "travel" | "blog"; + page?: "blog"; slug?: string | undefined; frontmatter?: { file: string; @@ -16,36 +16,30 @@ interface Props { } const { title, description, page, slug, frontmatter } = Astro.props; -const image = - page === "travel" - ? `${Astro.url.origin}/globe_preview.webp"` - : `${Astro.url.origin}/og-image.png`; const schema = page !== "blog" ? { "@context": "http://schema.org", "@type": "Person", - name: "Gianmarco", - url: "https://gianmarco.xyz", + name: "Toastiet0ast", + url: "https://toastiet0ast.com", sameAs: [ - "https://www.linkedin.com/in/gianmarco-cavallo", - "https://github.com/Ladvace", + "https://toastielab.dev/toastie_t0ast", ], - image: "https://gianmarco.xyz/og-image.png", - jobTitle: "Freelance Frontend Developer", + jobTitle: "Freelance Systems Administrator", worksFor: { "@type": "Organization", name: "Self-Employed", address: { "@type": "PostalAddress", - addressLocality: "Italy", - addressCountry: "IT", + addressLocality: "New Zealand", + addressCountry: "NZ", }, }, nationality: { "@type": "Country", - name: "Italy", + name: "New Zealand", }, } : { @@ -53,27 +47,21 @@ const schema = "@type": "BlogPosting", mainEntityOfPage: { "@type": "WebPage", - "@id": `https://gianmarco.xyz/blog/${slug}`, + "@id": `https://toastiet0ast.com/blog/${slug}`, }, headline: frontmatter?.title || title, description: frontmatter?.description || title, - image: "https://gianmarco.xyz/og-image.png", //TODO: dynamic author: { "@type": "Person", - name: "Gianmarco", - url: "https://gianmarco.xyz", + name: "Toastie_t0ast", + url: "https://toastiet0ast.com", sameAs: [ - "https://www.linkedin.com/in/gianmarco-cavallo", - "https://github.com/Ladvace", + "https://toastielab.dev/toastie_t0ast", ], }, publisher: { "@type": "Organization", - name: "Gianmarco", - logo: { - "@type": "ImageObject", - url: "https://gianmarco.xyz/og-image.png", - }, + name: "toastiet0ast", }, datePublished: frontmatter?.pubDate || new Date().toISOString(), dateModified: frontmatter?.pubDate || new Date().toISOString(), @@ -95,18 +83,10 @@ const schema = - -
@@ -32,8 +31,8 @@ import Globe from "../components/Globe";
- -
- -
-
Astro by Gianmarco. + > by Toastie_t0ast.

diff --git a/src/pages/rss.xml.js b/src/pages/rss.xml.js index 22effc3..a2142d2 100644 --- a/src/pages/rss.xml.js +++ b/src/pages/rss.xml.js @@ -7,7 +7,7 @@ const parser = new MarkdownIt(); export async function GET(context) { const blog = await getCollection("blog"); return rss({ - title: "Gianmarco Cavallo’s Blog", + title: "Toastie_t0ast’s Blog", description: "my blog", site: context.site, items: blog.map((post) => ({ diff --git a/src/pages/travel.astro b/src/pages/travel.astro deleted file mode 100644 index fd4091b..0000000 --- a/src/pages/travel.astro +++ /dev/null @@ -1,33 +0,0 @@ ---- -import Globe from "../components/Globe"; -import BasicLayout from "../layouts/BasicLayout.astro"; ---- - - - - - Back - - - diff --git a/src/riveAnimations/rifle.riv b/src/riveAnimations/rifle.riv deleted file mode 100644 index 9ba2077..0000000 Binary files a/src/riveAnimations/rifle.riv and /dev/null differ