Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor item component and enhance responsiveness features #62

Merged
merged 78 commits into from
Dec 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
78 commits
Select commit Hold shift + click to select a range
f9a2450
feat(Item): refactor item component to improve structure and add draw…
DarthGigi Dec 25, 2024
c8ba425
feat(hooks): add IsHover and IsMobile classes for responsive state ma…
DarthGigi Dec 25, 2024
db67491
feat(Main): update layout to ensure minimum height for better respons…
DarthGigi Dec 25, 2024
b0c6b55
feat(layout): integrate IsHover and IsMobile hooks for responsive con…
DarthGigi Dec 25, 2024
f53efed
feat(dependencies): add vaul-svelte package and update pnpm-lock.yaml
DarthGigi Dec 25, 2024
5b3be1b
feat(Item): adjust Drawer.Content max height calculation for improved…
DarthGigi Dec 25, 2024
d708c5e
Update stats urls automatically
ptlthg Dec 25, 2024
04b6a20
Change `let` to `const`
ptlthg Dec 25, 2024
6533e2f
Merge pull request #54 from ptlthg/feat/updating-stats-urls
DarthGigi Dec 25, 2024
3be88bf
feat: add autofocus to username input field
DarthGigi Dec 25, 2024
946fea6
chore: update mime-db to version 1.53.0 in pnpm-lock.yaml
DarthGigi Dec 25, 2024
cf7379f
fix(dragons/misc): deats -> deaths
Zickles Dec 25, 2024
b549d8f
fix(navbar): root margin and center
Zickles Dec 26, 2024
5672923
fix(navbar): remove testing code
Zickles Dec 26, 2024
a138ea8
refactor(skin3d): disable zoom
Zickles Dec 26, 2024
60f477c
revert(skin3d): unneeded dupe file
Zickles Dec 26, 2024
604ab57
Basic readme
ptlthg Dec 26, 2024
1c698f1
refactor(date-formatting): FormatDistanceStrict -> FormatDistanceToNo…
Zickles Dec 26, 2024
09f4a18
Merge pull request #56 from ptlthg/feat/basic-readme
DarthGigi Dec 26, 2024
ab6cb52
Merge branch 'main' of https://github.com/SkyCryptWebsite/SkyCryptv2 …
DuckySoLucky Dec 26, 2024
c87c3d0
.
DuckySoLucky Dec 26, 2024
16d4d1b
fix(slayer): > used instead of >=
DuckySoLucky Dec 26, 2024
7247e68
fix(trophyFishing): trophy fishing rank
DuckySoLucky Dec 26, 2024
0f74598
fix(master_catacombs): master mode completions and front end sizing
DuckySoLucky Dec 26, 2024
e4428bc
fix(kills & deaths): sorting
DuckySoLucky Dec 26, 2024
6702ec1
feat(stats): add members & profile switching
DuckySoLucky Dec 26, 2024
1c99a65
fix(decoding, pets, acessories): undefined, checking, etc
DuckySoLucky Dec 26, 2024
b192742
fix(wardrobe): highest item
DuckySoLucky Dec 26, 2024
db2955a
fix(skyblock_level): max level
DuckySoLucky Dec 26, 2024
6b7cd11
fix(fishing): erroring sometimes
DuckySoLucky Dec 26, 2024
2d1408a
feat(collections): add boss collections
DuckySoLucky Dec 26, 2024
363e5b4
fix(collections): skeleton skull texture
DuckySoLucky Dec 26, 2024
4af0307
fix(misc): total value, auctions rarity, spacing
DuckySoLucky Dec 26, 2024
275378d
fix: lint
Zickles Dec 26, 2024
6db34d4
fix(rank): plus oclor
DuckySoLucky Dec 26, 2024
64ac3ca
fix(stats): spacing after username
DuckySoLucky Dec 26, 2024
b0ad6e1
fix(pets): tier boosted pets missing description
DuckySoLucky Dec 26, 2024
1b07bd3
fix(stats): missing enrichments shown even if 0
DuckySoLucky Dec 26, 2024
ee67b92
fix(pets): golden dragon leveling
DuckySoLucky Dec 26, 2024
1ee2d2a
feat(pets): add pet score
DuckySoLucky Dec 26, 2024
aefb906
fix(renderLore): old legacy code
DuckySoLucky Dec 26, 2024
3b97ec9
fix(hotm): rarities
DuckySoLucky Dec 26, 2024
e0c84ff
feat(accessories): add enrichments
Zickles Dec 26, 2024
e9f941d
Merge branch 'dev' of https://github.com/SkyCryptWebsite/SkyCryptv2 i…
Zickles Dec 26, 2024
28b2d35
style: clean code
DuckySoLucky Dec 26, 2024
6cf7bf2
fix(forge): times
DuckySoLucky Dec 26, 2024
f9ca189
style(enrichments): spacing
Zickles Dec 26, 2024
50dcfcc
fix(members): kicked memebrs
DuckySoLucky Dec 26, 2024
6b41bcf
fix(pets): update styling
Zickles Dec 26, 2024
f6118e7
fix(textures): add invalid texture support
DuckySoLucky Dec 26, 2024
8a7ca4c
feat: add packs
DarthGigi Dec 26, 2024
e409158
refactor(wardobe): display all in scroll area for moblie
Zickles Dec 26, 2024
08b5a7b
feat: themes (kinda)
DarthGigi Dec 27, 2024
d536dbb
style(themes): convert hex to hsl
Zickles Dec 27, 2024
114983a
fix(items): add back color codes
Zickles Dec 27, 2024
b0b5ad8
style(items): render color codes
Zickles Dec 27, 2024
770b8d4
fix(items): highest priority weapon
DuckySoLucky Dec 27, 2024
8c5527d
fix(style): prettier
DuckySoLucky Dec 27, 2024
9a0c314
Programmer Art Fix (#58)
ic22487 Dec 27, 2024
6680311
fix(style): eslint
DuckySoLucky Dec 27, 2024
420a76c
feat(packs): add packs support
DuckySoLucky Dec 27, 2024
d92c622
refactor(header): get rid of themes button
DuckySoLucky Dec 27, 2024
c54889a
feat(mining/hotm): better texture handling
DuckySoLucky Dec 27, 2024
a77c1e4
update(pets): active pet name
Zickles Dec 27, 2024
9d6dbfa
Merge branch 'dev' of https://github.com/SkyCryptWebsite/SkyCryptv2 i…
Zickles Dec 27, 2024
935f3a5
fix(theme/nightblue): update bg path
Zickles Dec 27, 2024
992f429
fix(startup): NEU repo erroring if fetching profile way too fast
DuckySoLucky Dec 27, 2024
e7d3345
fix(custom-resources): potion not being enchanted
DuckySoLucky Dec 27, 2024
0f873a2
fix(header): remove API button and update theme logo encoding
DarthGigi Dec 27, 2024
0d26820
fix(dependencies): update @sveltejs/kit to 2.15.1 and vite to 6.0.6
DarthGigi Dec 27, 2024
4b2072d
fix(player-profile): replace share button with copy URL and UUID func…
DarthGigi Dec 27, 2024
5f480ed
fix(header): simplify settings component layout and improve accessibi…
DarthGigi Dec 27, 2024
45369b2
Merge branch 'dev' into refactor/items-for-mobile
DarthGigi Dec 27, 2024
88ead59
fix(settings): implement hover-based popover and drawer for settings …
DarthGigi Dec 27, 2024
6688618
refactor(header): remove unused theme management and related logic fr…
DarthGigi Dec 27, 2024
c429be8
Merge pull request #61 from SkyCryptWebsite:refactor/items-for-mobile
DarthGigi Dec 27, 2024
d4ef3e1
Merge branch 'prod' into dev
DarthGigi Dec 27, 2024
79e2595
refactor(Item): simplify item handling and improve type safety for pr…
DarthGigi Dec 27, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
},
"devDependencies": {
"@eslint/js": "^9.17.0",
"@sveltejs/kit": "^2.15.0",
"@sveltejs/kit": "^2.15.1",
"@sveltejs/vite-plugin-svelte": "^5.0.3",
"@types/compression": "^1.7.5",
"@types/eslint": "^9.6.1",
Expand Down Expand Up @@ -54,7 +54,8 @@
"tslib": "^2.8.1",
"typescript": "^5.7.2",
"typescript-eslint": "^8.18.2",
"vite": "^6.0.5"
"vaul-svelte": "1.0.0-next.3",
"vite": "^6.0.6"
},
"type": "module",
"dependencies": {
Expand Down
374 changes: 89 additions & 285 deletions pnpm-lock.yaml

Large diffs are not rendered by default.

17 changes: 8 additions & 9 deletions src/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,33 @@
/* For preview to work you need to have the naumovs.color-highlight extension installed */

@layer base {
:root,
.dark {
:root {
/* Icon Green (used for Skill Icons, Underlines etc.) */
--icon: 142 90% 42%;
/* --icon: 142 90% 42%; */
/* Preview: hsl(142, 90%, 42%) */

/* Link Green (used for Links, Unclaimed Slayers, Crafted Minions etc.) */
--link: 139 91% 48%;
/* --link: 139 91% 48%; */
/* Preview: hsl(139, 91%, 48%) */

/* Hover Green (used only for link hovers) */
--hover: 147 93% 49%;
/* --hover: 147 93% 49%; */
/* Preview: hsl(147, 93%, 49%) */

/* Skill Bar Green (used for Skill Progress Bars) */
--skillbar: 146 88% 35%;
/* --skillbar: 146 88% 35%; */
/* Preview: hsl(146, 88%, 35%) */

/* Maxed Bar Gold (used for Maxed Progress Bars) */
--maxedbar: 40 84% 44%;
/* --maxedbar: 40 84% 44%; */
/* Preview: hsl(40, 84%, 44%) */

/* Maxed Gold (used for Maxed things etc.) */
--maxed: 40 88% 46%;
/* --maxed: 40 88% 46%; */
/* Preview: hsl(40, 88%, 46%) */

/* Golden Text (used for Golden Text) */
--gold: 39 98% 61%;
/* --gold: 39 98% 61%; */
/* Preview: hsl(39, 98%, 61%) */

/* Most of the text */
Expand Down
2 changes: 1 addition & 1 deletion src/app.html
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<!doctype html>
<html lang="en" class="nice-colors-auto overflow-x-hidden scroll-smooth bg-[#121212] bg-[url('/img/bg.webp')] bg-cover bg-fixed bg-center bg-no-repeat text-white">
<html lang="en" class="data-[mode=dark]:nice-colors-light data-[mode=light]:nice-colors-dark data-[mode=light]:light overflow-x-hidden scroll-smooth bg-[#121212] bg-cover bg-fixed bg-center bg-no-repeat text-white [background-image:--bg-url]" data-theme="default" data-mode="dark">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%sveltekit.assets%/favicon.png" />
Expand Down
9 changes: 3 additions & 6 deletions src/hooks.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,14 @@ import { updateItems } from "$constants/update-items";
import { init as resourcesInit } from "$lib/server/custom_resources";
import { indexCollectons } from "$lib/server/db/mongo/index-collections";
import { intializeNEURepository, parseNEURepository } from "$lib/server/helper/NotEnoughUpdates/parseNEURepository";
import { updateNotEnoughUpdatesRepository } from "$lib/server/helper/NotEnoughUpdates/updateNEURepository";
import type { ServerInit } from "@sveltejs/kit";
import { getPrices } from "skyhelper-networth";
import { startMongo } from "./lib/server/db/mongo";
import { startRedis } from "./lib/server/db/redis";

export const init: ServerInit = async () => {
console.log("[SkyCrypt] Starting...");
await resourcesInit();
resourcesInit();

await startMongo()?.then(() => {
console.log("[MONGO] MongoDB succeesfully connected");
Expand All @@ -26,10 +25,8 @@ export const init: ServerInit = async () => {
console.log("[REDIS] Redis succeesfully connected");
});

await intializeNEURepository().then(() => {
updateNotEnoughUpdatesRepository().then(async () => {
await parseNEURepository();
});
await intializeNEURepository().then(async () => {
parseNEURepository();
});

await getPrices().then(() => {
Expand Down
165 changes: 0 additions & 165 deletions src/lib/components/Header.svelte

This file was deleted.

Loading
Loading