Skip to content

Commit

Permalink
content updates (#3962)
Browse files Browse the repository at this point in the history
* add worldcomputer-share image to fix missing image in events from airtable

* update nes card content for world computer day on home

* update news card layout
herrpatrickmueller authored Jan 21, 2025
1 parent 4120515 commit c62fb82
Showing 2 changed files with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions src/components/LandingPage/Hero/NewsCards.tsx
Original file line number Diff line number Diff line change
@@ -2,18 +2,15 @@ import AnimateSpawn from "../../Common/AnimateSpawn";
import Link from "@docusaurus/Link";
import LinkArrowUpRight from "../../Common/Icons/LinkArrowUpRight";
import React from "react";
import { de } from "date-fns/locale";
import { motion } from "framer-motion";
import transitions from "@site/static/transitions.json";

const MotionLink = motion(Link);

const cardsData = [
{
news: {
linkLabel: "Join event",
title: "World Computer Day",
dateHuman: "January 21, 2025, 10am-10pm. ",
dateHuman: "January 21, 2025, 10AM–10PM",
press: "",
details: `A day exploring the World Computer, AI, Web3 and the self-writing internet.`,
url: "https://worldcomputer.com/davos2025",
@@ -69,13 +66,13 @@ export const NewsCard: React.FC<{
<div className={`px-6 pt-8 pb-6 flex flex-col flex-1 ${
inverted ? 'text-white' : ''
}`}>
<h3 className={`tw-heading-5 mb-3 ${clampText && "line-clamp-2"}`}>
<h3 className={`tw-heading-5 mb-1 ${clampText && "line-clamp-2"}`}>
{news.title}
</h3>
<div className="flex-1"></div>

{news.press || news.dateHuman && (
<div className={`tw-paragraph-sm text-black/60 mb-6 ${
<div className={`tw-paragraph-sm text-black/60 ${
inverted ? 'text-white/60' : 'text-black/60'
}`}>
{news.dateHuman} {news.press && "by " + news.press}
Binary file added static/share-world-computer-day.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit c62fb82

Please sign in to comment.