Skip to content

Commit 7f39703

Browse files
committed
Rename project and add content
1 parent 3f6efd7 commit 7f39703

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<!-- Meta -->
55
<meta charset="UTF-8" />
66
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
7-
<title>Give The Password | Patriarxis</title>
7+
<title>Cipher - Password Generator | Patriarxis</title>
88

99
<!-- Google Fonts -->
1010
<link rel="preconnect" href="https://fonts.googleapis.com" />

src/App.vue

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,11 @@
22
<main class="main">
33
<section class="container">
44
<header class="header">
5-
<h1>Give the password</h1>
6-
<p>Lorem ipsum dolor sit amet.</p>
5+
<h1>Cipher - Password Generator</h1>
6+
<p>
7+
Cipher is a secure, client-side password generator. No data is stored
8+
or sent—everything happens in your browser.
9+
</p>
710
</header>
811

912
<GeneratedPassword
@@ -84,12 +87,10 @@ const generatePassword = () => {
8487
return;
8588
}
8689
87-
// Fill remaining length with random characters
8890
for (let i = newPassword.length; i < length.value; i++) {
8991
newPassword += getRandomChar(charset);
9092
}
9193
92-
// Shuffle the password
9394
password.value = newPassword
9495
.split("")
9596
.sort(() => 0.5 - Math.random())
@@ -124,6 +125,7 @@ const copyToClipboard = () => {
124125
flex-direction: column;
125126
width: 100%;
126127
padding: 2rem;
128+
gap: .5rem;
127129
}
128130
129131
.generated-password-button {

0 commit comments

Comments
 (0)