From c20caa7dc4cb4df08d40bb59db068a28540ed9b5 Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Mar 2024 21:35:56 +0000 Subject: [PATCH 1/4] Update Video Gallery Component --- app/local/content/extras/index.ts | 2 + .../content/extras/videos/VideoGallery.tsx | 68 ++++++++++++++++++ app/public/content/videos/ethdenver24.webp | Bin 0 -> 3242 bytes docs/index.mdx | 52 +------------- 4 files changed, 71 insertions(+), 51 deletions(-) create mode 100644 app/local/content/extras/videos/VideoGallery.tsx create mode 100644 app/public/content/videos/ethdenver24.webp diff --git a/app/local/content/extras/index.ts b/app/local/content/extras/index.ts index 853d786c6..99a126a72 100644 --- a/app/local/content/extras/index.ts +++ b/app/local/content/extras/index.ts @@ -7,6 +7,7 @@ import { SmartContractMap } from './smartcontractmap/SmartContractMap'; import { DNSGrid } from './tld-list/DNSGrid'; import { TLDList } from './tld-list/TLDList'; import { Usertag } from './usertag/Usertag'; +import { VideoGallery } from './videos/VideoGallery'; export const extras = { DNSUsageExamples, @@ -18,4 +19,5 @@ export const extras = { SmartContractMap, Icons, LinkCard, + VideoGallery, }; diff --git a/app/local/content/extras/videos/VideoGallery.tsx b/app/local/content/extras/videos/VideoGallery.tsx new file mode 100644 index 000000000..548976c30 --- /dev/null +++ b/app/local/content/extras/videos/VideoGallery.tsx @@ -0,0 +1,68 @@ +import { FC } from 'react'; + +export const VideoGallery: FC<{}> = () => { + return ( +
+ {[ + { + title: 'ETHDenver ENS Workshop', + location: 'ETHDenver', + description: '', + href: 'https://www.youtube.com/watch?v=hz1KH1qvzB4', + cover: '/content/videos/ethdenver24.webp', + }, + { + title: 'ETHRome ENS Workshop 1', + location: 'ETHRome', + description: + 'Greg, from ENS, gives an introductory workshop around what ENS is, why it is important, how it works, and how to build on top of it.', + href: 'https://www.youtube.com/watch?v=HIDPGdTDCj8', + cover: 'https://i3.ytimg.com/vi_webp/HIDPGdTDCj8/mqdefault.webp', + }, + { + title: 'ETHRome ENS Workshop 2', + location: 'ETHRome', + description: 'Luc, from ENS, ', + href: 'https://www.youtube.com/watch?v=SHuCDqPbAP4', + cover: 'https://i3.ytimg.com/vi_webp/SHuCDqPbAP4/mqdefault.webp', + }, + { + title: 'Cross Chain Interoperability', + location: 'ETHPrague', + description: '', + href: 'https://www.youtube.com/watch?v=URnUs4sSrU4', + cover: 'https://i3.ytimg.com/vi_webp/URnUs4sSrU4/mqdefault.webp', + }, + { + title: 'State of ENS by Nick Johnson', + location: 'Devcon Bogota', + description: + "An overview of ENS's innovations and progress in the last couple of years", + href: 'https://www.youtube.com/watch?v=Pta198KJTaw', + cover: 'https://i3.ytimg.com/vi_webp/Pta198KJTaw/mqdefault.webp', + }, + ].map((entry, index) => ( + +
+ {entry.cover && ( + + )} +
+
+ {entry.title} +

{entry.location}

+ {/*

{entry.description}

*/} +
+
+ ))} +
+ ); +}; diff --git a/app/public/content/videos/ethdenver24.webp b/app/public/content/videos/ethdenver24.webp new file mode 100644 index 0000000000000000000000000000000000000000..d18dd1e07664637333a571a8189cdcb22301f1ce GIT binary patch literal 3242 zcmV;b3{~?|Nk&GZ3;+OEMM6+kP&go#3;+O7J^-BoDnJ3W06uLtm`NleqM;+SD9C^f ziDho#bfFOz+tzwNI-2|V-z5E{#ecN_<$rJdxA+0-N6a7flcc|x@7aIZZ*^bz|F9nI z|6u)qKc;_W^sn|s{o0`=zaC<6Se`X~Hv2rWl^3(H;MB|tyVfA;-1|LOlT=s)Ry{a)hV%|EvFkNwd0 zMg3j@*Ib&S_T$gY(WHj7;+M_naZQYO816CK;E{ng_jmfX1!ay=9BR2@n;7mf++(=3 zP(aGseVHbZ!%Xm(_vXesjCU5a#tH25&#V7e{;&OC`j-ikxlzf+V!Hz-nZC_e^2cUA zt!r94WcwtX09*=U_h^p- zuM%#~b5r(Zl~^Wx;)v^}?Q#R;se3t@4JGO=z`l0kq`m#=CN!K;&k5)XJdG4BF{VtCP(0rnJN(RMPSgAN*f;Zo@_5m#PJxuQC|QL0vvw9$esuO7GzfW3jC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`|#od5s; literal 0 HcmV?d00001 diff --git a/docs/index.mdx b/docs/index.mdx index b096e8f1c..fc10c3ff8 100644 --- a/docs/index.mdx +++ b/docs/index.mdx @@ -118,56 +118,6 @@ export const meta = {

Videos

-
- {[ - { - title: "ETHRome ENS Workshop 1", - location: "ETHRome", - description: - "Greg, from ENS, gives an introductory workshop around what ENS is, why it is important, how it works, and how to build on top of it.", - href: "https://www.youtube.com/watch?v=HIDPGdTDCj8", - cover: "https://i3.ytimg.com/vi_webp/HIDPGdTDCj8/mqdefault.webp", - }, - { - title: "ETHRome ENS Workshop 2", - location: "ETHRome", - description: "Luc, from ENS, ", - href: "https://www.youtube.com/watch?v=SHuCDqPbAP4", - cover: "https://i3.ytimg.com/vi_webp/SHuCDqPbAP4/mqdefault.webp", - }, - { - title: "Cross Chain Interoperability", - location: "ETHPrague", - description: "", - href: "https://www.youtube.com/watch?v=URnUs4sSrU4", - cover: "https://i3.ytimg.com/vi_webp/URnUs4sSrU4/mqdefault.webp", - }, - { - title: "State of ENS by Nick Johnson", - location: "Devcon Bogota", - description: - "An overview of ENS's innovations and progress in the last couple of years", - href: "https://www.youtube.com/watch?v=Pta198KJTaw", - cover: "https://i3.ytimg.com/vi_webp/Pta198KJTaw/mqdefault.webp", - }, - ].map((entry, i) => ( - -
- {entry.cover && ( - - )} -
-
- {entry.title} -

{entry.location}

- {/*

{entry.description}

*/} -
-
- ))} -
+ From f9448e969497c00a93680895c54f438f8da323c7 Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Mar 2024 21:39:04 +0000 Subject: [PATCH 2/4] Bump --- app/local/content/extras/videos/VideoGallery.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/app/local/content/extras/videos/VideoGallery.tsx b/app/local/content/extras/videos/VideoGallery.tsx index 548976c30..8c5094fc5 100644 --- a/app/local/content/extras/videos/VideoGallery.tsx +++ b/app/local/content/extras/videos/VideoGallery.tsx @@ -11,6 +11,13 @@ export const VideoGallery: FC<{}> = () => { href: 'https://www.youtube.com/watch?v=hz1KH1qvzB4', cover: '/content/videos/ethdenver24.webp', }, + { + title: 'February 2024 Docs Update', + location: 'Documentation', + description: '', + href: 'https://www.youtube.com/watch?v=GwX_m28SSOA', + cover: 'https://i3.ytimg.com/vi_webp/GwX_m28SSOA/mqdefault.webp', + }, { title: 'ETHRome ENS Workshop 1', location: 'ETHRome', From 786b1de5830034d04ca7d7fcaf8c2738c1cbeae2 Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Mar 2024 21:39:49 +0000 Subject: [PATCH 3/4] Bump --- app/local/content/extras/videos/VideoGallery.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/local/content/extras/videos/VideoGallery.tsx b/app/local/content/extras/videos/VideoGallery.tsx index 8c5094fc5..21130fdfb 100644 --- a/app/local/content/extras/videos/VideoGallery.tsx +++ b/app/local/content/extras/videos/VideoGallery.tsx @@ -44,6 +44,7 @@ export const VideoGallery: FC<{}> = () => { title: 'State of ENS by Nick Johnson', location: 'Devcon Bogota', description: + // eslint-disable-next-line quotes "An overview of ENS's innovations and progress in the last couple of years", href: 'https://www.youtube.com/watch?v=Pta198KJTaw', cover: 'https://i3.ytimg.com/vi_webp/Pta198KJTaw/mqdefault.webp', From be1c63bf26ed2cb31189b2cabd3a533f042e798f Mon Sep 17 00:00:00 2001 From: Luc Date: Thu, 7 Mar 2024 21:52:01 +0000 Subject: [PATCH 4/4] Bump --- app/local/content/extras/videos/VideoGallery.tsx | 1 - 1 file changed, 1 deletion(-) diff --git a/app/local/content/extras/videos/VideoGallery.tsx b/app/local/content/extras/videos/VideoGallery.tsx index 21130fdfb..c03b8013a 100644 --- a/app/local/content/extras/videos/VideoGallery.tsx +++ b/app/local/content/extras/videos/VideoGallery.tsx @@ -53,7 +53,6 @@ export const VideoGallery: FC<{}> = () => {
{entry.cover && (