Skip to content

Commit

Permalink
Updated twitter icon in sign in and sign up pages
Browse files Browse the repository at this point in the history
  • Loading branch information
tanishirai committed Oct 23, 2024
1 parent 8426ac1 commit 45753bf
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 8 deletions.
2 changes: 0 additions & 2 deletions config/db.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@ const connectDb = async () => {
const uri = process.env.MONGODB_URI;
try {
const connect = await mongoose.connect(uri, {
useNewUrlParser: true,
useUnifiedTopology: true,
});
console.log(`Connected to Db: ${connect.connection.host}`);
} catch (error) {
Expand Down
2 changes: 1 addition & 1 deletion views/login.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
<img src="https://cdn-icons-png.flaticon.com/512/733/733547.png" />
</a>
<a href="#" aria-label="sign in with twitter">
<img src="https://cdn-icons-png.flaticon.com/512/3256/3256013.png" />
<img width="50" height="50" src="https://img.icons8.com/ios/50/FFFFFF/twitterx--v2.png" alt="twitterx--v2"/>
</a>
</div>

Expand Down
9 changes: 4 additions & 5 deletions views/signup.ejs
Original file line number Diff line number Diff line change
Expand Up @@ -157,11 +157,10 @@

<a href="#" aria-label="sign up with twitter">
<!-- Please do the OAuth for twitter here, after completion, delete this comment -->
<svg xmlns="http://www.w3.org/2000/svg" height="2em" viewBox="0 0 512 512" class="twitter-icon">
<path
d="M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z" />
</svg>
</a>
<svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" width="39" height="39" viewBox="0 0 50 50" class="twitter-icon">
<path d="M 11 4 C 7.134 4 4 7.134 4 11 L 4 39 C 4 42.866 7.134 46 11 46 L 39 46 C 42.866 46 46 42.866 46 39 L 46 11 C 46 7.134 42.866 4 39 4 L 11 4 z M 13.085938 13 L 21.023438 13 L 26.660156 21.009766 L 33.5 13 L 36 13 L 27.789062 22.613281 L 37.914062 37 L 29.978516 37 L 23.4375 27.707031 L 15.5 37 L 13 37 L 22.308594 26.103516 L 13.085938 13 z M 16.914062 15 L 31.021484 35 L 34.085938 35 L 19.978516 15 L 16.914062 15 z"></path>
</svg>
</a>
</div>
</div>
<div class="formBtns">
Expand Down

0 comments on commit 45753bf

Please sign in to comment.