Skip to content

Commit

Permalink
Build fix w/ feature type
Browse files Browse the repository at this point in the history
  • Loading branch information
TyHil committed May 10, 2024
1 parent 6073a09 commit 4e29a60
Show file tree
Hide file tree
Showing 6 changed files with 52 additions and 9 deletions.
3 changes: 2 additions & 1 deletion src/components/Projects.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import ArrowButton from '@/../public/testimonials/arrow-button.svg';
import { createRef, useEffect, useState } from 'react';
import Image, { StaticImageData } from 'next/image';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';
import Carousel from './Carousel';
import Planner from '@/../public/projects/planner.png';
import Skedge from '@/../public/projects/skedge.png';
Expand Down
12 changes: 10 additions & 2 deletions src/pages/projects/api.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,27 @@ import Head from 'next/head';
import Rectangle from '@/../public/rectangle.png';
import Cover from '@/../public/api/cover.png';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';

import medal from '@/../public/api/icons8-gold-medal-100.png';
import test_tube from '@/../public/api/icons8-test-tube-100.png';
import stopwatch from '@/../public/api/icons8-stopwatch-100.png';

const features = [
interface Feature {
title: string;
description: string;
img: StaticImageData;
alt: string;
imgOffset?: string;
}

const features: Feature[] = [
{
title: 'Spreadsheet where?',
description:
"Bye-bye clunky spreadsheets, hello easy-peasy degree planning with simple click-and-drag action. You're welcome!",
img: medal,
alt: 'medal',
imgOffset: '',
},
{
title: 'Slay your progress!',
Expand Down
11 changes: 10 additions & 1 deletion src/pages/projects/jupiter.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ import Head from 'next/head';
import Rectangle from '@/../public/rectangle.png';
import Cover from '@/../public/jupiter/cover.png';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';

import search from '@/../public/jupiter/icons8-search-100.png';
import calendar from '@/../public/jupiter/icons8-calendar-100.png';
import community from '@/../public/jupiter/icons8-community-100.png';

const features = [
interface Feature {
title: string;
description: string;
img: StaticImageData;
alt: string;
imgOffset?: string;
}

const features: Feature[] = [
{
title: 'Browse our communities',
description:
Expand Down
11 changes: 10 additions & 1 deletion src/pages/projects/planner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,21 @@ import Head from 'next/head';
import Rectangle from '@/../public/rectangle.png';
import Cover from '@/../public/planner/cover.png';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';

import browser from '@/../public/planner/icons8-browser-100.png';
import sword from '@/../public/planner/icons8-sword-100.png';
import stopwatch from '@/../public/planner/icons8-stopwatch-100.png';

const features = [
interface Feature {
title: string;
description: string;
img: StaticImageData;
alt: string;
imgOffset?: string;
}

const features: Feature[] = [
{
title: 'Spreadsheet where?',
description:
Expand Down
12 changes: 10 additions & 2 deletions src/pages/projects/skedge.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import Head from 'next/head';
import Rectangle from '@/../public/rectangle.png';
import Cover from '@/../public/skedge/cover.png';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';

import Chrome from '@/../public/skedge/chrome.png';
import Firefox from '@/../public/skedge/firefox.png';
Expand All @@ -13,14 +14,21 @@ import medal from '@/../public/skedge/icons8-gold-medal-100.png';
import test_tube from '@/../public/skedge/icons8-test-tube-100.png';
import stopwatch from '@/../public/skedge/icons8-stopwatch-100.png';

const features = [
interface Feature {
title: string;
description: string;
img: StaticImageData;
alt: string;
imgOffset?: string;
}

const features: Feature[] = [
{
title: 'Spreadsheet where?',
description:
"Bye-bye clunky spreadsheets, hello easy-peasy degree planning with simple click-and-drag action. You're welcome!",
img: medal,
alt: 'medal',
imgOffset: '',
},
{
title: 'Slay your progress!',
Expand Down
12 changes: 10 additions & 2 deletions src/pages/projects/trends.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,27 @@ import Head from 'next/head';
import Rectangle from '@/../public/rectangle.png';
import Cover from '@/../public/trends/cover.png';
import Image from 'next/image';
import type { StaticImageData } from 'next/image';

import medal from '@/../public/trends/icons8-gold-medal-100.png';
import test_tube from '@/../public/trends/icons8-test-tube-100.png';
import stopwatch from '@/../public/trends/icons8-stopwatch-100.png';

const features = [
interface Feature {
title: string;
description: string;
img: StaticImageData;
alt: string;
imgOffset?: string;
}

const features: Feature[] = [
{
title: 'Spreadsheet where?',
description:
"Bye-bye clunky spreadsheets, hello easy-peasy degree planning with simple click-and-drag action. You're welcome!",
img: medal,
alt: 'medal',
imgOffset: '',
},
{
title: 'Slay your progress!',
Expand Down

0 comments on commit 4e29a60

Please sign in to comment.