fix: mobile version fix & link prefetch #99
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes several changes to the
frontend
package, primarily focusing on updating dependencies, modifying thenavbar
component, and enhancing the login and home page components.Dependency Updates:
node-fetch
version^3.3.2
tofrontend/package.json
andfrontend/package-lock.json
. [1] [2]data-uri-to-buffer
version4.0.1
tofrontend/package-lock.json
.fetch-blob
version3.2.0
tofrontend/package-lock.json
.formdata-polyfill
version4.0.10
tofrontend/package-lock.json
.web-streams-polyfill
version3.3.3
tofrontend/package-lock.json
.Component Modifications:
navbar
component to adjust the height of the mobile menu icon.LoginPage
component to includeprefetch={false}
in the login link.JoinUsBlock
component to includeprefetch={false}
in the login link and adjust the flex layout.HomePage
component to remove themd:text-left
class from the<h1>
element and addtext-balance
to the<p>
element. [1] [2]API Route Changes:
dynamic = "force-dynamic"
export tofrontend/src/app/api/callback/route.ts
.fetch
parameter from thetokens
object infrontend/src/app/api/callback/route.ts
andfrontend/src/lib/usos.ts
. [1] [2]secure
flag totrue
for cookies in theGET
function infrontend/src/app/api/login/route.ts
.Service and Client Changes:
LRUCache
implementation and thefetch
parameter from thecreateClient
function infrontend/src/services/usos/usosClient.ts
. [1] [2]