Copy updates #38

Merged
nabarun merged 8 commits from zach/copy into main 2024-11-14 09:10:20 +00:00
8 changed files with 32 additions and 24 deletions

View File

@ -47,11 +47,7 @@ export const ChangeStateToProductionDialog = ({
handleCancel={handleCancel} handleCancel={handleCancel}
open={open} open={open}
handleConfirm={handleConfirm} handleConfirm={handleConfirm}
confirmButtonTitle={ confirmButtonTitle={isConfirmButtonLoading ? 'Redeploying' : 'Redeploy'}
isConfirmButtonLoading
? 'Redeploying'
: 'Redeploy'
}
confirmButtonProps={{ confirmButtonProps={{
disabled: isConfirmButtonLoading, disabled: isConfirmButtonLoading,
rightIcon: isConfirmButtonLoading ? ( rightIcon: isConfirmButtonLoading ? (

View File

@ -229,7 +229,11 @@ const Configure = () => {
} }
// Validate transaction hash // Validate transaction hash
const isTxHashValid = await verifyTx(senderAddress, txHash, amountToBePaid); const isTxHashValid = await verifyTx(
senderAddress,
txHash,
amountToBePaid,
);
setIsPaymentLoading(false); setIsPaymentLoading(false);
if (isTxHashValid) { if (isTxHashValid) {

View File

@ -17,6 +17,7 @@ const GitSelectionSection = ({
<div className="grow">Github</div> <div className="grow">Github</div>
<div>{'>'}</div> <div>{'>'}</div>
</div> </div>
{/*
<div <div
className="flex gap-4 border-b-2 border-gray-200 cursor-pointer p-1" className="flex gap-4 border-b-2 border-gray-200 cursor-pointer p-1"
onClick={() => {}} onClick={() => {}}
@ -25,6 +26,7 @@ const GitSelectionSection = ({
<div className="grow">Gitea</div> <div className="grow">Gitea</div>
<div>{'>'}</div> <div>{'>'}</div>
</div> </div>
*/}
</> </>
); );
}; };

View File

@ -92,10 +92,20 @@ export const Sidebar = ({ mobileOpen }: SidebarProps) => {
</a> </a>
</Tabs.Trigger> </Tabs.Trigger>
<Tabs.Trigger icon={<QuestionMarkRoundIcon />} value=""> <Tabs.Trigger icon={<QuestionMarkRoundIcon />} value="">
<a className="cursor-pointer font-mono">DOCUMENTATION</a> <a
className="cursor-pointer font-mono"
href="https://store.laconic.com/pages/instruction-faq"
>
DOCUMENTATION
</a>
</Tabs.Trigger> </Tabs.Trigger>
<Tabs.Trigger icon={<LifeBuoyIcon />} value=""> <Tabs.Trigger icon={<LifeBuoyIcon />} value="">
<a className="cursor-pointer font-mono">SUPPORT</a> <a
className="cursor-pointer font-mono"
href="https://discord.com/invite/ukhbBemyxY"
>
SUPPORT
</a>
</Tabs.Trigger> </Tabs.Trigger>
</Tabs.List> </Tabs.List>
</Tabs> </Tabs>

View File

@ -118,9 +118,11 @@ const Id = () => {
<Tabs.Trigger value="deployments"> <Tabs.Trigger value="deployments">
<Link to="deployments">Deployments</Link> <Link to="deployments">Deployments</Link>
</Tabs.Trigger> </Tabs.Trigger>
{/*
<Tabs.Trigger value="integrations"> <Tabs.Trigger value="integrations">
<Link to="integrations">Integrations</Link> <Link to="integrations">Integrations</Link>
</Tabs.Trigger> </Tabs.Trigger>
*/}
<Tabs.Trigger value="settings"> <Tabs.Trigger value="settings">
<Link to="settings">Settings</Link> <Link to="settings">Settings</Link>
</Tabs.Trigger> </Tabs.Trigger>

View File

@ -10,7 +10,7 @@ import {
} from 'components/shared/Tabs'; } from 'components/shared/Tabs';
import { import {
BranchStrokeIcon, BranchStrokeIcon,
CollaboratorsIcon, //CollaboratorsIcon,
GearIcon, GearIcon,
GlobeIcon, GlobeIcon,
SwitchIcon, SwitchIcon,
@ -37,11 +37,11 @@ const tabsData = [
icon: <SwitchIcon />, icon: <SwitchIcon />,
value: 'environment-variables', value: 'environment-variables',
}, },
{ // {
label: 'Collaborators', // label: 'Collaborators',
icon: <CollaboratorsIcon />, // icon: <CollaboratorsIcon />,
value: 'collaborators', // value: 'collaborators',
}, // },
]; ];
const SettingsTabPanel = () => { const SettingsTabPanel = () => {

View File

@ -63,10 +63,7 @@ const Config = () => {
return ( return (
<ProjectSettingContainer headingText="Setup domain name"> <ProjectSettingContainer headingText="Setup domain name">
<p className="text-blue-gray-500"> <p className="text-blue-gray-500">
Add the following records to your domain.&nbsp; Add the following records to your domain.
<a href="https://www.namecheap.com/" target="_blank" rel="noreferrer">
<span className="underline">Go to NameCheap</span>
</a>
</p> </p>
<Table> <Table>
@ -82,13 +79,13 @@ const Config = () => {
<Table.Row> <Table.Row>
<Table.RowHeaderCell>A</Table.RowHeaderCell> <Table.RowHeaderCell>A</Table.RowHeaderCell>
<Table.Cell>@</Table.Cell> <Table.Cell>@</Table.Cell>
<Table.Cell>56.49.19.21</Table.Cell> <Table.Cell>IP.OF.THE.SP</Table.Cell>
</Table.Row> </Table.Row>
<Table.Row> <Table.Row>
<Table.RowHeaderCell>CNAME</Table.RowHeaderCell> <Table.RowHeaderCell>CNAME</Table.RowHeaderCell>
<Table.Cell>www</Table.Cell> <Table.Cell>subdomain</Table.Cell>
<Table.Cell>cname.snowballtools.xyz</Table.Cell> <Table.Cell>domain.of.the.sp</Table.Cell>
</Table.Row> </Table.Row>
</Table.Body> </Table.Body>
</Table> </Table>

View File

@ -49,9 +49,6 @@ const AddDomain = () => {
<div className=" w-2/3 mx-auto"> <div className=" w-2/3 mx-auto">
<div className="bg-blue-gray-50 dark:bg-overlay rounded-lg mt-6 mb-10"> <div className="bg-blue-gray-50 dark:bg-overlay rounded-lg mt-6 mb-10">
<div className="flex justify-start gap-3 p-5"> <div className="flex justify-start gap-3 p-5">
<i className="bg-gray-100 dark:bg-overlay dark:text-foreground w-12 h-12 rounded-lg">
^
</i>
<Typography <Typography
className="my-auto w-1/3 dark:text-foreground" className="my-auto w-1/3 dark:text-foreground"
variant="h5" variant="h5"