Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions packages/webapp/components/log/Log.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,11 @@

/* Desktop breakpoint - larger text for bigger screens */
@media (min-width: 1024px) {
.header {
padding: 0.5rem 1rem;
gap: 0.5rem;
}

.cardInner {
max-width: 560px;
}
Expand Down Expand Up @@ -2918,6 +2923,9 @@
2px 2px 0 var(--fest-primary, #FF8E3B),
4px 4px 0 var(--fest-accent, #CE3DF3);
margin-bottom: 0.5rem;
white-space: nowrap;
overflow: visible;
flex-shrink: 0;
}

.shareOfficialText {
Expand Down
11 changes: 5 additions & 6 deletions packages/webapp/pages/log/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import type { ReactElement } from 'react';
import type { GetServerSideProps } from 'next';
import React, {
useMemo,
useEffect,
Expand Down Expand Up @@ -44,11 +43,11 @@ import CardArchetypeReveal from '../../components/log/CardArchetypeReveal';
import CardShare from '../../components/log/CardShare';
import CardNoData from '../../components/log/CardNoData';

export const getServerSideProps: GetServerSideProps = async () => {
return {
notFound: true,
};
};
// export const getServerSideProps: GetServerSideProps = async () => {
Copy link
Contributor

Choose a reason for hiding this comment

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

This intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

Just to get Tomer's approval that bug was fixed then I revert

// return {
// notFound: true,
// };
// };

// Default theme for no-data state (welcome card theme)
const noDataTheme = CARD_THEMES.welcome;
Expand Down