Skip to content

Commit

Permalink
add customized bg graphics to create page
Browse files Browse the repository at this point in the history
  • Loading branch information
faisalbhuiyan3038 committed Nov 28, 2024
1 parent b379d21 commit fd0457f
Show file tree
Hide file tree
Showing 5 changed files with 24 additions and 0 deletions.
Binary file added public/backgrounds/create-bg-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/backgrounds/create-bg-2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/backgrounds/create-bg-3.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/backgrounds/create-bg-4.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions src/app/(protected)/create/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
'use client'
import React from 'react'
import { useForm } from 'react-hook-form'

type formInput = {
repoUrl: string,
projectName: string,
githubToken?: string
}

export const CreatePage = () => {
const { register, handleSubmit, reset } = useForm<formInput>()
return (
<div className='flex items-center gap-12 h-full justify-center'>
<img
src='/backgrounds/create-bg-4.png'
className='fixed left-1/2 md:left-[55%] top-1/2 -translate-x-1/2 -translate-y-1/2 w-40 h-auto opacity-70'
alt="Background graphic"
/>
</div>
)
}

export default CreatePage

0 comments on commit fd0457f

Please sign in to comment.