-
-
Notifications
You must be signed in to change notification settings - Fork 342
Add Sponsors to landing page #1689
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
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,7 @@ import InlineSVG from '../components/util/InlineSVG.astro'; | |
|
||
const landingFeatures = await getCollection('landing-features'); | ||
const demos = await getEntry('landing', 'demos'); | ||
const sponsors = await getEntry('sponsors', 'info'); | ||
const posts = await getCollection('blog'); | ||
posts | ||
.sort((a, b) => { | ||
|
@@ -123,6 +124,25 @@ posts | |
</Container> | ||
</div> | ||
</div> | ||
<div> | ||
<Container | ||
class:list={[ | ||
'flex flex-wrap items-center justify-center gap-8 pt-4 pb-16 md:justify-between', | ||
]} | ||
> | ||
{ | ||
sponsors.data.items.map((item) => ( | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. The acknowledgements section on the donate page also includes institutions that have contributed to Nix in the past (at least we are not sure they do nowadays). Should the landing page continue to show all the past sponsors and supporters forever, only the foundational ones (Utrecht University), or just the current ones? |
||
<a href={item.href} target="_blank" rel="noopener noreferrer"> | ||
<img | ||
class="max-h-16 max-w-32 opacity-65 grayscale-100 transition-all duration-100 hover:opacity-100 hover:grayscale-0 md:max-w-48" | ||
src={item.src} | ||
alt={item.alt} | ||
/> | ||
</a> | ||
)) | ||
} | ||
</Container> | ||
</div> | ||
<div> | ||
<Container> | ||
<h2 | ||
|
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.
The donate page clarified that “following companies and institutes have supported the development of NixOS and hosting for its infrastructure”. Here it is not clear what the logos mean. Landing pages often show users or endorsements so it might be important to the sponsors themselves for the relationship to be made clear.