Remove youtube alert

pull/4143/head
Kamran Ahmed 2 years ago
parent 7dfb630cb5
commit 0fa6ecd3ce
  1. 3
      src/components/FeaturedItems/MarkFavorite.tsx
  2. 4
      src/components/RoadmapHeader.astro
  3. 1
      src/components/VideoHeader.astro

@ -65,9 +65,8 @@ export function MarkFavorite({
}, },
}) })
); );
window.dispatchEvent(new CustomEvent('refresh-favorites', {}));
setIsFavorite(!isFavorite); window.dispatchEvent(new CustomEvent('refresh-favorites', {}));
setIsLoading(false); setIsLoading(false);
} }

@ -38,9 +38,7 @@ const isRoadmapReady = !isUpcoming;
<div class="border-b"> <div class="border-b">
<div class="container relative py-5 sm:py-12"> <div class="container relative py-5 sm:py-12">
<YouTubeAlert /> <div class="mb-3 mt-0 sm:mb-4">
<div class="mb-3 mt-0 sm:mb-4 sm:mt-4">
<h1 class="mb-0.5 text-2xl font-bold sm:mb-2 sm:text-4xl"> <h1 class="mb-0.5 text-2xl font-bold sm:mb-2 sm:text-4xl">
{title} {title}
<MarkFavorite <MarkFavorite

@ -1,5 +1,6 @@
--- ---
import type { VideoFileType } from '../lib/video'; import type { VideoFileType } from '../lib/video';
import YouTubeAlert from "./YouTubeAlert.astro";
export interface Props { export interface Props {
video: VideoFileType; video: VideoFileType;

Loading…
Cancel
Save