xdesro / sex-work-exclusive-tech-companies

A growing list of tech companies with Terms of Service that discriminate against sex workers.
https://sex-work-exclusive-companies.tech/
MIT License
17 stars 6 forks source link

Site should work without JS #4

Closed xdesro closed 4 years ago

xdesro commented 5 years ago

Currently, two things break when you disable JavaScript:

Rendering with Markdown

The Markdown render should happen on the generate step in Nuxt — or at least not in a lifecycle hook (mounted() only runs if JS is on). Do whatever is necessary to get this working!

Expanding cards

My initial thought is that cards should render expanded at first, and collapse on a lifecycle hook, so that way they only collapse when JS is enabled.