modified: components/youtube.tsx

modified:   package.json
	modified:   public/sitemap-0.xml
main
joker 2 years ago
parent ba1c3fb19b
commit 1befdc443b
  1. 21
      components/youtube.tsx
  2. 2
      package.json
  3. 24
      public/sitemap-0.xml

@ -3,17 +3,18 @@ type TableOfContentsProps = {
}; };
export function YouTube({ id }: TableOfContentsProps) { export function YouTube({ id }: TableOfContentsProps) {
return ( return (
<section className="mt-8 mb-10 flex w-full flex-col rounded bg-slate-300/50 dark:bg-slate-600/50 sm:w-fit"> <section className="mt-8 flex w-full flex-col rounded bg-slate-300/50 dark:bg-slate-600/50 sm:w-fit">
<iframe <div>
width="730" <iframe
height="480" width="730"
src={"https://www.youtube.com/embed/" + id} height="480"
title="YouTube video player" src={"https://www.youtube.com/embed/" + id}
allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" title="YouTube video player"
> allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
</iframe> >
</iframe>
</div>
</section> </section>
); );
} }

@ -1,6 +1,6 @@
{ {
"name": "blog", "name": "blog",
"version": "1.3.6", "version": "1.3.7",
"scripts": { "scripts": {
"dev": "next dev", "dev": "next dev",
"test": "npx vitest", "test": "npx vitest",

@ -1,14 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1"> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://edu.krasnikov.pro/posts</loc><lastmod>2023-11-08T04:40:37.596Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/exam/minimum-knowledge-of-python</loc><lastmod>2023-11-16T12:35:20.587Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/class-10g</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/about</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/class-10v</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/exam/minimum-knowledge-of-python</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/ms-power</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/ms-power</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/ms-word</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/ms-word</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/python-pygames</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/python-pygames</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/python-task</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/python-task</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/python-turtle</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/python-turtle</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/informatics/python-well</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/informatics/python-well</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro/posts/textbook/python</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts/textbook/python</loc><lastmod>2023-11-08T04:40:37.597Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url> <url><loc>https://edu.krasnikov.pro</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/about</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://edu.krasnikov.pro/posts</loc><lastmod>2023-11-16T12:35:20.588Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset> </urlset>
Loading…
Cancel
Save