Skip to content
This repository has been archived by the owner on Mar 23, 2024. It is now read-only.

Commit

Permalink
Merge pull request #48 from exortme1ster/hotfix/refactoring
Browse files Browse the repository at this point in the history
Hotfix/refactoring
  • Loading branch information
nmashchenko committed Jul 5, 2023
2 parents b8b1111 + 87350ef commit 757c7aa
Show file tree
Hide file tree
Showing 34 changed files with 1,347 additions and 638 deletions.
12 changes: 12 additions & 0 deletions client/src/assets/LanguageLogo/CSS.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function CSS() {
return (
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M3.68823 4.875L5.20117 21.8424L11.9898 23.7268L18.7974 21.84L20.312 4.875H3.68823ZM16.6651 14.3415L16.2245 18.4462L16.2262 18.7978L12.0001 19.9781L11.9967 19.9811L7.73692 18.8139L7.44873 15.5625H9.53767L9.6858 17.2061L12.0009 17.8239L12.0001 17.8267V17.8207L14.324 17.1654L14.5692 14.4375H9.71167L9.67005 13.9959L9.57517 12.9371L9.52548 12.375H14.7541L14.9442 10.3125H6.98054L6.93873 9.82706L6.84386 8.69644L6.79417 8.0625H17.2186L17.1685 8.68762L16.6651 14.3415ZM16.6876 2.69512L15.3472 1.125H16.6876V0.1875H13.6876V1.00556L15.2607 2.4375H13.6876V3.375H16.6876V2.69512ZM13.1251 2.69512L11.8488 1.125H13.1251V0.1875H10.3126V1.00556L11.7625 2.4375H10.3126V3.375H13.1251V2.69512ZM9.75011 2.4375H8.25011V1.125H9.75011V0.1875H7.12511V3.375H9.75011V2.4375Z"
fill="white"
/>
</svg>
)
}

export default CSS
12 changes: 12 additions & 0 deletions client/src/assets/LanguageLogo/Kotlin.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
function Kotlin() {
return (
<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M0 0H9.59375L0 9.4375V0ZM0 20L20 0H10.0937L0 9.95313V20ZM20 20L10.0937 10.4062L0.515625 20H20Z"
fill="white"
/>
</svg>
)
}

export default Kotlin
20 changes: 20 additions & 0 deletions client/src/assets/LanguageLogo/Lua.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions client/src/assets/LanguageLogo/R.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
function R() {
return (
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M12 2.74653C5.37262 2.74653 0 6.34465 0 10.7833C0 14.6766 4.13363 17.923 9.62175 18.6619V16.2561C6.70613 15.3392 4.71562 13.5012 4.71562 11.3828C4.71562 8.34846 8.79919 5.88846 13.8368 5.88846C18.8741 5.88846 22.5917 7.57128 22.5917 11.3828C22.5917 13.3489 21.603 14.7484 19.9543 15.6428C20.1801 15.813 20.3706 16.0313 20.4988 16.2838L20.5716 16.4066C22.6922 14.9573 24 12.973 24 10.7831C24 6.34465 18.6274 2.74634 12 2.74634V2.74653ZM15.7687 16.7865C15.279 16.8347 14.7709 16.8634 14.2474 16.8731L14.2477 18.6788C15.0376 18.5794 15.8192 18.4233 16.5866 18.2115L16.4927 18.0351C16.3652 17.7973 16.2401 17.5583 16.1115 17.3213C16.0047 17.1384 15.8903 16.9601 15.7687 16.7867V16.7865Z"
fill="white"
/>
<path
fillRule="evenodd"
clipRule="evenodd"
d="M18.2754 15.1943C18.2754 15.1943 19.0018 15.4134 19.4236 15.6268C19.5699 15.7011 19.8234 15.8488 20.006 16.0431C20.1133 16.1566 20.203 16.2856 20.2723 16.4256L23.1346 21.2518L18.5083 21.2537L16.3451 17.1913C16.3451 17.1913 15.902 16.4301 15.6294 16.2094C15.4019 16.0253 15.305 15.9598 15.0802 15.9598H13.9811L13.9818 21.2509L9.88794 21.2526V7.73682H18.1089C18.1089 7.73682 21.8533 7.80432 21.8533 11.3666C21.8533 14.9289 18.2756 15.1941 18.2756 15.1941L18.2754 15.1943ZM16.4947 10.6686L14.0163 10.6669L14.0152 12.9651L16.4947 12.9643C16.4947 12.9643 17.6429 12.9608 17.6429 11.7953C17.6429 10.6065 16.4947 10.6684 16.4947 10.6684V10.6686Z"
fill="white"
/>
</svg>
)
}

export default R
14 changes: 14 additions & 0 deletions client/src/assets/LanguageLogo/Rust.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 16 additions & 0 deletions client/src/assets/LanguageLogo/TS.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
function TS() {
return (
<svg width="26" height="16" viewBox="0 0 26 16" fill="none" xmlns="http://www.w3.org/2000/svg">
<path
d="M23.3598 1.38181C22.7756 0.760395 22.0206 0.325883 21.1898 0.133088V0.138638C20.3206 -0.0176322 19.4328 -0.0419557 18.5563 0.0664892C16.6638 0.424457 15.3679 1.63156 14.9988 3.36035C14.8999 4.09882 14.9205 4.8484 15.0599 5.58031C15.2468 6.22095 15.5717 6.81291 16.0117 7.31465C16.7165 8.07499 17.488 8.55228 19.2778 9.32371C20.829 10.0008 21.384 10.3255 21.6615 10.7112C21.8593 11.0031 21.9485 11.3551 21.9135 11.706C21.8785 12.0569 21.7216 12.3844 21.47 12.6315C20.7208 13.3058 19.2057 13.3862 18.0957 12.8035C17.5786 12.4742 17.1316 12.0461 16.7804 11.5437L16.5722 11.2357L15.576 11.8128L14.2912 12.5232C14.1801 12.5829 14.0734 12.6506 13.9721 12.7258C13.9333 12.7924 14.5549 13.7109 14.874 14.0633C15.8243 15.0372 17.0611 15.6818 18.4037 15.9031C19.2797 16.0221 20.1672 16.0315 21.0455 15.9309C22.9685 15.6062 24.3282 14.6266 24.8832 13.1837C25.3827 11.8572 25.219 10.0646 24.4809 8.95465C23.8204 7.95289 22.7576 7.24805 20.274 6.1797C18.9254 5.59696 18.4953 5.31114 18.265 4.83107C18.1581 4.63181 18.1064 4.40766 18.1151 4.18174C18.1096 3.27433 18.7867 2.72211 19.8384 2.79426C20.1705 2.80665 20.4941 2.90299 20.779 3.07428C21.0638 3.24558 21.3006 3.48624 21.4673 3.77382C21.6143 3.99304 21.7475 4.13734 21.7808 4.11514C22.6938 3.54905 24.1923 2.53619 24.1923 2.49179C23.9609 2.08934 23.6814 1.7166 23.3598 1.38181Z"
fill="white"
/>
<path
d="M13.0481 3.00793V1.58716L13.0314 0.158063H6.97368C3.64374 0.158063 0.890981 0.158063 0.868782 0.183038C0.832534 0.660339 0.821419 1.13922 0.835482 1.61769V3.00516H5.35033V15.8365H8.5443V3.00793H13.0481Z"
fill="white"
/>
</svg>
)
}

export default TS
2 changes: 0 additions & 2 deletions client/src/components/NavBar/Profile/Profile.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@ let defaultData = {
}

const changeData = (data) => {
console.log(data)

return {
userRealName: data.fullName,
userUsername: data.username,
Expand Down
Loading

0 comments on commit 757c7aa

Please sign in to comment.