diff --git a/src/components/DomainSetupForm-old.jsx b/src/components/DomainSetupForm.jsx similarity index 100% rename from src/components/DomainSetupForm-old.jsx rename to src/components/DomainSetupForm.jsx diff --git a/src/components/DomainSetupForm/DeploymentOptions/AppDeployment.jsx b/src/components/DomainSetupForm/DeploymentOptions/AppDeployment.jsx deleted file mode 100644 index c6fd7ae..0000000 --- a/src/components/DomainSetupForm/DeploymentOptions/AppDeployment.jsx +++ /dev/null @@ -1,30 +0,0 @@ -import React from 'react'; - -/** - * Component for app deployment options - * @param {Object} props - Component props - * @param {string} props.appType - Selected app type - * @param {Function} props.onAppTypeChange - Handler for app type change - * @returns {JSX.Element} - Rendered component - */ -const AppDeployment = ({ appType, onAppTypeChange }) => { - return ( -
- - -
- ); -}; - -export default AppDeployment; \ No newline at end of file diff --git a/src/components/DomainSetupForm/DeploymentOptions/SourceDeployment.jsx b/src/components/DomainSetupForm/DeploymentOptions/SourceDeployment.jsx deleted file mode 100644 index bc2fbc0..0000000 --- a/src/components/DomainSetupForm/DeploymentOptions/SourceDeployment.jsx +++ /dev/null @@ -1,79 +0,0 @@ -import React from 'react'; - -/** - * Component for source code deployment options - * @param {Object} props - Component props - * @param {string} props.sourceType - Source type (public/private) - * @param {string} props.repoUrl - Repository URL - * @param {string} props.deploymentKey - Deployment key for private repos - * @param {Function} props.onSourceTypeChange - Handler for source type change - * @param {Function} props.onRepoUrlChange - Handler for repo URL change - * @param {Function} props.onDeploymentKeyChange - Handler for deployment key change - * @param {Function} props.showToast - Function to show toast notifications - * @returns {JSX.Element} - Rendered component - */ -const SourceDeployment = ({ - sourceType, - repoUrl, - deploymentKey, - onSourceTypeChange, - onRepoUrlChange, - onDeploymentKeyChange, - showToast - }) => { - return ( -
-
- - -
- -
- - -
- - {sourceType === 'private' && ( -
-
- - -
-