Skip to content

Commit 64ca671

Browse files
committed
Add missing templates
1 parent 48617ef commit 64ca671

File tree

6 files changed

+182
-0
lines changed

6 files changed

+182
-0
lines changed

src/layouts/Center.astro

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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>

src/layouts/Outreach.astro

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
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>

src/layouts/Partnerships.astro

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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>

src/layouts/Publication.astro

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
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>

src/layouts/Tools.astro

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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>

src/layouts/UseCase.astro

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
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>

0 commit comments

Comments
 (0)