Skip to content

Commit

Permalink
Merge pull request #184 from rit-sse/fixed-build
Browse files Browse the repository at this point in the history
Fixed ZCards and populated empty pages
  • Loading branch information
PokeJofeJr4th authored Oct 27, 2024
2 parents ed1f3f0 + 0262ed5 commit e0aa355
Show file tree
Hide file tree
Showing 9 changed files with 57 additions and 11 deletions.
8 changes: 5 additions & 3 deletions next/app/about/AboutUsSlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,17 @@ export class AboutUsSlot implements ZCardContent {
getAlt = () => this.alt;

toContent(): FC {
return () => {
const name = this.name;
const description = this.description;
return function slotContent() {
return (
<div className='general-classes'>
<h2 className='title-classes'>
{this.name}
{name}
</h2>

<p className='description-classes'>
{this.description}
{description}
</p>
</div>
);
Expand Down
8 changes: 5 additions & 3 deletions next/app/about/committees/CommitteeSlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ export class CommitteeSlot implements ZCardContent {
}

toContent(): FC<{}> {
return () => {
const name = this.name;
const description = this.description;
return function slotContent() {
return (
<div className="general-classes">
<h2 className='name-classes'>
{this.name}
{name}
</h2>

<p className='description-classes'>
{this.description}
{description}
</p>
</div>
);
Expand Down
8 changes: 5 additions & 3 deletions next/app/about/get-involved/InvolvementSlot.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,17 @@ export class InvolvementSlot implements ZCardContent {
}

toContent(): FC<{}> {
return () => {
const title = this.title;
const body = this.body;
return function slotData() {
return (
<div className='general-classes'>
<h2 className='title-classes'>
{this.title}
{title}
</h2>

<p className='description-classes'>
{this.body}
{body}
</p>
</div>
);
Expand Down
8 changes: 7 additions & 1 deletion next/app/contributors/other-contributor/page.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
// Write your first page here!
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}
8 changes: 7 additions & 1 deletion next/app/contributors/tess-hacker/page.tsx
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
// Write your first page here!
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}
7 changes: 7 additions & 0 deletions next/app/events/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}
7 changes: 7 additions & 0 deletions next/app/events/springfling/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}
7 changes: 7 additions & 0 deletions next/app/events/winterball/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}
7 changes: 7 additions & 0 deletions next/app/mentoring/page.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
export default function Page() {
return (
<div>
<h1>Page</h1>
</div>
);
}

0 comments on commit e0aa355

Please sign in to comment.