Skip to content

Commit

Permalink
fix: idk
Browse files Browse the repository at this point in the history
  • Loading branch information
z7pz committed Jan 14, 2024
1 parent 7945d19 commit 78ec895
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/containers/pages/Invite.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,14 @@ export function Invite() {
{party?.memberCounter} online
</div>
<input
className={styles.ptt}
onChange={(e) => setName(e.currentTarget.value)}
value={name}
placeholder={`What should we call you?`}
type="text"
/>
<button
className={styles.btt}
onClick={async () => {
const api = new ApiClient();
const res = await api.register({
Expand Down
34 changes: 34 additions & 0 deletions src/styles/invite.module.scss
Original file line number Diff line number Diff line change
Expand Up @@ -62,4 +62,38 @@
}
}

.ptt {
margin-top: 10px;
width: calc(100% - 80px);
height: 100%;
color: rgba(255, 255, 255, 0.3);
font-family: Oswald;
font-size: 12px;
font-style: normal;
font-weight: 300;
line-height: normal;
padding: 12px;
border: none;
outline: none;
border-radius: 10px;
border: 1px solid rgba(#fff, 0.1);
background-color: #111;
}
.btt {
cursor: pointer;
margin-top: 10px;
width: calc(100% - 60px);
height: 41px;
border-radius: 10px;
background: #27ae60;
outline: none;
border: none;

color: #fff;

font-family: Oswald;
font-size: 12px;
font-style: normal;
font-weight: 700;
line-height: normal;
}
2 changes: 2 additions & 0 deletions src/styles/invite.module.scss.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,7 @@ declare const classNames: {
readonly title: 'title';
readonly divider: 'divider';
readonly online: 'online';
readonly ptt: 'ptt';
readonly btt: 'btt';
};
export = classNames;

0 comments on commit 78ec895

Please sign in to comment.