diff --git a/src/app.css b/src/app.css index a81581d..3c4fe15 100644 --- a/src/app.css +++ b/src/app.css @@ -29,6 +29,15 @@ body { display: none; } +.line-clamp { + overflow: hidden; + text-overflow: ellipsis; + display: -webkit-box; + -webkit-line-clamp: 1; + line-clamp: 1; + -webkit-box-orient: vertical; +} + @keyframes scrollbg { 0% { background-position: 0 0; diff --git a/src/hooks.server.js b/src/hooks.server.js index 998b639..e25a47b 100644 --- a/src/hooks.server.js +++ b/src/hooks.server.js @@ -23,7 +23,7 @@ export async function handle({ event, resolve }) { username: user.username, currency: user.currency, thumbnails: { - headshot: "https://cdn.discordapp.com/attachments/1025862249962819684/1028788210303766558/2022.10-887.png", + headshot: "/img/headshot.png", bodyshot: "https://media.tenor.com/Lo0GvkoTFR4AAAAd/xbox-xbox-avatar.gif" } }; diff --git a/src/lib/components/GameListed.svelte b/src/lib/components/GameListed.svelte index ec2e982..057feff 100644 --- a/src/lib/components/GameListed.svelte +++ b/src/lib/components/GameListed.svelte @@ -1,7 +1,13 @@
- -

Killing row simulator

+ +

Killing row simulatorKilling row simulatorKilling row simulatorKilling row simulatorKilling row simulator

0 Players Online

+
+

Offline

+

Online

+

2015

+

2013

+
diff --git a/src/lib/components/UserListed.svelte b/src/lib/components/UserListed.svelte index c91b66d..8294479 100644 --- a/src/lib/components/UserListed.svelte +++ b/src/lib/components/UserListed.svelte @@ -1,6 +1,6 @@
- - -

bucks

+
+ +

Only16Characters

diff --git a/src/lib/constants.js b/src/lib/constants.js index 866b84c..7396859 100644 --- a/src/lib/constants.js +++ b/src/lib/constants.js @@ -6,3 +6,11 @@ export const MIN_PASSWORD_LENGTH = 3; export const INVITE_KEY_PREFIX = "rowblox-"; export const SESSION_EXPIRE = 604800000; export const HCAPTCHA_SITEKEY = "be5c40c1-13db-423c-878e-f3428e9fc841"; +export const RANKS = { + 0: "Banned", + 1: "Member", + 2: "Booster", + 3: "Administrator", + 4: "Developer", + 5: "NO_ACCESS_MAX_PERMISSIONS" +}; diff --git a/src/routes/(app)/+layout.svelte b/src/routes/(app)/+layout.svelte index 6423665..e240eda 100644 --- a/src/routes/(app)/+layout.svelte +++ b/src/routes/(app)/+layout.svelte @@ -34,7 +34,7 @@ -
-

Offline

-

Online

-

2015

-

2013

+
+

Offline

+

Online

+

2015

+

2013

diff --git a/src/routes/(app)/users/[id]/+page.svelte b/src/routes/(app)/users/[id]/+page.svelte deleted file mode 100644 index 6831742..0000000 --- a/src/routes/(app)/users/[id]/+page.svelte +++ /dev/null @@ -1,16 +0,0 @@ -
- -
-

Only16Characters

-
-

0 Friends

-

0 Followers

-

0 Following

-
-
- -
- Message - -
-
diff --git a/src/routes/(app)/users/[id]/friends/+page.svelte b/src/routes/(app)/users/[id]/friends/+page.svelte new file mode 100644 index 0000000..e69de29 diff --git a/src/routes/(app)/users/[id]/profile/+page.svelte b/src/routes/(app)/users/[id]/profile/+page.svelte new file mode 100644 index 0000000..84448ff --- /dev/null +++ b/src/routes/(app)/users/[id]/profile/+page.svelte @@ -0,0 +1,45 @@ +
+ +
+

Only16Characters

+
+

0 Friends

+

0 Followers

+

0 Following

+
+
+ +
+ Message + +
+
+ +
+
+

About

+
+ +

bio

+
+
+

Join Date

+

a

+
+
+

Last Online

+

b

+
+
+
+
+ +
+
+

Games

+
+
+

Friends

+
+
+
diff --git a/static/img/bodyshot.png b/static/img/bodyshot.png new file mode 100644 index 0000000..f8eacc4 Binary files /dev/null and b/static/img/bodyshot.png differ diff --git a/static/img/headshot.png b/static/img/headshot.png new file mode 100644 index 0000000..3fe1bd4 Binary files /dev/null and b/static/img/headshot.png differ