diff --git a/src/assets/img/profile/avatar-casual.svg b/src/assets/img/profile/avatar-casual.svg
new file mode 100644
index 0000000..b94ae95
--- /dev/null
+++ b/src/assets/img/profile/avatar-casual.svg
@@ -0,0 +1,102 @@
+
+
\ No newline at end of file
diff --git a/src/assets/img/profile/avatar-casual_old.svg b/src/assets/img/profile/avatar-casual_old.svg
deleted file mode 100644
index 2e3fcb9..0000000
--- a/src/assets/img/profile/avatar-casual_old.svg
+++ /dev/null
@@ -1,116 +0,0 @@
-
-
diff --git a/src/assets/img/profile/avatar-causal.svg b/src/assets/img/profile/avatar-causal.svg
deleted file mode 100644
index 9c718f2..0000000
--- a/src/assets/img/profile/avatar-causal.svg
+++ /dev/null
@@ -1,88 +0,0 @@
-
diff --git a/src/components/astro/blog/RecentPosts.astro b/src/components/astro/blog/RecentPosts.astro
index b4329c2..6524dfd 100644
--- a/src/components/astro/blog/RecentPosts.astro
+++ b/src/components/astro/blog/RecentPosts.astro
@@ -40,8 +40,6 @@ const sectionProps = {
sectionTitle: t("blog.recent_posts_title"),
sectionDescription: t("blog.recent_posts_description"),
};
-
-console.log(filteredPosts?.length);
---
diff --git a/src/components/astro/global/BrowserWarning.astro b/src/components/astro/global/BrowserWarning.astro
index 5f59e9d..499082f 100644
--- a/src/components/astro/global/BrowserWarning.astro
+++ b/src/components/astro/global/BrowserWarning.astro
@@ -75,7 +75,6 @@ await loadNamespaces(locale, ["common"]);
const topPanel = document.querySelector(".top-panel");
const topPanelButton = topPanel?.querySelector("#panelCloseButton");
const warningShown = window.localStorage.getItem("warningShown");
- console.log(topPanel);
if (warningShown === "true") {
return;
diff --git a/src/components/astro/global/Navigation.astro b/src/components/astro/global/Navigation.astro
index ec8eb63..bd50b3d 100644
--- a/src/components/astro/global/Navigation.astro
+++ b/src/components/astro/global/Navigation.astro
@@ -426,7 +426,6 @@ await loadNamespaces(locale, ["common", "blog", "projects"]);
}
function activateFocus(e: TransitionEvent) {
- console.log(e.propertyName);
if (e.propertyName === "transform") {
focusTrap.activate();
}
diff --git a/src/components/astro/home/Intro.astro b/src/components/astro/home/Intro.astro
index 919f12c..1129e53 100644
--- a/src/components/astro/home/Intro.astro
+++ b/src/components/astro/home/Intro.astro
@@ -2,7 +2,8 @@
import { getLocale } from "@i18n/utils";
import { loadNamespaces, t } from "@i18n/i18n";
import { Icon } from "astro-icon/components";
-import avatar from "@assets/img/profile/avatar-casual.svg?raw";
+import avatar from "@assets/img/profile/avatar-casual.svg";
+import { Image } from "astro:assets";
// i18next
const locale = getLocale(Astro.url);
@@ -48,7 +49,7 @@ await loadNamespaces(locale, ["common", "landing"]);
-
+
@@ -57,21 +58,11 @@ await loadNamespaces(locale, ["common", "landing"]);
font-weight: 600;
}
- :global(.profile-avatar-wrapper) {
- display: block;
-
- :global(svg) {
- width: clamp(170px, 60vw, 220px);
- height: auto;
- }
-
- :global(#hoodie-color) {
- display: none;
+ .profile-avatar-wrapper {
+ img {
+ max-height: 240px;
}
- :global(#Hoodie) {
- fill: rgba(var(--accent), 1);
- }
}
.shake {
diff --git a/src/components/react/ContactForm/ContactForm.tsx b/src/components/react/ContactForm/ContactForm.tsx
index 300f1aa..0a0eee1 100644
--- a/src/components/react/ContactForm/ContactForm.tsx
+++ b/src/components/react/ContactForm/ContactForm.tsx
@@ -55,7 +55,6 @@ export default function ContactForm({ resources, commonResources }: ContactFormP
}
const data = { ...formData, "h-captcha-response": token };
- console.log(data);
await fetch(API_URL, {
method: "POST",
diff --git a/src/pages/[...lang]/index.astro b/src/pages/[...lang]/index.astro
index 9a6c250..946f472 100644
--- a/src/pages/[...lang]/index.astro
+++ b/src/pages/[...lang]/index.astro
@@ -80,7 +80,6 @@ const layoutProps = {
const prefetchWithEvent = (url: string) => {
prefetch(url, { with: "fetch" });
document.dispatchEvent(prefetchEvent);
- console.log("dispatched");
};
const getRedirectUrlAndPrefetch = (lang: string) => {
diff --git a/src/styles/global.css b/src/styles/global.css
index f0c4bff..95be7f4 100644
--- a/src/styles/global.css
+++ b/src/styles/global.css
@@ -69,7 +69,8 @@ small {
}
.gradient-text {
- background: var(--accent-gradient) fixed;
+ /* background: var(--accent-gradient) fixed; Broken in firefox */
+ background: var(--accent-gradient);
background-clip: text;
color: transparent;
}