-
-
Notifications
You must be signed in to change notification settings - Fork 324
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Astro/blog [RFR] #1190
Astro/blog [RFR] #1190
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks really nice! I checked several of the blog entries and tried to break the filter. All seems to be working well.
side note: we should consider replacing those images on the NixOS release pages in the future. low res png doesn't look great.
--- | ||
|
||
<Layout title="Nix & NixOS"> | ||
<div class="bg-nixlighterblue"> | ||
<Container class="flex flex-col md:flex-row items-center justify-between py-4"> | ||
<b class="text-nixsemidarkblue text-lg">NixOS 23.05 released.</b> | ||
<Button>Announcement</Button> | ||
<b class="text-nixsemidarkblue text-lg">{posts[0].data.title}</b> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is 🤌
src/components/ui/Button.astro
Outdated
@@ -37,11 +37,11 @@ const { | |||
shaText = "", | |||
} = Astro.props; | |||
|
|||
const localClassList = `${colorMap[color]} font-bold ${sizeMap[size]} text-white drop-shadow-[0_4px_1px_rgba(0,0,0,0.2)]`; | |||
const localClassList = `${colorMap[color]} object-contain font-bold ${sizeMap[size]} text-white drop-shadow-[0_4px_1px_rgba(0,0,0,0.2)]`; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was something breaking without object-contain
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not really, this is just a remainder of debugging. I just removed it :D
This project reimplements the NixOS homepage
/blog
section with omitted Community section and on page filtering of posts as well as seperate pages per post. The content has been centralized and standardized to markdown for ease of editing.This PR does the following things: