Files
web/index.html
Noah f0ce557c03
All checks were successful
Deploy Pages / deploy (push) Successful in 25s
remove unneeded email obfuscation
2025-04-25 16:08:34 -04:00

296 lines
8.6 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<!-- Ensure proper scaling on mobile devices -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<!-- Site Description & Keywords -->
<meta name="description" content="A Connecticut Meshtastic User Group. Join the local community to connect, share, and explore with fellow enthusiasts.">
<meta name="keywords" content="CT Mesh, Meshtastic, Connecticut, CT, community, user group, Discord, map">
<meta name="author" content="CT Mesh">
<link rel="shortcut icon" type="image/x-icon" href="favicon.png?3">
<!-- Open Graph / Facebook -->
<meta property="og:title" content="CT Mesh">
<meta property="og:description" content="A Connecticut Meshtastic User Group. Join the local community to connect, share, and explore with fellow enthusiasts.">
<meta property="og:image" content="favicon.png?3">
<meta property="og:url" content="https://ctmesh.org">
<meta property="og:type" content="website">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="CT Mesh">
<meta name="twitter:description" content="A Connecticut Meshtastic User Group. Join the local community to connect, share, and explore with fellow enthusiasts.">
<meta name="twitter:image" content="favicon.png?3">
<!-- Fonts and Icons -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<link rel="icon" type="image/png" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="57x57" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="72x72" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="114x114" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="120x120" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="144x144" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="152x152" href="favicon.png?3">
<link rel="apple-touch-icon" sizes="180x180" href="favicon.png?3">
<meta name="msapplication-TileColor" content="#67EA94">
<meta name="msapplication-TileImage" content="favicon.png?3">
<meta name="theme-color" content="#67EA94">
<title>CT Mesh</title>
<style>
html, body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
body {
font-family: "Roboto", sans-serif;
background: url('background.svg') no-repeat center center fixed;
background-size: cover;
background-color: #EBEBEB;
display: flex;
align-items: center;
justify-content: center;
position: relative;
}
.overlay {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: rgba(87, 87, 87, 0.4);
pointer-events: none;
}
.splash-box {
background-color: #EBEBEB;
border-radius: 30px;
padding: 3em 3em 2em 3em;
margin: 1em;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
color: #000000;
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
gap: 1em;
}
.top-section {
display: flex;
align-items: center;
justify-content: center;
gap: 1em;
width: 100%;
padding-bottom: 15px;
}
.top-section a img {
width: 35px;
filter: invert(15%) sepia(17%) saturate(767%) hue-rotate(198deg) brightness(94%) contrast(91%);
}
.logo {
width: 200px;
height: auto;
padding-right: 30px;
}
.text-content {
text-align: left;
}
.text-content h1 {
margin: 0;
font-size: 24px;
}
.text-content p {
margin: 0.5em 0;
}
.sub-header {
font-weight: bold;
padding-bottom: 10px;
}
.btn {
display: flex;
align-items: center;
gap: 8px;
background-color: #67EA94;
color: #000000;
border: none;
padding: 1em 1.75em;
border-radius: 15px;
cursor: pointer;
font-weight: bold;
margin-top: 0.5em;
font-size: 17px;
text-align: left;
text-decoration: none;
}
.btn-text {
display: flex;
flex-direction: column;
line-height: 0.7;
}
.btn-text small {
font-size: 12px;
margin-top: 4px;
}
.btn img {
height: 30px;
filter: brightness(0);
}
.btn-group {
display: flex;
gap: 1em;
flex-wrap: nowrap;
justify-content: center;
}
.btn-groups {
display: flex;
flex-direction: column;
gap: 1em;
}
.btn-small {
display: inline-block;
margin-top: 0.5em;
color: #fff;
background-color: #2C2D3C;
font-weight: bold;
text-decoration: none;
padding: 0.5em 1.25em;
border-radius: 15px;
}
.site-footer {
margin-top: 2em;
padding-top: 2em;
text-align: center;
font-size: 0.875rem;
color: #2C2D3C;
border-top: 1px solid #ccc;
}
.site-footer a {
color: #757684;
text-decoration: none;
}
.site-footer a:hover {
text-decoration: underline;
}
/* Adjustments for devices with a viewport width of 800px or less */
@media (max-width: 800px) {
body {
align-items: flex-start;
padding-top: calc(env(safe-area-inset-top, 1em));
}
.splash-box {
margin-top: 1em;
margin-bottom: 1em;
padding: 2em;
min-width: 350px;
}
.top-section {
flex-direction: column;
padding-bottom: 20px;
}
.logo {
width: 150px;
padding-right: 0;
margin-bottom: 1em;
}
.text-content {
text-align: center;
}
.btn-group {
flex-direction: column;
align-items: center;
}
.btn {
width: 100%;
justify-content: center;
padding: 0.8em 1em;
font-size: 16px;
}
}
/* Further adjustments for devices with a viewport width of 480px or less */
@media (max-width: 480px) {
.splash-box {
padding: 1.5em;
margin: 1em;
width: 90%;
min-width: 250px;
}
.logo {
width: 120px;
}
.text-content h1 {
font-size: 20px;
}
.text-content p {
font-size: 14px;
}
.btn {
padding: 0.7em 1em;
font-size: 14px;
}
}
</style>
</head>
<body>
<div class="overlay"></div>
<div class="splash-box">
<div class="top-section">
<img src="logo_sm.png" alt="CT Mesh Logo" class="logo" />
<div class="text-content">
<h1>CT Mesh</h1>
<p class="sub-header">Connecticut Meshtastic User Group</p>
<a href="mailto:noah@ctmesh.org" rel="nofollow noindex"><img src="email.svg" alt="Email" /></a>
</div>
</div>
<div class="btn-groups">
<div class="btn-group">
<a href="https://meshtastic.org/" target="_blank" class="btn">
<img src="meshtastic.svg" alt="Meshtastic Icon" />
<div class="btn-text">
meshtastic.org
</div>
</a>
<a href="https://map.ctmesh.org/?lat=41.734429390721&lng=287.3501586914063&zoom=10" target="_blank" class="btn">
<img src="map.svg" alt="Map Icon" />
<div class="btn-text">
CT Map
</div>
</a>
<a href="https://meshtastic.liamcottle.net/?lat=41.734429390721&lng=287.3501586914063&zoom=10" target="_blank" class="btn">
<img src="globe.svg" alt="Globe Icon" />
<div class="btn-text">
Global Map
</div>
</a>
</div>
<div class="btn-group">
<a href="https://discord.gg/m4F328as3K" target="_blank" class="btn">
<img src="discord.svg" alt="Discord Icon" />
<div class="btn-text">
CT Mesh
</div>
</a>
<a href="https://discord.gg/meshtastic-867578229534359593" target="_blank" class="btn">
<img src="discord.svg" alt="Discord Icon" />
<div class="btn-text">
Meshtastic
<small>US - Connecticut topic</small>
</div>
</a>
</div>
</div>
<footer class="site-footer">
<p><a href="https://ctmesh.org/">CT Mesh</a> is a volunteer-run user group for <a href="https://meshtastic.org" target="_blank">Meshtastic</a> enthusiasts in Connecticut.</p>
<p><a href="https://creativecommons.org/licenses/by-sa/4.0/" target="_blank" rel="noopener">Content licensed CC BY-SA 4.0</a></p>
</footer>
</div>
</body>
</html>