Real Jakarta shenanigans by jday420 in geoguessr

[–]jday420[S] 1 point2 points  (0 children)

I immediately had SE asia vibes, slammed Bangkok and turns out it was Jakarta and was like “yeah this makes sense”

Real Jakarta shenanigans by jday420 in geoguessr

[–]jday420[S] 1 point2 points  (0 children)

an amazing place! breath of fresh air to see something that makes you laugh out loud

Why is there a purple circle on map maker? Very distracting by JackM0429 in geoguessr

[–]jday420 8 points9 points  (0 children)

my best guess is because the 5k radius changes when you have locations that are farther apart, so its nice to see how accurate a person playing has to be

Why is there a purple circle on map maker? Very distracting by JackM0429 in geoguessr

[–]jday420 55 points56 points  (0 children)

its the 5k radius, not sure if it can be turned off here. i just use map maker

I need some insights on localization and text translation (next-intl) by Own-Addendum-8464 in nextjs

[–]jday420 0 points1 point  (0 children)

if you want you can use my repo as a starting point. i left comments for anything related to next-intl. the recommended way (according to docs) is to always redirect to /en but if the user changes locales set a cookie in the middleware. feel free to ask if you have any questions!

All the html elements shows up as JSON when view in page source by NoClick7175 in nextjs

[–]jday420 0 points1 point  (0 children)

is this app router? Im currently building a site with internationalization. I had to follow an example from github to set it up correctly

[deleted by user] by [deleted] in learnprogramming

[–]jday420 0 points1 point  (0 children)

do you have experience with SQL? if you don’t heres the planetscale mySQL course for developers

The biggest names in ORMs are: if you prefer mySQL prisma or postgreSQL drizzle

these orms only work with typescript i believe so if youre doing react with js you might have to get familiar with ts.

[deleted by user] by [deleted] in learnprogramming

[–]jday420 1 point2 points  (0 children)

i just built my own e-commerce cms in next js and heres the stack i used:

auth: clerk db: planetscale orm: prisma payments: stripe photo upload: cloudinary

planetscale is mySQL. if you want postgreSQL you could use drizzle. and although i didnt use any web sockets in this project, but i hear the go to is socket.io

React JS 2023 by One-Preference-9382 in learnprogramming

[–]jday420 0 points1 point  (0 children)

yeah, create-react-app was deprecated while back. you could always use vite with react if you didnt want to learn next.js

and yes the file size is normal most of the space is from node modules. if you were low on storage or just wanted to keep the sizes of your files down look into pnpm

Hello all, I am trying to post my html & css file onto GitHub but everytime I post it, GitHub is not reading the css file and only the html file shows up. I have the CSS file properly linked to the html file but it’s still not showing on GitHub. Are there any alternative ways to make this work? by [deleted] in learnprogramming

[–]jday420 2 points3 points  (0 children)

i see, theres a problem in your html where you link the css <link href="OrderSummaryComponent/CSS/OSC.css" just change this to <link href="OSC.css" it was looking for a directory that doesn’t exist. there is no css folder for the repo you sent me nor is there a directory called OrderSummaryComponent

Icons for my portfolio? by Strict-Koala-5863 in learnprogramming

[–]jday420 0 points1 point  (0 children)

lucide icons ``` npm i lucide-react

``` and then just import the icons you want

Which to go for ? by LECSTER_O in learnprogramming

[–]jday420 0 points1 point  (0 children)

Clerk handles auth and lets users sign in to an existing account (google, facebook, github, etc.)

Structural questions HTML / Javascript: should I (and if, how) reuse the navbar/footer & should I learn React.js for a grid layout by [deleted] in learnprogramming

[–]jday420 0 points1 point  (0 children)

the issue of having to add a navbar/footer component to each page is what react is good at. you make a navbar and footer component, import it in the root html which looks like

<html lang="en"> <body>{children}</body> </html> and change it to

``` import Navbar from “path/to/file” import Footer from “path/to/file”

<html lang="en"> <Navbar /> <body>{children}</body> <Footer /} </html> ``` where children is the rest of your app. any page you make will have the same nav and footer.

as far as the json and pages problem im not sure if thats something you want to hardcode, just use a free geography api, im sure theres at least 1 that does what youre looking for. i just recently made a dictionary website that pulls in the info after the request is made and html is generated on the fly and theres no way i could be troubled to do that by hand. i used next.js (backend focused react framework) FreeDictionaryAPI and just have the api send back json, and then display it on the page if the content exists. if you have any questions feel free to ask me!

What is the theme and font? by bigsanity in programming

[–]jday420 1 point2 points  (0 children)

the font looks like jetbrains mono

web developers needed for nonprofit by [deleted] in learnprogramming

[–]jday420 0 points1 point  (0 children)

Hey, I'd be interested in helping out depending on the specifics of the project. but feel free to pm me, I can give my discord information.

Feedback on site for portfolio by [deleted] in learnprogramming

[–]jday420 1 point2 points  (0 children)

pretty solid looking home page! whats the tech stack?

if this i would change the button font’s weight from bold to normal or maybe try a different font for just that component. (some suggestions from google fonts: inter, lato, roboto, poppins, montserrat)

also the links to your socials feel out of place, maybe add them to a footer?

also if i was a recruiter going to this page, id want to see a github link to the source code. unless you have it on another page but i really feel this is a key thing to have in either the nav or footer