Hacker News new | ask | show | jobs
by holler 1879 days ago
For https://sqwok.im, I explicitly placed the login/signup prominently at top right for all users on mobile and desktop because I want it to be clearly visible always. I could see some value in detecting whether the user has already created an account and highlighting the "login" portion like the author has.

There’s a business service site I have to log into once a month who’ve hidden the login behind a drop down and it’s really annoying!

2 comments

Your site is really slow. I honestly thought it was broken when I first went, no login link to be seen at all.

This is why you should avoid making a SPA unless you know what you're doing, if you're going to use one at least put a spinner or something so it's clear the site's doing something.

> This is why you should avoid making a SPA unless you know what you're doing

The site doesn't have much traffic right now and is running entirely on serverless lambda, it's likely you arrived while it was idle and had to wait for it to wake up...

> at least put a spinner or something so it's clear the site's doing something

def should improve the loading state for when it hasn't woken up yet.

No login link, just a series of grey lines, even after I enable javascript. Ah, I see you require that I accept cookies just to to view your front-page ...
Yeah this site requires javascript to use and it uses cookies... It may load slowly if there's no traffic, see below.