thestanforddaily / stanforddaily Goto Github PK
View Code? Open in Web Editor NEWThe Stanford Daily website frontend is proudly powered by Expo.
Home Page: https://www.stanforddaily.com/
License: Apache License 2.0
The Stanford Daily website frontend is proudly powered by Expo.
Home Page: https://www.stanforddaily.com/
License: Apache License 2.0
We should set this up: https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/block-all-mixed-content
This is because sometimes, ads get loaded from non-HTTPS sources on our website, causing Chrome to display a "Not secure" error:
We should use https://wordpress.org/plugins/webp-express/ -- this will really improve load times on mobile
For example, going to http://stanforddaily.com/?s=a/b goes to the error page because some error has happened during page loading.
Take a sample of different pages on old site & make sure the same paths aren't broken on the new site.
It might be good to do this before the site is deployed.
(a) the link to our email digests signup and (b) the links to follow us on social media
Probably fetch them from https://wp.stanforddaily.com/robots.txt and https://wp.stanforddaily.com/ads.txt so we don't have to manage them manually.
Go to https://stanforddaily.com/2020/05/12/the-stay-at-home-city-chicago-under-quarantine/
Click on "Sarah Bloom", but it goes to https://stanforddaily.com/author/ instead of an actual author page.
Note that this issue is only present on certain pages; other pages work fine.
Should use this component: https://github.com/TheStanfordDaily/stanforddaily/blob/b5f3aa0decb42c7eb818d2e3d3cd8c7e50092045/components/DonationForm.tsx
Helpful reference: https://github.com/TheStanfordDaily/stanforddaily/blob/b5f3aa0decb42c7eb818d2e3d3cd8c7e50092045/components/HeaderDonationBanner.tsx
We can leave that same logo there
And then for the lower text something like "Offered for high schoolers nationally" with a link to this: https://www.stanforddaily.com/high-school-programs/
After #85, which meant to add "featured article" only to the data page, it's now showing up on all pages:
category pages:
search results page:
home page:
Would be cool.
Maybe we can come up with a unique name for this instead of just "stanford-daily" so the repo is distinctive?
We should display it in PT.
Should be fixed when we are addressing #39.
Create:
category: https://www.stanforddaily.com/category/news/
subcategory: https://www.stanforddaily.com/category/arts-life/culture/
sub-sub-category: https://www.stanforddaily.com/category/sports/winter-sports/mens-gymnastics/
etc.
https://www.stanforddaily.com/2019/
https://www.stanforddaily.com/2019/01/
https://www.stanforddaily.com/2019/01/01
I get eslint errors like this:
27:41 error Unable to resolve path to module './MoreFromTheDailySection' import/no-unresolved
28:28 error Unable to resolve path to module './DesktopRow' import/no-unresolved
29:24 error Unable to resolve path to module './Column' import/no-unresolved
30:32 error Unable to resolve path to module './getBorderValue'
Add categories (featured top, featured bottom left, featured bottom right, etc.) so that editors can select which articles go where on the homepage
Currently there's no way to preview articles. This would require authentication, or is there any easier method?
Reference: https://medium.com/kata-engineering/headless-wordpress-next-js-what-we-learned-c10abdf80f6a
if I check monthly donation and don't touch the donation amount:
it brings me to a $5 monthly donation instead of $50 one.
I think this has to do w/ the default state of ammount
in https://github.com/TheStanfordDaily/stanforddaily/blob/master/components/DonationForm.tsx
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.