mirror of
https://github.com/dylanbenzi/yellowbird.git
synced 2026-11-27 01:07:01 +00:00
updated framing
This commit is contained in:
@@ -8,16 +8,16 @@ const MonthCalendar = () => {
|
||||
{
|
||||
"date": "2023-06-12T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "BABA Conference", "variant": "conference", "time": "AMC" },
|
||||
{ "title": "MSFT Dividend", "variant": "dividend", "time": "BMO" },
|
||||
{ "title": "MSFT Split", "variant": "split", "time": "AMC" },
|
||||
{ "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "BABA Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "WMT Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "AMZN Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "GOOGL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
{ "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
{ "title": "BABA Conference", "variant": "conference", "time": "BMO" },
|
||||
// { "title": "BABA Conference", "variant": "conference", "time": "AMC" },
|
||||
// { "title": "MSFT Dividend", "variant": "dividend", "time": "BMO" },
|
||||
// { "title": "MSFT Split", "variant": "split", "time": "AMC" },
|
||||
// { "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "BABA Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "WMT Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "AMZN Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "GOOGL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "BABA Conference", "variant": "conference", "time": "BMO" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -76,25 +76,25 @@ const MonthCalendar = () => {
|
||||
{
|
||||
"date": "2023-06-20T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "AAPL Conference", "variant": "conference", "time": "BMO" },
|
||||
{ "title": "WMT Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "MSFT Conference", "variant": "conference", "time": "BMO" },
|
||||
{ "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "GOOGL Dividend", "variant": "dividend", "time": "BMO" },
|
||||
{ "title": "TSLA Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "AAPL Conference", "variant": "conference", "time": "BMO" },
|
||||
// { "title": "WMT Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "MSFT Conference", "variant": "conference", "time": "BMO" },
|
||||
// { "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "GOOGL Dividend", "variant": "dividend", "time": "BMO" },
|
||||
// { "title": "TSLA Earnings", "variant": "earnings", "time": "AMC" },
|
||||
],
|
||||
},
|
||||
{
|
||||
"date": "2023-06-21T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "GOOGL Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "GOOGL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
{ "title": "WMT Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "NVDA Dividend", "variant": "dividend", "time": "BMO" },
|
||||
{ "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
{ "title": "AMZN Conference", "variant": "conference", "time": "AMC" },
|
||||
{ "title": "NVDA Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "JPM Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "GOOGL Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "GOOGL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "WMT Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "NVDA Dividend", "variant": "dividend", "time": "BMO" },
|
||||
// { "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "AMZN Conference", "variant": "conference", "time": "AMC" },
|
||||
// { "title": "NVDA Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "JPM Split", "variant": "split", "time": "BMO" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -167,16 +167,18 @@ const MonthCalendar = () => {
|
||||
},
|
||||
{
|
||||
"date": "2023-06-29T08:00:00.000Z",
|
||||
"events": [{ "title": "BABA Event", "variant": "event", "time": "BMO" }],
|
||||
"events": [
|
||||
// { "title": "BABA Event", "variant": "event", "time": "BMO" }
|
||||
],
|
||||
},
|
||||
{
|
||||
"date": "2023-06-30T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "AAPL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
{ "title": "AAPL Split", "variant": "split", "time": "BMO" },
|
||||
{ "title": "META Conference", "variant": "conference", "time": "AMC" },
|
||||
{ "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "META Event", "variant": "event", "time": "AMC" },
|
||||
// { "title": "AAPL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "AAPL Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "META Conference", "variant": "conference", "time": "AMC" },
|
||||
// { "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "META Event", "variant": "event", "time": "AMC" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -232,25 +234,25 @@ const MonthCalendar = () => {
|
||||
{
|
||||
"date": "2023-07-10T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "AMZN Split", "variant": "split", "time": "BMO" },
|
||||
{ "title": "NVDA Dividend", "variant": "dividend", "time": "AMC" },
|
||||
{ "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "AMZN Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "NVDA Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "AAPL Dividend", "variant": "dividend", "time": "AMC" },
|
||||
],
|
||||
},
|
||||
{
|
||||
"date": "2023-07-11T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "TSLA Earnings", "variant": "earnings", "time": "BMO" },
|
||||
{ "title": "AMZN Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "AAPL Dividend", "variant": "dividend", "time": "BMO" },
|
||||
{ "title": "WMT Conference", "variant": "conference", "time": "AMC" },
|
||||
{ "title": "JPM Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "NVDA Split", "variant": "split", "time": "BMO" },
|
||||
{ "title": "AMZN Earnings", "variant": "earnings", "time": "BMO" },
|
||||
{ "title": "AAPL Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "AMZN Split", "variant": "split", "time": "AMC" },
|
||||
{ "title": "TSLA Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "TSLA Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "AMZN Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "AAPL Dividend", "variant": "dividend", "time": "BMO" },
|
||||
// { "title": "WMT Conference", "variant": "conference", "time": "AMC" },
|
||||
// { "title": "JPM Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "NVDA Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "AMZN Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "AAPL Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "AMZN Split", "variant": "split", "time": "AMC" },
|
||||
// { "title": "TSLA Earnings", "variant": "earnings", "time": "BMO" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -304,22 +306,22 @@ const MonthCalendar = () => {
|
||||
{
|
||||
"date": "2023-07-19T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "META Dividend", "variant": "dividend", "time": "AMC" },
|
||||
{ "title": "GOOGL Conference", "variant": "conference", "time": "BMO" },
|
||||
{ "title": "WMT Split", "variant": "split", "time": "BMO" },
|
||||
{ "title": "MSFT Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "AMZN Dividend", "variant": "dividend", "time": "BMO" },
|
||||
// { "title": "META Dividend", "variant": "dividend", "time": "AMC" },
|
||||
// { "title": "GOOGL Conference", "variant": "conference", "time": "BMO" },
|
||||
// { "title": "WMT Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "MSFT Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "AMZN Dividend", "variant": "dividend", "time": "BMO" },
|
||||
],
|
||||
},
|
||||
{
|
||||
"date": "2023-07-20T08:00:00.000Z",
|
||||
"events": [
|
||||
{ "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "BABA Conference", "variant": "conference", "time": "AMC" },
|
||||
{ "title": "META Earnings", "variant": "earnings", "time": "AMC" },
|
||||
{ "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
{ "title": "WMT Split", "variant": "split", "time": "BMO" },
|
||||
{ "title": "AAPL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
// { "title": "GOOGL Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "BABA Conference", "variant": "conference", "time": "AMC" },
|
||||
// { "title": "META Earnings", "variant": "earnings", "time": "AMC" },
|
||||
// { "title": "TSLA Event", "variant": "event", "time": "BMO" },
|
||||
// { "title": "WMT Split", "variant": "split", "time": "BMO" },
|
||||
// { "title": "AAPL Earnings", "variant": "earnings", "time": "BMO" },
|
||||
],
|
||||
},
|
||||
{
|
||||
@@ -344,7 +346,9 @@ const MonthCalendar = () => {
|
||||
},
|
||||
{
|
||||
"date": "2023-07-26T08:00:00.000Z",
|
||||
"events": [{ "title": "BABA Split", "variant": "split", "time": "AMC" }],
|
||||
"events": [
|
||||
// { "title": "BABA Split", "variant": "split", "time": "AMC" }
|
||||
],
|
||||
},
|
||||
// {
|
||||
// "date": "2023-07-27T08:00:00.000Z",
|
||||
@@ -387,12 +391,12 @@ const MonthCalendar = () => {
|
||||
{dates.map((item, index) => (
|
||||
<div
|
||||
key={index}
|
||||
className="border border-neutral-700 flex flex-col"
|
||||
className="border border-neutral-700 flex flex-col border-r-0 border-b-0"
|
||||
>
|
||||
<p className="font-bold p-2">
|
||||
{format(item.date, "d", { timeZone: "America/New_York" })}
|
||||
</p>
|
||||
<div className="grid grid-rows-5 overflow-hidden gap-1 p-1">
|
||||
<div className="grid grid-rows-5 overflow-hidden gap-1 p-1 px-2">
|
||||
{item.events.length < 5
|
||||
? item.events.map((event: any, eventkey: number) => (
|
||||
<CalendarItem
|
||||
|
||||
Reference in New Issue
Block a user