Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mdehoog committed Nov 27, 2024
1 parent 729b490 commit 2f32a84
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 0 deletions.
51 changes: 51 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Base Dev | All things crypto, onchain, ethereum development</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
max-width: 800px;
margin: 0 auto;
padding: 20px;
line-height: 1.6;
color: #333;
background-color: #f4f4f4;
}
h1 {
color: #2c3e50;
border-bottom: 2px solid #3498db;
padding-bottom: 10px;
}
h3 {
color: #34495e;
}
a {
color: #3498db;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #2980b9;
text-decoration: underline;
}
</style>
</head>
<body>
<header>
<h1>Base Dev</h1>
</header>

<main>
<h3>A new website, coming soon :tm:, covering all things crypto, onchain, ethereum development</h3>

<nav>
<h3><a href="#" target="_blank" rel="noopener noreferrer">Base Engineering Blog</a></h3>
<h3><a href="#" target="_blank" rel="noopener noreferrer">Get in touch</a></h3>
</nav>
</main>
</body>
</html>

15 changes: 15 additions & 0 deletions middleware.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import { next } from '@vercel/edge';

export default function middleware(req) {
return next({
headers: {
'Referrer-Policy': 'origin-when-cross-origin',
'X-Frame-Options': 'DENY',
'X-Content-Type-Options': 'nosniff',
'X-DNS-Prefetch-Control': 'on',
'Strict-Transport-Security':
'max-age=31536000; includeSubDomains; preload',
},
});
}

6 changes: 6 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"private": true,
"dependencies": {
"@vercel/edge": "^0.1.2"
}
}

0 comments on commit 2f32a84

Please sign in to comment.