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" ;
7
7
8
- import styles from ' ./index.module.css' ;
8
+ import styles from " ./index.module.css" ;
9
9
10
10
function HomepageHeader ( ) {
11
11
const { siteConfig } = useDocusaurusContext ( ) ;
12
12
return (
13
- < header className = { clsx ( ' --landing' , styles . heroBanner ) } >
13
+ < header className = { clsx ( " --landing" , styles . heroBanner ) } >
14
14
< div className = "container" >
15
15
< Heading as = "h1" className = "hero__title" >
16
16
{ siteConfig . title }
17
17
</ 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 >
20
35
< 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" >
24
37
Discover our Blog
25
38
</ Link >
26
39
< Link
27
40
className = "button button--secondary button--lg test"
28
- to = "https://discord.gg/" >
41
+ to = "https://discord.gg/"
42
+ >
29
43
Join our Discord Server
30
44
</ Link >
31
45
</ div >
@@ -39,23 +53,30 @@ export default function Home(): JSX.Element {
39
53
return (
40
54
< Layout
41
55
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
+ >
43
58
< HomepageHeader />
44
59
< main >
45
60
< HomepageFeatures />
46
61
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
+ >
52
69
< 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
+ />
59
80
</ a >
60
81
< a href = "/webring/frogs/gp-blog/next" > ➡️</ a >
61
82
</ div >
0 commit comments