chg: dev: removed the obsolete contact form entry - legacy code from Google ReCapthca #14

This commit is contained in:
2026-07-27 14:57:33 +02:00
parent 7a86767db1
commit f3e4ff211d
5 changed files with 0 additions and 45 deletions
-1
View File
@@ -94,7 +94,6 @@ assets/
│ ├── utils/ # Shared utilities │ ├── utils/ # Shared utilities
│ ├── profile.jsx # Profile page entry │ ├── profile.jsx # Profile page entry
│ ├── passkey.jsx # Passkey management entry │ ├── passkey.jsx # Passkey management entry
│ └── contact.jsx # Contact form entry
├── css/ ├── css/
│ └── homepage/ # SCSS partials (imported by style.homepage.scss) │ └── homepage/ # SCSS partials (imported by style.homepage.scss)
└── fonts/ └── fonts/
-12
View File
@@ -1,12 +0,0 @@
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2026 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
const ContactForm = () => null;
export default ContactForm;
-1
View File
@@ -9,7 +9,6 @@
export { AvatarUpload } from './AvatarUpload'; export { AvatarUpload } from './AvatarUpload';
export { BattleDialog } from './BattleDialog'; export { BattleDialog } from './BattleDialog';
export { default as ContactForm } from './ContactForm';
export { default as PasskeyLogin } from './PasskeyLogin'; export { default as PasskeyLogin } from './PasskeyLogin';
export { default as PasskeyManager } from './PasskeyManager'; export { default as PasskeyManager } from './PasskeyManager';
export { default as ProfileCharts } from './ProfileCharts'; export { default as ProfileCharts } from './ProfileCharts';
-30
View File
@@ -1,30 +0,0 @@
/**
* This file is part of the SplendidBear Websites' projects.
*
* Copyright (c) 2026 @ www.splendidbear.org
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
import React from 'react';
import { createRoot } from 'react-dom/client';
import { ContactForm } from '@global-components';
const wrapper = document.getElementById('contact-form-wrapper');
if (wrapper) {
const siteKey = wrapper.dataset.siteKey;
const recaptchaFieldId = wrapper.dataset.recaptchaFieldId;
if (siteKey && recaptchaFieldId) {
createRoot(wrapper).render(
<ContactForm
siteKey={siteKey}
recaptchaFieldId={recaptchaFieldId}
/>
);
} else {
console.error('ContactForm: Missing siteKey or recaptchaFieldId in data attributes');
}
}
-1
View File
@@ -27,7 +27,6 @@ export default defineConfig({
mineseeker: './assets/js/app.jsx', mineseeker: './assets/js/app.jsx',
passkey: './assets/js/passkey.jsx', passkey: './assets/js/passkey.jsx',
profile: './assets/js/profile.jsx', profile: './assets/js/profile.jsx',
contact: './assets/js/contact.jsx',
cap: './assets/js/cap.js', cap: './assets/js/cap.js',
mineseekerStyle: './assets/css/style.mineseeker.scss', mineseekerStyle: './assets/css/style.mineseeker.scss',
homeStyle: './assets/css/style.layout.scss', homeStyle: './assets/css/style.layout.scss',