-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Mila Vizelka
committed
Oct 2, 2023
1 parent
a37ff92
commit f051040
Showing
14 changed files
with
33 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,4 @@ app.get("/", (req, res) => { | |
|
||
app.listen(process.env.PORT || PORT, () => console.log("success")) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,3 +25,4 @@ window.addEventListener('DOMContentLoaded', () => { | |
} | ||
}) | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,4 +28,4 @@ export const ChatPage = () => { | |
}), | ||
input: Input(chatField), | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,5 +28,4 @@ export const content = ` | |
</div> | ||
</div> | ||
<div> | ||
` | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,4 @@ export const NotFoundPage = () => { | |
content: 'назад к чатам' | ||
}) | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,4 @@ export const content = ` | |
{{{ chatPageLink }}} | ||
</div> | ||
</div> | ||
` | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,4 +13,4 @@ export const ServerErrorPage = () => { | |
content: 'назад к чатам' | ||
}) | ||
}); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,5 +6,4 @@ export const content = ` | |
{{{ chatPageLink }}} | ||
</div> | ||
</div> | ||
` | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,20 @@ | ||
export const settings = ` | ||
<div class="wrapper-settings-page"> | ||
<header class="header"> | ||
{{{ logo }}} | ||
</header> | ||
<div class="wrapper-content"> | ||
<div class="wrapper-avatar"> | ||
<img src='/assets/avatar.svg' alt="avatar"/> | ||
<img src='/assets/empty-avatar.svg' alt="empty-avatar"/> | ||
<span>avatar</span> | ||
</div> | ||
<form class="form"> | ||
{{{ input }}} | ||
<div>{{{ button }}}</div> | ||
</form> | ||
{{{ authPageLink }}} | ||
<div class="wrapper-settings-page"> | ||
<header class="header"> | ||
{{{ logo }}} | ||
</header> | ||
<div class="wrapper-content"> | ||
<div class="wrapper-avatar"> | ||
<img src='/assets/avatar.svg' alt="avatar"/> | ||
<img src='/assets/empty-avatar.svg' alt="empty-avatar"/> | ||
<span>avatar</span> | ||
</div> | ||
<form class="form"> | ||
{{{ input }}} | ||
<div>{{{ button }}}</div> | ||
</form> | ||
{{{ authPageLink }}} | ||
</div> | ||
</div> | ||
</div> | ||
` | ||
` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -28,3 +28,4 @@ export const SignInPage = () => { | |
button: Button({text: 'Enter'}) | ||
}); | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,5 @@ | |
{{{ signUpPageLink }}} | ||
</div> | ||
</div> | ||
` | ||
` | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,4 +14,4 @@ export const content = ` | |
{{{ signUpPageLink }}} | ||
</div> | ||
</div> | ||
` | ||
` |