Skip to content

Commit d798216

Browse files
committed
Fix some ui
1 parent 9966eea commit d798216

5 files changed

Lines changed: 28 additions & 5 deletions

File tree

.dockerignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node_modules

Dockerfile

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Use the official Node.js image as the base image
2+
FROM node:18-alpine
3+
4+
# Set the working directory in the container
5+
WORKDIR /app
6+
7+
# Copy package.json and package-lock.json (or yarn.lock) to install dependencies
8+
COPY package.json package-lock.json ./
9+
10+
# Install the dependencies
11+
RUN npm install --legacy-peer-deps
12+
13+
# Copy the rest of the application code
14+
COPY . .
15+
16+
# Build the Next.js application
17+
RUN npm run build
18+
19+
# Expose the port that the Next.js app will run on
20+
EXPOSE 3000
21+
22+
# Start the Next.js app
23+
CMD ["npm", "start"]

app/dashboard/Passwords.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,6 @@ export default function Passwords(props: { aesString: string; salt: string }) {
424424
type="button"
425425
variant="ghost"
426426
size="icon"
427-
disabled={passwordVisibility ? true : false}
428427
className="absolute right-0 top-0 h-full px-3 py-2"
429428
onClick={() => setShowNewPassword(!showNewPassword)}
430429
>

app/layout.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ export default function RootLayout({
3535
enableSystem
3636
disableTransitionOnChange
3737
>
38-
<PageTransition>{children}</PageTransition>
38+
{children}
3939
</ThemeProvider>
4040
</body>
4141
</html>

app/page.tsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ export default function Home() {
3434
<div className="flex flex-col min-h-screen bg-white dark:bg-black text-gray-900 dark:text-white">
3535
<Navbar />
3636
<main className="flex-1">
37-
<section className="w-full py-12 md:py-24 lg:py-32 xl:py-48">
37+
<section className="w-full py-48 md:py-48 lg:py-48 xl:py-48">
3838
<motion.div
3939
initial="hidden"
4040
animate="visible"
@@ -61,8 +61,8 @@ export default function Home() {
6161
<ChevronRight className="ml-2 h-4 w-4" />
6262
</Button>
6363
</Link>
64-
<p className="text-xs text-gray-500 dark:text-gray-400">
65-
Remember 2 passwords, leave the rest on us.
64+
<p className="text-sm text-gray-500 dark:text-gray-400">
65+
Remember 2 passwords, leave the rest to us.
6666
</p>
6767
</motion.div>
6868
</div>

0 commit comments

Comments
 (0)