Catch me on Mastodon!
thinkjrs / lottamob Goto Github PK
View Code? Open in Web Editor NEWLotta's site. For the world. Use and abuse, please.
Home Page: https://lottamoberg.com
License: MIT License
Lotta's site. For the world. Use and abuse, please.
Home Page: https://lottamoberg.com
License: MIT License
Catch me on Mastodon!
Is your feature request related to a problem? Please describe.
Clicking on research, blog, or article links are the only way to travel to an individual piece of content as a user, at the moment. This should change.
Describe the solution you'd like
As was planned, we should add the appropriate sections for research, blog, and article posts on the front of the landing page, below the immediate fold.
In particular, we need:
These should auto update from the latest introduced/published content from the CMS and use the same/exactly similar strategy/functions to accomplish these updates (on build).
Currently the markdown component from react-markdown
does not play properly with Tailwindcss typography for headers. As of this moment, using #
or ##
to indicate a normal markdown header will display as standard inline-text.
Pro-tip: Avoid inline headers until I have this implemented.
Sending body content from the sanity studio input box (see below) w/header markdown indications will render properly, with acceptable styling.
The body "input" box with text below will not currently render #
heading marks.
Is your feature request related to a problem? Please describe.
Lighthouse rightly complains that there is no content security policy enabled for this site. We should implement this to prevent things like XSS attacks.
Fortunately, there is no user input on this site, yet, so the lack of CSP is not an actual security issue.
Describe the solution you'd like
The above stated, we need to add in a CSP so that only those specific directives are allowed. This will help prevent a security issue in the event we add user input down the road.
Describe alternatives you've considered
As this is how the web works, there are no alternatives.
Additional context
Helpful resource link: https://web.dev/csp-xss/?utm_source=lighthouse&utm_medium=lr
Is your feature request related to a problem? Please describe.
Right now we have some images w/text uploaded for research, as opposed to the blog or article section, which have typical static images.
Describe the solution you'd like
This doesn't need to be an image and should be a styled box w/text & background color overlaying it.
title
paramauthor
paramThe new blog should get an mdx-embed implementation so that we can link to videos hosted externally.
Describe the solution you'd like
Add and implement https://www.npmjs.com/package/mdx-embed.
See https://www.thvu.dev/ for details, as they've implemented using the proper template herein.
Let's have direct links to article content (files) on the introductory page site and the on the link article themselves.
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.