Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Config
config.js
# **/img/*
# Logs
logs
*.log
Expand Down
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const express = require("express");
const multer = require("multer");
const mysql = require("mysql");
const path = require("path");
const PORT = process.env.PORT || 8080;
const PORT = process.env.PORT || 3001;

const app = express();

Expand Down
Binary file added public/asset_img/close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
Binary file added public/img/avatar-1698777118835.jpg
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/img/avatar-1698777255968.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Tinder Clone - CometChat JS SDK</title>
<title>Clone Tinder</title>
<link rel="stylesheet" href="/css/styles.css" />
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/toastr.js/latest/toastr.min.css">
</head>
Expand All @@ -16,7 +16,7 @@
<div class="header__right header__right--hide" id="header__right">
<img
src=""
alt="Tinder Clone with CometChat JS SDK"
alt="Clone Tinder"
id="user__image"
/>
<span id="user__name"></span>
Expand Down Expand Up @@ -124,7 +124,7 @@
<svg id="video-call" xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M15 10l4.553-2.276A1 1 0 0121 8.618v6.764a1 1 0 01-1.447.894L15 14M5 18h8a2 2 0 002-2V8a2 2 0 00-2-2H5a2 2 0 00-2 2v8a2 2 0 002 2z" />
</svg>
<img id="chatbox__close" src="https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/__geKiQnSG-.png" />
<img id="chatbox__close" src="/asset_img/close.png" />
</div>
</div>
<div class="message__container">
Expand Down
8 changes: 4 additions & 4 deletions public/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
<div class="login__container">
<div class="login__welcome">
<div class="login__logo">
<img src="../img/logo.svg" alt="Tinder Clone" />
<img src="../asset_img/logo.svg" alt="Clone Tinder" />
</div>
<p>Tinder Clone with CometChat JS SDK</p>
<p>Clone Tinder</p>
</div>
<div class="login__form-container">
<div class="login__form">
Expand All @@ -46,7 +46,7 @@
<img
id="signup__close-btn"
alt="close"
src="https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/__geKiQnSG-.png"
src="/asset_img/close.png"
/>
</div>
</div>
Expand All @@ -60,7 +60,7 @@
class="hide"
/>
<img
src="https://static.xx.fbcdn.net/rsrc.php/v3/y2/r/__geKiQnSG-.png"
src="/asset_img/close.png"
id="signup__avatar-close"
class="hide"
/>
Expand Down