1- import clsx from ' clsx' ;
2- import Link from ' @docusaurus/Link' ;
3- import useDocusaurusContext from ' @docusaurus/useDocusaurusContext' ;
4- import Layout from ' @theme/Layout' ;
5- import HomepageFeatures from ' @site/src/components/HomepageFeatures' ;
6- import Heading from ' @theme/Heading' ;
1+ import clsx from " clsx" ;
2+ import Link from " @docusaurus/Link" ;
3+ import useDocusaurusContext from " @docusaurus/useDocusaurusContext" ;
4+ import Layout from " @theme/Layout" ;
5+ import HomepageFeatures from " @site/src/components/HomepageFeatures" ;
6+ import Heading from " @theme/Heading" ;
77
8- import styles from ' ./index.module.css' ;
8+ import styles from " ./index.module.css" ;
99
1010function HomepageHeader ( ) {
1111 const { siteConfig } = useDocusaurusContext ( ) ;
1212 return (
13- < header className = { clsx ( ' --landing' , styles . heroBanner ) } >
13+ < header className = { clsx ( " --landing" , styles . heroBanner ) } >
1414 < div className = "container" >
1515 < Heading as = "h1" className = "hero__title" >
1616 { siteConfig . title }
1717 </ Heading >
18- < p className = "hero__subtitle" > Articles, guides, tips and tricks from and for frogs and forgis of the Graphics Programming discord.< br /> This is what we do</ p >
19- < iframe className = { styles . ytEmbed } width = "960" height = "520" src = "https://www.youtube.com/embed/E07I1VRYlcg?si=PUsHfqq3YKLIp2kS" title = "YouTube video player" frameborder = "0" allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share" referrerpolicy = "strict-origin-when-cross-origin" allowfullscreen > </ iframe >
18+ < p className = "hero__subtitle" >
19+ Articles, guides, tips and tricks from and for frogs and forgis of the
20+ Graphics Programming discord.
21+ < br />
22+ This is what we do
23+ </ p >
24+ < iframe
25+ className = { styles . ytEmbed }
26+ width = "960"
27+ height = "520"
28+ src = "https://www.youtube.com/embed/E07I1VRYlcg?si=PUsHfqq3YKLIp2kS"
29+ title = "YouTube video player"
30+ frameborder = "0"
31+ allow = "accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share"
32+ referrerpolicy = "strict-origin-when-cross-origin"
33+ allowfullscreen
34+ > </ iframe >
2035 < div className = { styles . buttons } >
21- < Link
22- className = "button button--secondary button--lg test"
23- to = "/blog" >
36+ < Link className = "button button--secondary button--lg test" to = "/blog" >
2437 Discover our Blog
2538 </ Link >
2639 < Link
2740 className = "button button--secondary button--lg test"
28- to = "https://discord.gg/" >
41+ to = "https://discord.gg/"
42+ >
2943 Join our Discord Server
3044 </ Link >
3145 </ div >
@@ -39,23 +53,30 @@ export default function Home(): JSX.Element {
3953 return (
4054 < Layout
4155 title = { `Hello from ${ siteConfig . title } ` }
42- description = "Description will go into a meta tag in <head />" >
56+ description = "Description will go into a meta tag in <head />"
57+ >
4358 < HomepageHeader />
4459 < main >
4560 < HomepageFeatures />
4661
47- < div style = { {
48- display : 'flex' ,
49- gap : '0.25rem' ,
50- justifyContent : 'center' ,
51- } } >
62+ < div
63+ style = { {
64+ display : "flex" ,
65+ gap : "0.25rem" ,
66+ justifyContent : "center" ,
67+ } }
68+ >
5269 < a href = "/webring/frogs/gp-blog/prev" > ⬅️</ a >
53- < a href = "/webring/frogs/" >
54- < img src = "/img/froge.webp" alt = "a friendly froge" style = { {
55- objectFit : 'contain' ,
56- width : '1.5em' ,
57- height : '1.5em' ,
58- } } />
70+ < a href = "/webring/" >
71+ < img
72+ src = "/img/froge.webp"
73+ alt = "a friendly froge"
74+ style = { {
75+ objectFit : "contain" ,
76+ width : "1.5em" ,
77+ height : "1.5em" ,
78+ } }
79+ />
5980 </ a >
6081 < a href = "/webring/frogs/gp-blog/next" > ➡️</ a >
6182 </ div >
0 commit comments