Skip to content

Commit

Permalink
Merge pull request #103 from ethersphere/staging
Browse files Browse the repository at this point in the history
Event updates
  • Loading branch information
martink635 authored Dec 22, 2023
2 parents d47c895 + 9c438aa commit 3ce8bbb
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 17 deletions.
14 changes: 13 additions & 1 deletion components/Stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,19 @@ const Stats: React.FC<StatsProps> = () => {
target="_blank"
className="flex items-center h-8 px-4 space-x-2 text-sm font-semibold leading-8 text-gray-800 transition-all duration-1000 bg-gray-100 rounded-full bg-opacity-70 backdrop-blur-md"
>
#
<svg
className="w-5 h-5"
xmlns="http://www.w3.org/2000/svg"
fill="none"
viewBox="0 0 20 20"
>
<path
fill="#000"
stroke="#000"
strokeWidth=".2"
d="M15.754 6.365h-1.893l.503-3.529c.057-.397-.204-.768-.581-.827-.385-.06-.73.215-.787.611l-.534 3.744H9.021l.503-3.529c.057-.397-.204-.768-.581-.827-.383-.06-.73.215-.787.611l-.534 3.744H5.383c-.382 0-.692.326-.692.728 0 .401.31.727.692.727h2.032l-.623 4.364h-2.1c-.383 0-.692.325-.692.727 0 .401.31.727.691.727h1.894l-.504 3.53c-.056.396.204.767.582.826.035.006.07.008.103.008a.703.703 0 0 0 .683-.62l.534-3.744h3.441l-.503 3.53c-.057.396.204.767.582.826.035.006.07.008.102.008a.703.703 0 0 0 .684-.62l.534-3.744h2.239c.382 0 .691-.326.691-.727 0-.402-.31-.727-.691-.727H13.03l.622-4.364h2.101c.382 0 .691-.326.691-.727 0-.402-.309-.728-.691-.728l.001.002Zm-4.122 5.818H8.19l.623-4.364h3.441l-.622 4.364Z"
/>
</svg>
</Link>
</div>
);
Expand Down
6 changes: 3 additions & 3 deletions components/sections/EventPopup.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -38,16 +38,16 @@ const EventPopup = ({ image, title, content, cta }: EventPopupType) => {
href={cta.href}
onMouseEnter={() => setExpanded(true)}
className={cx(
"relative mt-20 md:my-0 mx-6 md:fixed bottom-10 justify-end bg-[#F6F7F9] backdrop-blur-xl bg-opacity-80 left-0 right-0 transition-all duration-300 md:left-auto border border-opacity-20 border-[#D6DBDF] rounded-xl overflow-hidden p-1 md:right-8 z-40 flex group",
"relative mt-20 md:my-0 mx-6 md:fixed bottom-10 justify-between md:justify-end bg-[#F6F7F9] backdrop-blur-xl bg-opacity-80 left-0 right-0 transition-all duration-300 md:left-auto border border-opacity-20 border-[#D6DBDF] rounded-xl overflow-hidden p-1 md:right-8 z-40 flex group",
expanded ? "max-w-lg" : "md:max-w-[154px]"
)}
>
<div
className={cx(
" px-4 pt-5 pb-3 mr-3 md:mr-0 text-[#141516] transition-all max-w-xs md:flex-shrink-0 "
"px-4 pt-5 pb-3 mr-3 md:mr-0 text-[#141516] transition-all max-w-xs md:flex-shrink-0"
)}
>
<h4 className=" text-[17px] leading-6">
<h4 className="text-[17px] leading-6">
{"Next event: "}
<b>{title}</b>
</h4>
Expand Down
7 changes: 0 additions & 7 deletions content/events/scc-january.md

This file was deleted.

2 changes: 1 addition & 1 deletion data/footer.json
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
"title": "Resources",
"items": [
{
"title": "Why",
"title": "Technology",
"href": "/why"
},
{
Expand Down
10 changes: 5 additions & 5 deletions data/pages/index.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"event": {
"title": "Swarm 2.0 - Dec. 21",
"content": "Join the virtual event to commemorate the beginning of Swarm 2.0.",
"title": "Community Call",
"content": "Swarm Foundations monthly community call.",
"cta": {
"href": "https://www.addevent.com/event/lf19253018",
"title": "Read more ->"
"href": "https://www.addevent.com/event/iH19625610",
"title": "Add to Calendar ->"
},
"image": {
"src": "/assets/event.png",
"src": "/assets/event-community_call-jan.png",
"alt": ""
}
},
Expand Down
Binary file added public/assets/event-community_call-jan.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit 3ce8bbb

@vercel
Copy link

@vercel vercel bot commented on 3ce8bbb Dec 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.