Skip to content

Commit

Permalink
finish testing and remove unnecessary code
Browse files Browse the repository at this point in the history
  • Loading branch information
sophiabeluli committed Aug 20, 2024
1 parent 9b82190 commit 6507f8b
Showing 1 changed file with 4 additions and 76 deletions.
80 changes: 4 additions & 76 deletions src/app/src/workspace/Column/index.tsx
Original file line number Diff line number Diff line change
@@ -1,89 +1,17 @@
// import { Widget } from "../../components/Widget";
// import { Location } from "../../features/Location";

import { Button } from "../../components/shadcn/Button"
import {
Card,
CardContent,
CardDescription,
CardFooter,
CardHeader,
CardTitle,
} from "../../components/shadcn/Card"
import { Input } from "../../components/shadcn/Input"
import { Label } from "../../components/shadcn/Label"
import {
Tabs,
TabsContent,
TabsList,
TabsTrigger,
} from "../../components/shadcn/Tabs"
import { Widget } from "../../components/Widget";
import { Location } from "../../features/Location";

export const Column = () => {
return (
<div className="p-1 flex-1 box-border">
{/* <Widget>
<Widget>
<Widget.Content
className=""
style={{ width: '100%' }}
>
<Location />
</Widget.Content>
</Widget> */}


<Tabs defaultValue="account" className="w-[400px]">
<TabsList className="grid w-full grid-cols-2">
<TabsTrigger value="account">Account</TabsTrigger>
<TabsTrigger value="password">Password</TabsTrigger>
</TabsList>
<TabsContent value="account">
<Card>
<CardHeader>
<CardTitle>Account</CardTitle>
<CardDescription>
Make changes to your account here. Click save when you're done.
</CardDescription>
</CardHeader>
<CardContent className="space-y-2">
<div className="space-y-1">
<Label htmlFor="name">Name</Label>
<Input id="name" defaultValue="Pedro Duarte" />
</div>
<div className="space-y-1">
<Label htmlFor="username">Username</Label>
<Input id="username" defaultValue="@peduarte" />
</div>
</CardContent>
<CardFooter>
<Button>Save changes</Button>
</CardFooter>
</Card>
</TabsContent>
<TabsContent value="password">
<Card>
<CardHeader>
<CardTitle>Password</CardTitle>
<CardDescription>
Change your password here. After saving, you'll be logged out.
</CardDescription>
</CardHeader>
<CardContent className="space-y-2">
<div className="space-y-1">
<Label htmlFor="current">Current password</Label>
<Input id="current" type="password" />
</div>
<div className="space-y-1">
<Label htmlFor="new">New password</Label>
<Input id="new" type="password" />
</div>
</CardContent>
<CardFooter>
<Button>Save password</Button>
</CardFooter>
</Card>
</TabsContent>
</Tabs>
</Widget>
</div>
);
};

0 comments on commit 6507f8b

Please sign in to comment.