Skip to content

Commit

Permalink
npm run format
Browse files Browse the repository at this point in the history
Co-Authored-By: ruru <[email protected]>
  • Loading branch information
ruru-m07 and ruru-m07 committed Feb 21, 2024
1 parent 59507d9 commit e02afb7
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 4 additions & 2 deletions app/[username]/[repository]/components/Code.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,10 @@ export function Code({ repodata }: { repodata: Repository }) {
</Button>
<Dialog>
<DialogTrigger asChild>
<Link href={`${repodata.name}/upload/${repodata.DefualtBranch}`}>
<Button variant="outline" className="ml-auto ">
<Link
href={`${repodata.name}/upload/${repodata.DefualtBranch}`}
>
<Button variant="outline" className="ml-auto ">
Add File
</Button>
</Link>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import Upload from "../../components/Upload";

export default function Page() {

return (
<main className="mx-6 my-5 xl:mx-60">
<div>
Expand Down
8 changes: 7 additions & 1 deletion app/[username]/[repository]/upload/components/Upload.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,13 @@ const Upload = () => {
return (
<div>
<div className="my-2 text-xl">
<Link className=" hover:text-blue-700 hover:underline" href={`/${params.username}/${params.repository}`}>{params.repository} {" "}</Link> /
<Link
className=" hover:text-blue-700 hover:underline"
href={`/${params.username}/${params.repository}`}
>
{params.repository}{" "}
</Link>{" "}
/
</div>
<div className="items-center justify-center w-full p-5 border rounded-md">
<Dropzone onDrop={(acceptedFiles) => handlechange(acceptedFiles)}>
Expand Down

0 comments on commit e02afb7

Please sign in to comment.