Skip to content

Icons and cleanup - #8

Merged
frontendfixer merged 6 commits into
mainfrom
icons-and-cleanup
Jul 23, 2026
Merged

Icons and cleanup#8
frontendfixer merged 6 commits into
mainfrom
icons-and-cleanup

Conversation

@frontendfixer

Copy link
Copy Markdown
Owner

No description provided.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 76fa728472

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread src/config/site.ts
}

const siteUrl = 'https://frontendfixer.dev';
const siteUrl = import.meta.env.VITE_SITE_URL;

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Keep site URL defined when the env var is absent

In any build that does not define VITE_SITE_URL, siteConfig.url becomes undefined; because <SEO /> renders on every page and resolveUrl() immediately calls siteConfig.url.replace(...), the app throws before the home page can render. The previous hard-coded URL avoided this, so keep a fallback such as https://frontendfixer.dev or validate the env var before using it.

Useful? React with 👍 / 👎.

Comment thread src/components/sections/Contact.tsx Outdated
Comment on lines +61 to +66
if (
!EMAILJS_CREDENTIALS.serviceId ||
!EMAILJS_CREDENTIALS.templateId ||
!EMAILJS_CREDENTIALS.publicKey
) {
return setStatus('rejected');

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Preserve EmailJS defaults when env vars are missing

For deployments or local builds where the new VITE_EMAILJS_* variables are not all configured, this branch returns rejected before calling emailjs.sendForm, so every valid contact submission shows “Failed to send.” Since this patch removes the previously working hard-coded EmailJS service/template/public key, add fallbacks or ensure the deployment path provides these variables before relying on them.

Useful? React with 👍 / 👎.

@frontendfixer
frontendfixer merged commit 3cb6eca into main Jul 23, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant