Skip to content

Commit d6860c4

Browse files
Merge pull request #31 from OpenRockets/copilot/build-super-website
Add PWA, SEO, and performance enhancements to create a super website
2 parents a6fad7d + d8abf04 commit d6860c4

8 files changed

Lines changed: 1138 additions & 7 deletions

File tree

.well-known/security.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
Contact: mailto:official@openrockets.com
2+
Preferred-Languages: en
3+
Canonical: https://openrockets.com/.well-known/security.txt
4+
Policy: https://github.com/OpenRockets/openrockets.com/security/policy
5+
Acknowledgments: https://github.com/OpenRockets/openrockets.com/graphs/contributors

index.html

Lines changed: 64 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,81 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>OpenRockets - Build the Future Together</title>
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
6+
<title>OpenRockets - Build the Future Together | Open Source Community</title>
77
<meta name="description" content="OpenRockets OSS - Advancing software, education, and data innovation through the power of open-source. Level up, Challenge, Grow, Contribute.">
88
<meta name="keywords" content="programming community, open source, coding, hackathons, builders, developers, students">
99
<meta name="author" content="OpenRockets">
10+
11+
<!-- Open Graph / Facebook -->
12+
<meta property="og:type" content="website">
13+
<meta property="og:url" content="https://openrockets.com/">
14+
<meta property="og:title" content="OpenRockets - Build the Future Together">
15+
<meta property="og:description" content="Join 31+ followers on GitHub. Contribute to innovative open-source projects. Level up, Challenge, Grow, Contribute with OpenRockets.">
16+
<meta property="og:image" content="https://openrockets.com/v/openrockets.png">
17+
18+
<!-- Twitter -->
19+
<meta property="twitter:card" content="summary_large_image">
20+
<meta property="twitter:url" content="https://openrockets.com/">
21+
<meta property="twitter:title" content="OpenRockets - Build the Future Together">
22+
<meta property="twitter:description" content="Join 31+ followers on GitHub. Contribute to innovative open-source projects. Level up, Challenge, Grow, Contribute with OpenRockets.">
23+
<meta property="twitter:image" content="https://openrockets.com/v/openrockets.png">
24+
<meta property="twitter:site" content="@OpenRockets">
25+
26+
<!-- PWA -->
27+
<link rel="manifest" href="/manifest.json">
28+
<meta name="theme-color" content="#EC3750">
29+
<meta name="apple-mobile-web-app-capable" content="yes">
30+
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
31+
<meta name="apple-mobile-web-app-title" content="OpenRockets">
32+
<link rel="apple-touch-icon" href="/v/openrockets.png">
33+
34+
<!-- Favicon -->
1035
<link rel="icon" type="image/png" href="i/assets/static/openthread_logo_bash-trans-removebg-preview (1).png">
11-
<script src="https://openrockets.com/scripts/opennetwork-banner.min.js"></script>
12-
<!-- Google Sans Font -->
36+
37+
<!-- Preconnect for performance -->
1338
<link rel="preconnect" href="https://fonts.googleapis.com">
1439
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
40+
<link rel="preconnect" href="https://cdnjs.cloudflare.com">
41+
<link rel="dns-prefetch" href="https://platform.twitter.com">
42+
43+
<script src="https://openrockets.com/scripts/opennetwork-banner.min.js"></script>
44+
<!-- Fonts with display swap for performance -->
1545
<link href="https://fonts.googleapis.com/css2?family=Google+Sans:wght@400;500;700&display=swap" rel="stylesheet">
1646

1747
<!-- Icons -->
18-
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css">
48+
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css" crossorigin="anonymous">
1949

2050
<!-- Styles -->
2151
<link rel="stylesheet" href="styles/hackclub-style.css">
52+
<link rel="stylesheet" href="styles/super-enhancements.css">
53+
54+
<!-- Structured Data for SEO -->
55+
<script type="application/ld+json">
56+
{
57+
"@context": "https://schema.org",
58+
"@type": "Organization",
59+
"name": "OpenRockets Foundation",
60+
"url": "https://openrockets.com",
61+
"logo": "https://openrockets.com/v/openrockets.png",
62+
"description": "OpenRockets OSS - Advancing software, education, and data innovation through the power of open-source.",
63+
"sameAs": [
64+
"https://github.com/OpenRockets",
65+
"https://twitter.com/OpenRockets",
66+
"https://bit.ly/openrockets-discord"
67+
],
68+
"contactPoint": {
69+
"@type": "ContactPoint",
70+
"email": "official@openrockets.com",
71+
"contactType": "General Inquiries"
72+
}
73+
}
74+
</script>
2275
</head>
2376
<body>
77+
<!-- Skip to main content for accessibility -->
78+
<a href="#home" class="skip-to-main">Skip to main content</a>
79+
2480
<!-- Navigation -->
2581
<nav class="navbar">
2682
<div class="nav-container">
@@ -75,8 +131,8 @@ <h1 class="hero-title">
75131

76132
<!-- Student illustrations -->
77133
<div class="hero-illustrations">
78-
<img src="i/sketches/pngtree-illustration-of-a-girl-wearing-a-hat-coloring-pages-vector-png-image_6781618.png" alt="Student builder" class="hero-img girl-coding">
79-
<img src="i/sketches/454-4543412_for-practitioners-supporting-young-people-moving-to-school.png" alt="Young developers" class="hero-img students-group">
134+
<img src="i/sketches/pngtree-illustration-of-a-girl-wearing-a-hat-coloring-pages-vector-png-image_6781618.png" alt="Student builder" class="hero-img girl-coding" loading="lazy">
135+
<img src="i/sketches/454-4543412_for-practitioners-supporting-young-people-moving-to-school.png" alt="Young developers" class="hero-img students-group" loading="lazy">
80136
</div>
81137
</section>
82138

@@ -911,6 +967,7 @@ <h5>Legal</h5>
911967
<!-- Scripts -->
912968
<script src="scripts/navigation.js"></script>
913969
<script src="scripts/hackclub-interactions.js"></script>
970+
<script src="scripts/enhancements.js"></script>
914971

915972
<!-- Parrot Assistant -->
916973
<div id="parrot-assistant" class="parrot-assistant">

manifest.json

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
{
2+
"name": "OpenRockets - Build the Future Together",
3+
"short_name": "OpenRockets",
4+
"description": "OpenRockets OSS - Advancing software, education, and data innovation through the power of open-source. Level up, Challenge, Grow, Contribute.",
5+
"start_url": "/",
6+
"display": "standalone",
7+
"background_color": "#ffffff",
8+
"theme_color": "#EC3750",
9+
"orientation": "portrait-primary",
10+
"icons": [
11+
{
12+
"src": "/i/assets/static/openthread_logo_bash-trans-removebg-preview (1).png",
13+
"sizes": "192x192",
14+
"type": "image/png",
15+
"purpose": "any maskable"
16+
},
17+
{
18+
"src": "/v/openrockets.png",
19+
"sizes": "512x512",
20+
"type": "image/png",
21+
"purpose": "any maskable"
22+
}
23+
],
24+
"categories": ["education", "development", "productivity"],
25+
"screenshots": [
26+
{
27+
"src": "/v/cityofgits-summercap-dark-lg-4000x1010.png",
28+
"sizes": "4000x1010",
29+
"type": "image/png"
30+
}
31+
],
32+
"shortcuts": [
33+
{
34+
"name": "Join OpenRockets",
35+
"short_name": "Join",
36+
"description": "Join the OpenRockets community",
37+
"url": "/join.html",
38+
"icons": [
39+
{
40+
"src": "/v/openrockets.png",
41+
"sizes": "192x192"
42+
}
43+
]
44+
},
45+
{
46+
"name": "Events Calendar",
47+
"short_name": "Events",
48+
"description": "View upcoming events and hackathons",
49+
"url": "/calendar.html",
50+
"icons": [
51+
{
52+
"src": "/v/openrockets.png",
53+
"sizes": "192x192"
54+
}
55+
]
56+
},
57+
{
58+
"name": "Community",
59+
"short_name": "Community",
60+
"description": "Connect with the OpenRockets community",
61+
"url": "/community.html",
62+
"icons": [
63+
{
64+
"src": "/v/openrockets.png",
65+
"sizes": "192x192"
66+
}
67+
]
68+
}
69+
]
70+
}

robots.txt

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# robots.txt for OpenRockets.com
2+
3+
User-agent: *
4+
Allow: /
5+
6+
# Sitemap location
7+
Sitemap: https://openrockets.com/sitemap.xml
8+
9+
# Disallow private directories
10+
Disallow: /node_modules/
11+
Disallow: /.git/
12+
Disallow: /.vscode/
13+
Disallow: /uploads/
14+
Disallow: /form/js/
15+
16+
# Allow important resources
17+
Allow: /scripts/
18+
Allow: /styles/
19+
Allow: /v/
20+
Allow: /assets/
21+
22+
# Crawl-delay (be nice to smaller bots)
23+
Crawl-delay: 1

0 commit comments

Comments
 (0)