remove security policy in favor of web server handling it

make video size auto on mobile
add hamburger menu icon png
make navbar background black
add navbar js script to all page headers
This commit is contained in:
Gary 2024-11-01 16:51:29 -07:00
parent f7f1cd203e
commit 5eb9aea01d
10 changed files with 40 additions and 76 deletions

View File

@ -18,7 +18,7 @@
<title>About | Shiloh Code</title> <title>About | Shiloh Code</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Learn more about Shiloh. We offer services to resist the beast system with everything your home or business does. Are you ready to stand up against the digital deceptions of our time?"
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
@ -27,7 +27,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Learn more about Shiloh. We offer services to resist the beast system with everything your home or business does. Are you ready to stand up against the digital deceptions of our time?"
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -36,12 +36,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>

View File

@ -2,7 +2,7 @@
<div class="nav-bar"> <div class="nav-bar">
<div class="mobile-menu-icon"> <div class="mobile-menu-icon">
<a href="javascript:void(0);" class="icon" onclick="myFunction()"> <a href="javascript:void(0);" class="icon" onclick="myFunction()">
<i class="fa fa-bars"></i> <img src="../assets/list.png" alt="Menu Icon" width="20" height="20" />
</a> </a>
</div> </div>
<div class="logo"> <div class="logo">

View File

@ -15,10 +15,10 @@
<meta charset="utf-8" /> <meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Reforming tech in Jesus' Name | Shiloh Code</title> <title>Contact | Shiloh Code</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Have questions or comments? Contact us at Shiloh."
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
@ -27,7 +27,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Have questions or comments? Contact us at Shiloh."
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -36,12 +36,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>

View File

@ -22,10 +22,7 @@
<meta property="og:title" content="shiloh code" /> <meta property="og:title" content="shiloh code" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta property="og:description" content="The creed we abide by in shiloh" />
property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas."
/>
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
<link rel="icon" href="./assets/favicon.ico" /> <link rel="icon" href="./assets/favicon.ico" />
@ -33,13 +30,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/main.js"></script> <script src="./js/navbar.js"></script>
</head> </head>
<body> <body>
<header id="header"></header> <header id="header"></header>

View File

@ -334,8 +334,9 @@ a {
justify-content: space-between; justify-content: space-between;
align-items: center; align-items: center;
padding: 1rem; padding: 1rem;
margin: 1rem; margin: 0;
position: relative; /* added this */ position: relative;
background: black;
} }
.logo { .logo {
@ -378,19 +379,16 @@ a {
} }
.mobile-menu-icon { .mobile-menu-icon {
display: none; /* hide the icon on desktop */ display: none;
} }
/* Media query for mobile devices */ /* Media query for mobile devices */
@media (max-width: 600px) { @media all and (max-width: 960px) {
.nav-bar { .nav-bar {
display: block;
flex-direction: column; flex-direction: column;
align-items: flex-start; align-items: flex-start;
padding: 20px; padding: 5px;
}
.logo {
margin-bottom: 10px;
} }
.menu { .menu {
@ -409,26 +407,27 @@ a {
} }
.mobile-menu-icon { .mobile-menu-icon {
display: block; /* show the icon on mobile */ display: block;
position: absolute; position: absolute;
top: 25px; top: 15px;
right: 20px; right: 10px;
font-size: 24px;
cursor: pointer; cursor: pointer;
transition: font-size 0.1s ease-in-out;
} }
.mobile-menu-icon:hover { .mobile-menu-icon:hover {
font-size: 26px; width: 30px;
} }
.show-menu { .show-menu {
display: block; display: block;
} }
}
@media all and (max-width: 960px) {
.flex-column { .flex-column {
padding: 10px 5px; padding: 10px 5px;
} }
video {
width: auto;
height: auto;
}
} }

View File

@ -18,7 +18,7 @@
<title>Get Involved | Shiloh Code</title> <title>Get Involved | Shiloh Code</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Get involved with Shiloh by joining one of our many initiatives to reform tech in Jesus' name."
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
<meta property="og:title" content="shiloh code" /> <meta property="og:title" content="shiloh code" />
@ -26,7 +26,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Get involved with Shiloh by joining one of our many initiatives to reform tech in Jesus' name."
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -35,12 +35,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>

View File

@ -18,7 +18,7 @@
<title>shiloh code | tech reform in Jesus' name</title> <title>shiloh code | tech reform in Jesus' name</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Tech reform in Jesus' name. Don't get marked by big tech. Shiloh offers services to resist the beast system with everything your home or business does. Are you ready to stand up against the digital deceptions of our time?"
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
@ -27,7 +27,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Tech reform in Jesus' name. Don't get marked by big tech. Shiloh offers services to resist the beast system with everything your home or business does. Are you ready to stand up against the digital deceptions of our time?"
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -39,10 +39,6 @@
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script> <script src="./js/navbar.js"></script>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css"
/>
</head> </head>
<body> <body>

View File

@ -18,7 +18,7 @@
<title>About | Shiloh Code</title> <title>About | Shiloh Code</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Learn more about Shiloh and our missiong to reform tech in Jesus' name."
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
@ -27,7 +27,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Learn more about Shiloh and our missiong to reform tech in Jesus' name."
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -36,12 +36,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>

View File

@ -16,18 +16,12 @@
<meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="viewport" content="width=device-width, initial-scale=1" />
<title>Latest News | Shiloh Code</title> <title>Latest News | Shiloh Code</title>
<meta <meta name="description" content="Read about Shiloh in the news." />
name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas."
/>
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
<meta property="og:title" content="shiloh code" /> <meta property="og:title" content="shiloh code" />
<meta property="og:type" content="website" /> <meta property="og:type" content="website" />
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta property="og:description" content="Read about Shiloh in the news." />
property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas."
/>
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
<link rel="icon" href="./assets/favicon.ico" /> <link rel="icon" href="./assets/favicon.ico" />
@ -35,12 +29,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/shiloh/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>

View File

@ -18,7 +18,7 @@
<title>Services | Shiloh Code</title> <title>Services | Shiloh Code</title>
<meta <meta
name="description" name="description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Our services include: Managed IT, Server Hosting, Staff-Augmentation, Contract-to-Hire, Backup and Disaster Recovery, Email Solutions, Cloud Solutions, Web Development, Full-Stack Software Development, Onsite Computer Support, Business Continuity Plan, Remote IT, VOIP Phones, Network Cabling and Installations, Security Cameras, Migration to Open-Source, Decentralized, Fully-Owned Solutions."
/> />
<meta name="author" content="Shiloh" /> <meta name="author" content="Shiloh" />
@ -27,7 +27,7 @@
<meta property="og:url" content="https://www.shilohcode.com" /> <meta property="og:url" content="https://www.shilohcode.com" />
<meta <meta
property="og:description" property="og:description"
content="Using the truth of Christianity to expose Satan's hidden agendas." content="Our services include: Managed IT, Server Hosting, Staff-Augmentation, Contract-to-Hire, Backup and Disaster Recovery, Email Solutions, Cloud Solutions, Web Development, Full-Stack Software Development, Onsite Computer Support, Business Continuity Plan, Remote IT, VOIP Phones, Network Cabling and Installations, Security Cameras, Migration to Open-Source, Decentralized, Fully-Owned Solutions."
/> />
<meta property="og:image" content="./assets/shiloh_logo_black.png" /> <meta property="og:image" content="./assets/shiloh_logo_black.png" />
@ -36,12 +36,9 @@
<link rel="apple-touch-icon" href="/apple-touch-icon.png" /> <link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="stylesheet" href="css/styles.css?v=1.0" /> <link rel="stylesheet" href="css/styles.css?v=1.0" />
<meta
http-equiv="Content-Security-Policy"
content="script-src 'self'; style-src 'self'; object-src 'none'; frame-src 'self'; base-uri 'self'; font-src 'self'; img-src 'self' https://cdn.lasthourhosting.org/ https://status.shilohcode.com; media-src 'self' https://cdn.lasthourhosting.org/; "
/>
<script src="./js/jquery-3.7.1.min.js"></script> <script src="./js/jquery-3.7.1.min.js"></script>
<script src="./js/main.js"></script> <script src="./js/main.js"></script>
<script src="./js/navbar.js"></script>
</head> </head>
<body> <body>