-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathLayout.astro
126 lines (108 loc) · 3.36 KB
/
Layout.astro
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
---
import "@fontsource-variable/rubik";
import { AstroSeo } from "@astrolib/seo";
---
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link
rel="apple-touch-icon"
sizes="180x180"
href="/apple-touch-icon.png?"
/>
<link
rel="icon"
type="image/png"
sizes="32x32"
href="/favicon-32x32.png?"
/>
<link
rel="icon"
type="image/png"
sizes="16x16"
href="/favicon-16x16.png?"
/>
<link rel="manifest" href="/site.webmanifest" />
<AstroSeo
title="TigerApps - Apps for Princeton Students"
description="TigerApps is a student-run organization that builds and maintains student-developed web applications used by over 90% of students at Princeton University."
canonical="https://tigerapps.org"
openGraph={{
url: "https://tigerapps.org",
title: "TigerApps - Apps for Princeton Students",
site_name: "TigerApps Homepage",
description:
"TigerApps is a student-run organization that builds and maintains student-developed web applications used by over 90% of students at Princeton University.",
images: [
{
url: "https://tigerapps.org/og-image.png",
width: 1200,
height: 630,
alt: "TigerApps - Apps for Princeton Students"
}
]
}}
/>
</head>
<body id="top">
<slot />
</body>
</html>
<style is:global lang="postcss">
body {
font-family: 'Rubik Variable', sans-serif;
}
section {
scroll-margin: 4rem;
}
h2,
h3 {
@apply text-secondary text-4xl font-semibold uppercase;
}
h4 {
@apply text-secondary font-semibold text-xl;
}
h5 {
@apply text-secondary font-semibold text-lg;
}
.cont {
@apply max-w-7xl mx-auto px-4 md:px-8 lg:px-12 w-full;
}
.constrained {
@apply w-5/6 mx-auto max-w-5xl;
}
.app-grid {
display: grid;
gap: 2rem;
grid-template-columns: 1fr;
article {
width: 100%;
}
@media screen and (min-width: 768px) {
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
max-width: 100%;
article {
grid-column: span 2;
}
article:last-child:nth-child(2n - 1) {
grid-column-end: -2;
}
}
@media screen and (min-width: 1280px) {
grid-template-columns: repeat(6, 1fr);
article:last-child:nth-child(2n - 1) {
grid-column-end: auto;
}
article:last-child:nth-child(3n - 1) {
grid-column-end: -2;
}
article:nth-last-child(2):nth-child(3n + 1) {
grid-column-end: 4;
}
article:last-child:nth-child(3n - 2) {
grid-column-end: 5;
}
}
}
</style>