File tree Expand file tree Collapse file tree 6 files changed +182
-0
lines changed
Expand file tree Collapse file tree 6 files changed +182
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <div class =" flex w-48 h-48 justify-center items-center" ><img src ={ frontmatter .icon } class =" max-w-96 max-h-96" /></div >
25+ <h1 class =" text-4xl font-bold" >{ frontmatter .label } </h1 >
26+ <slot />
27+ </main >
28+ </body >
29+ </html >
Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <div class =" flex w-48 h-48 justify-center items-center" ><img src ={ frontmatter .icon } class =" max-w-96 max-h-96" /></div >
25+ <h1 class =" text-4xl font-bold" >{ frontmatter .label } </h1 >
26+ <slot />
27+ </main >
28+ </body >
29+ </html >
Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <div class =" flex w-48 h-48 justify-center items-center" ><img src ={ frontmatter .icon } class =" max-w-96 max-h-96" /></div >
25+ <h1 class =" text-4xl font-bold" >{ frontmatter .title } </h1 >
26+ <slot />
27+ <div class =" flex flex-row gap-4" >
28+ <a class =" font-bold" href ={ frontmatter .website } target =" _blank" >Website</a >
29+ </div >
30+ </main >
31+ </body >
32+ </html >
Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <h1 class =" text-4xl font-bold" >{ frontmatter .title } </h1 >
25+ <slot />
26+ </main >
27+ </body >
28+ </html >
Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <div class =" flex w-48 h-48 justify-center items-center" ><img src ={ frontmatter .image } class =" max-w-96 max-h-96" /></div >
25+ <h1 class =" text-4xl font-bold" >{ frontmatter .label } </h1 >
26+ <slot />
27+ <div class =" flex flex-row gap-4" >
28+ <a class =" font-bold" href ={ frontmatter .url } target =" _blank" >Website</a >
29+ </div >
30+ </main >
31+ </body >
32+ </html >
Original file line number Diff line number Diff line change 1+ ---
2+ const { frontmatter } = Astro .props
3+ ---
4+
5+ <html lang =" en" >
6+ <head >
7+ <meta charset =" utf-8" />
8+ <meta name =" viewport" content =" width=device-width" />
9+ <meta name =" generator" content ={ Astro .generator } />
10+ <link rel =" icon" type =" image/svg+xml" href =" /favicon.svg" />
11+ <style >
12+ html,
13+ body {
14+ font-family: system-ui;
15+ margin: 0;
16+ }
17+ body {
18+ padding: 2rem;
19+ }
20+ </style >
21+ </head >
22+ <body >
23+ <main class =" flex flex-col gap-2" >
24+ <div class =" flex w-48 h-48 justify-center items-center" ><img src ={ frontmatter .image } class =" max-w-96 max-h-96" /></div >
25+ <h1 class =" text-4xl font-bold" >{ frontmatter .title } </h1 >
26+ <slot />
27+ <div class =" flex flex-row gap-4" >
28+ <a class =" font-bold" href ={ frontmatter .link } target =" _blank" >Website</a >
29+ </div >
30+ </main >
31+ </body >
32+ </html >
You can’t perform that action at this time.
0 commit comments