kyleshevlin / blog Goto Github PK
View Code? Open in Web Editor NEWMy personal website
Home Page: https://kyleshevlin.com
My personal website
Home Page: https://kyleshevlin.com
src/content/posts/prefer-noun-adjective-naming/index.mdx
Shouldn't it be UserCurrent.tsx
and ButtonGoLive.tsx
? FullScreen
should probably be Fullscreen.tsx
, not ScreenFull.tsx
as "fullscreen" is the adjective, perhaps it needs a noun for clarity, like WindowFullscreen.tsx
?
In converting my blog to Astro, there were some changes to how images work.
With Gatsby, I could import the image like so:
import BlahBlah from './images/blah-blah.png'
And pass it directly to components or an img
tag and it just worked
<img src={BlahBlah} />
In Astro, this doesn't work. I do not know all the things that are different, but I found the simplest solution was to move the images to the public
directory and server them globally to the site. It would be nice if I could keep them relative because I like that organization better.
Might be worth adding these: https://css-tricks.com/how-to-create-a-skip-to-content-link/
I think it'd be dope to add an image component that will automatically invert the colors of an image based on the theme.
I think the way to do this is to add a CSS Custom Property aka CSS Variable combined with a prop. If an image is deemed invertable
, when the theme indicates that the var is inverted
it sets the correct style.
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.