Skip to content

Commit

Permalink
Fix build issues. Me messy edits.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericbenwa committed Dec 11, 2024
1 parent 525e889 commit caa8416
Show file tree
Hide file tree
Showing 3 changed files with 2,930 additions and 11 deletions.
12 changes: 6 additions & 6 deletions src/app/components/Footer.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import Image from 'next/image';
import Link from 'next/link';
import React from 'react';
import FeedbackModal from './FeedbackModal';
// import FeedbackModal from './FeedbackModal';

const columnOneLinks = [
{
href: "https://github.com/goinvo/staffplan-next-app", label: "Open Source"
},
];
// const columnOneLinks = [
// {
// href: "https://github.com/goinvo/staffplan-next-app", label: "Open Source"
// },
// ];

const columnTwoLinks = [
// { href: "#", label: "Help" },
Expand Down
11 changes: 6 additions & 5 deletions src/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
import InfoSection from "./components/InfoSection";
import LeftContentSection from "./components/LeftContentSection";
import RightContentSection from "./components/RightContentSection";
import { ADVANTAGES_INFO, INVOLVED_INFO, STAFFPLAN_INFO } from "./constants";
import { ADVANTAGES_INFO, STAFFPLAN_INFO } from "./constants";
import StaffplanDemoContainer from "./components/StaffplanDemoContainer";
import MyStaffplanPreviewContainer from "./components/MyStaffplanPreviewContainer";
import PeoplePreviewContainer from "./components/PeoplePreviewContainer";
import BubbleSpeechContainer from "./components/BubbleSpeechContainer";
// import BubbleSpeechContainer from "./components/BubbleSpeechContainer";

const contentSections = [
{
Expand All @@ -23,7 +23,8 @@ const contentSections = [
infoData: ADVANTAGES_INFO,
showButton: false,
alignInfo: 'right',
roundedContainerClassName: 'pl-auto sm:pl-16 pr-4'
roundedContainerClassName: 'pl-auto sm:pl-16 pr-4',
infoSectionStyles: 'sm:-translate-y-12'
},
// {
// Component: RightContentSection,
Expand All @@ -45,10 +46,10 @@ export default function Content() {
<>
<StaffplanDemoContainer />
{contentSections.map((section, index) => {
const { Component, roundedContainerChildren, infoData, showButton, buttonText, href, alignInfo, infoSectionStyles } = section;
const { Component, roundedContainerChildren, infoData, showButton, buttonText, alignInfo, infoSectionStyles } = section;
return (
<Component key={index} roundedContainerChildren={roundedContainerChildren} roundedContainerClassName={section.roundedContainerClassName}>
<InfoSection infoData={infoData} showButton={showButton} buttonText={buttonText} href={href} align={alignInfo} className={infoSectionStyles} />
<InfoSection infoData={infoData} showButton={showButton} buttonText={buttonText} align={alignInfo} className={infoSectionStyles} />
</Component>
);
})}
Expand Down
Loading

0 comments on commit caa8416

Please sign in to comment.