Skip to content

Commit

Permalink
fix package-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
mruwnik committed Oct 28, 2024
1 parent 642b60b commit 45f509e
Show file tree
Hide file tree
Showing 5 changed files with 12,618 additions and 35,208 deletions.
18 changes: 9 additions & 9 deletions app/components/VideoThumbnail/videothumbnail.tsx
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react';
import PlayIcon from '~/components/icons-generated/Play';
import React from 'react'
import PlayIcon from '~/components/icons-generated/Play'

interface VideoThumbnailProps {
imageUrl: string;
altText: string;
tag?: string;
imageUrl: string
altText: string
tag?: string
}

const VideoThumbnail: React.FC<VideoThumbnailProps> = ({ imageUrl, altText, tag }) => {
const VideoThumbnail: React.FC<VideoThumbnailProps> = ({imageUrl, altText, tag}) => {
return (
<div className="relative rounded-lg overflow-hidden shadow-md">
{tag && (
Expand All @@ -22,7 +22,7 @@ const VideoThumbnail: React.FC<VideoThumbnailProps> = ({ imageUrl, altText, tag
</div>
</div>
</div>
);
};
)
}

export default VideoThumbnail;
export default VideoThumbnail
2 changes: 1 addition & 1 deletion app/root.css
Original file line number Diff line number Diff line change
Expand Up @@ -843,4 +843,4 @@ button {
}
}

/* end mobile */
/* end mobile */
10 changes: 2 additions & 8 deletions app/routes/how-can-i-help.grassroots.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ import CategoryCarousel from '~/components/HowCanIHelp/CatgoryCarousel'
import Base from '~/components/HowCanIHelp/Base'
import {useEffect} from 'react'
import VideoImg from '~/assets/video_thumbnail.png'
import PlayIcon from '~/components/icons-generated/Play'
import VideoThumbnail from '~/components/VideoThumbnail/videothumbnail';
import VideoThumbnail from '~/components/VideoThumbnail/videothumbnail'

export const meta: MetaFunction = () => {
return [{title: 'How Can I Help? - AISafety.info'}]
Expand Down Expand Up @@ -45,12 +44,7 @@ const WhatYouCanDo = () => (
tag: 'Top recommendation',
title: "A.I. - Humanity's Final Invention?",
action: 'https://youtu.be/fa8k8IQ1_X0?si=b2l0Ex6KQvt6JyQD',
image: (
<VideoThumbnail
imageUrl={VideoImg}
altText="video-playlist"
/>
)
image: <VideoThumbnail imageUrl={VideoImg} altText="video-playlist" />,
},
]}
additionalInfo={
Expand Down
1 change: 0 additions & 1 deletion app/routes/how-can-i-help.volunteer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ export default function Volunteer() {
}
}, [])
return (

<Base title={<span>Volunteer</span>} current="volunteer">
<TopText />

Expand Down
Loading

0 comments on commit 45f509e

Please sign in to comment.