Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add task button styling #106

Merged
merged 3 commits into from
Oct 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion blotztask-ui/src/app/task-list/components/add-button.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { Button } from '@/components/ui/button';

export function AddTask() {
return (
<Button className="bg-blue-500 hover:bg-blue-600 text-white font-bold py-2 px-4 rounded">
<Button>
Add Task
</Button>
);
Expand Down
12 changes: 6 additions & 6 deletions blotztask-ui/src/app/task-list/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import { mocktasks } from './mockdata';

const page = () => {
return (
<div>
<div className="flex justify-end items-center mt-10 mr-10">
<AddTask />
</div>
<div className="flex flex-col items-end mt-10 mr-10">
<AddTask />

<TaskTable tasks={mocktasks} />
<div className="mt-10 flex flex-col gap-3 md:flex-row">
<Button asChild className="ml-auto mr-16">

<div className="mt-10">
<Button asChild className="ml-auto">
<Link href="/">Return Home Page</Link>
</Button>
</div>
Expand Down
Loading