Fix website build
This commit is contained in:
@ -9,6 +9,7 @@ COPY ./.prettierrc .
|
|||||||
COPY ./yarn.lock .
|
COPY ./yarn.lock .
|
||||||
COPY ./.yarnrc.yml .
|
COPY ./.yarnrc.yml .
|
||||||
COPY ./.yarn/releases /app/.yarn/releases
|
COPY ./.yarn/releases /app/.yarn/releases
|
||||||
|
COPY ./tools/eslint-rules /app/tools/eslint-rules
|
||||||
COPY ./packages/twenty-website/package.json /app/packages/twenty-website/package.json
|
COPY ./packages/twenty-website/package.json /app/packages/twenty-website/package.json
|
||||||
|
|
||||||
RUN yarn
|
RUN yarn
|
||||||
|
|||||||
@ -4,7 +4,7 @@ import styled from '@emotion/styled';
|
|||||||
import mq from '@/app/_components/ui/theme/mq';
|
import mq from '@/app/_components/ui/theme/mq';
|
||||||
import { Theme } from '@/app/_components/ui/theme/theme';
|
import { Theme } from '@/app/_components/ui/theme/theme';
|
||||||
import UserGuideCard from '@/app/_components/user-guide/UserGuideCard';
|
import UserGuideCard from '@/app/_components/user-guide/UserGuideCard';
|
||||||
import { UserGuideHomeCards } from '@/content/user-guide/constants/UserGuideHomeCards';
|
import { USER_GUIDE_HOME_CARDS } from '@/content/user-guide/constants/UserGuideHomeCards';
|
||||||
|
|
||||||
const StyledContainer = styled.div`
|
const StyledContainer = styled.div`
|
||||||
${mq({
|
${mq({
|
||||||
@ -68,7 +68,7 @@ export default function UserGuideMain() {
|
|||||||
</StyledSubHeading>
|
</StyledSubHeading>
|
||||||
</StyledHeader>
|
</StyledHeader>
|
||||||
<StyledContent>
|
<StyledContent>
|
||||||
{UserGuideHomeCards.map((card) => {
|
{USER_GUIDE_HOME_CARDS.map((card) => {
|
||||||
return <UserGuideCard key={card.title} card={card} />;
|
return <UserGuideCard key={card.title} card={card} />;
|
||||||
})}
|
})}
|
||||||
</StyledContent>
|
</StyledContent>
|
||||||
|
|||||||
@ -7,7 +7,7 @@ import { IconBook } from '@/app/_components/ui/icons';
|
|||||||
import mq from '@/app/_components/ui/theme/mq';
|
import mq from '@/app/_components/ui/theme/mq';
|
||||||
import { Theme } from '@/app/_components/ui/theme/theme';
|
import { Theme } from '@/app/_components/ui/theme/theme';
|
||||||
import UserGuideSidebarSection from '@/app/_components/user-guide/UserGuideSidebarSection';
|
import UserGuideSidebarSection from '@/app/_components/user-guide/UserGuideSidebarSection';
|
||||||
import { UserGuideIndex } from '@/content/user-guide/constants/UserGuideIndex';
|
import { USER_GUIDE_INDEX } from '@/content/user-guide/constants/UserGuideIndex';
|
||||||
|
|
||||||
const StyledContainer = styled.div`
|
const StyledContainer = styled.div`
|
||||||
${mq({
|
${mq({
|
||||||
@ -42,8 +42,7 @@ const StyledIconContainer = styled.div`
|
|||||||
color: ${Theme.text.color.secondary};
|
color: ${Theme.text.color.secondary};
|
||||||
border: 1px solid ${Theme.text.color.secondary};
|
border: 1px solid ${Theme.text.color.secondary};
|
||||||
border-radius: ${Theme.border.radius.sm};
|
border-radius: ${Theme.border.radius.sm};
|
||||||
padding: ${Theme.spacing(1)} ${Theme.spacing(1)} ${Theme.spacing(1)}
|
padding: ${Theme.spacing(1)};
|
||||||
${Theme.spacing(1)};
|
|
||||||
`;
|
`;
|
||||||
|
|
||||||
const StyledHeadingText = styled.div`
|
const StyledHeadingText = styled.div`
|
||||||
@ -64,7 +63,7 @@ const UserGuideSidebar = () => {
|
|||||||
User Guide
|
User Guide
|
||||||
</StyledHeadingText>
|
</StyledHeadingText>
|
||||||
</StyledHeading>
|
</StyledHeading>
|
||||||
{Object.entries(UserGuideIndex).map(([heading, subtopics]) => (
|
{Object.entries(USER_GUIDE_INDEX).map(([heading, subtopics]) => (
|
||||||
<UserGuideSidebarSection
|
<UserGuideSidebarSection
|
||||||
key={heading}
|
key={heading}
|
||||||
title={heading}
|
title={heading}
|
||||||
|
|||||||
Reference in New Issue
Block a user