large000 commited on
Commit
eaef334
·
verified ·
1 Parent(s): 924ffb0

i need you to create a .gov email address

Browse files
Files changed (6) hide show
  1. README.md +8 -5
  2. components/gov-footer.js +49 -0
  3. components/gov-header.js +50 -0
  4. index.html +72 -19
  5. script.js +37 -0
  6. style.css +19 -19
README.md CHANGED
@@ -1,10 +1,13 @@
1
  ---
2
- title: Govmail Simulator
3
- emoji: 🚀
4
- colorFrom: red
5
- colorTo: gray
6
  sdk: static
7
  pinned: false
 
 
8
  ---
9
 
10
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
1
  ---
2
+ title: GovMail Simulator 🏛️
3
+ colorFrom: yellow
4
+ colorTo: blue
5
+ emoji: 🐳
6
  sdk: static
7
  pinned: false
8
+ tags:
9
+ - deepsite-v3
10
  ---
11
 
12
+ # Welcome to your new DeepSite project!
13
+ This project was created with [DeepSite](https://huggingface.co/deepsite).
components/gov-footer.js ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class GovFooter extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ .footer-bg {
7
+ background-color: #1e3a8a;
8
+ background-image: linear-gradient(to right, #1e3a8a, #1e40af);
9
+ }
10
+ .footer-link:hover {
11
+ text-decoration: underline;
12
+ }
13
+ </style>
14
+ <footer class="footer-bg text-white py-8 mt-12">
15
+ <div class="container mx-auto px-4">
16
+ <div class="grid grid-cols-1 md:grid-cols-3 gap-8">
17
+ <div>
18
+ <h3 class="text-lg font-semibold mb-4">Government Services</h3>
19
+ <p class="text-sm text-blue-100">
20
+ Providing official information and services to the public.
21
+ </p>
22
+ </div>
23
+ <div>
24
+ <h3 class="text-lg font-semibold mb-4">Quick Links</h3>
25
+ <ul class="space-y-2">
26
+ <li><a href="#" class="footer-link text-sm text-blue-100">Privacy Policy</a></li>
27
+ <li><a href="#" class="footer-link text-sm text-blue-100">Accessibility</a></li>
28
+ <li><a href="#" class="footer-link text-sm text-blue-100">FOIA Requests</a></li>
29
+ </ul>
30
+ </div>
31
+ <div>
32
+ <h3 class="text-lg font-semibold mb-4">Contact</h3>
33
+ <address class="not-italic text-sm text-blue-100">
34
+ 1600 Pennsylvania Ave NW<br>
35
+ Washington, DC 20500<br>
36
+ <a href="tel:+12024561111" class="footer-link">(202) 456-1111</a>
37
+ </address>
38
+ </div>
39
+ </div>
40
+ <div class="border-t border-blue-400 mt-8 pt-6 text-center text-xs text-blue-100">
41
+ <p>© ${new Date().getFullYear()} Government Services. All rights reserved.</p>
42
+ </div>
43
+ </div>
44
+ </footer>
45
+ `;
46
+ }
47
+ }
48
+
49
+ customElements.define('gov-footer', GovFooter);
components/gov-header.js ADDED
@@ -0,0 +1,50 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ class GovHeader extends HTMLElement {
2
+ connectedCallback() {
3
+ this.attachShadow({ mode: 'open' });
4
+ this.shadowRoot.innerHTML = `
5
+ <style>
6
+ .header-bg {
7
+ background-color: #1e3a8a;
8
+ background-image: linear-gradient(to right, #1e3a8a, #1e40af);
9
+ }
10
+ .nav-link:hover {
11
+ background-color: rgba(255, 255, 255, 0.1);
12
+ }
13
+ .seal {
14
+ filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
15
+ }
16
+ </style>
17
+ <header class="header-bg text-white shadow-md">
18
+ <div class="container mx-auto px-4">
19
+ <div class="flex items-center justify-between py-3">
20
+ <div class="flex items-center space-x-4">
21
+ <div class="seal-badge seal rounded-full w-12 h-12 flex items-center justify-center">
22
+ <i data-feather="shield" class="text-blue-700 w-6 h-6"></i>
23
+ </div>
24
+ <h1 class="text-xl font-bold">Government Services</h1>
25
+ </div>
26
+ <nav class="hidden md:flex space-x-1">
27
+ <a href="/" class="nav-link px-4 py-2 rounded-md flex items-center">
28
+ <i data-feather="home" class="mr-2 w-4 h-4"></i>
29
+ Home
30
+ </a>
31
+ <a href="#" class="nav-link px-4 py-2 rounded-md flex items-center">
32
+ <i data-feather="info" class="mr-2 w-4 h-4"></i>
33
+ About
34
+ </a>
35
+ <a href="#" class="nav-link px-4 py-2 rounded-md flex items-center">
36
+ <i data-feather="mail" class="mr-2 w-4 h-4"></i>
37
+ Contact
38
+ </a>
39
+ </nav>
40
+ <button class="md:hidden p-2 rounded-md hover:bg-blue-800">
41
+ <i data-feather="menu"></i>
42
+ </button>
43
+ </div>
44
+ </div>
45
+ </header>
46
+ `;
47
+ }
48
+ }
49
+
50
+ customElements.define('gov-header', GovHeader);
index.html CHANGED
@@ -1,19 +1,72 @@
1
- <!doctype html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width" />
6
- <title>My static Space</title>
7
- <link rel="stylesheet" href="style.css" />
8
- </head>
9
- <body>
10
- <div class="card">
11
- <h1>Welcome to your static Space!</h1>
12
- <p>You can modify this app directly by editing <i>index.html</i> in the Files and versions tab.</p>
13
- <p>
14
- Also don't forget to check the
15
- <a href="https://huggingface.co/docs/hub/spaces" target="_blank">Spaces documentation</a>.
16
- </p>
17
- </div>
18
- </body>
19
- </html>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ <head>
4
+ <meta charset="UTF-8">
5
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
6
+ <title>GovMail Simulator</title>
7
+ <link rel="stylesheet" href="style.css">
8
+ <script src="https://cdn.tailwindcss.com"></script>
9
+ <script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
10
+ <script src="https://unpkg.com/feather-icons"></script>
11
+ <script src="components/gov-header.js"></script>
12
+ <script src="components/gov-footer.js"></script>
13
+ </head>
14
+ <body class="bg-gray-100">
15
+ <gov-header></gov-header>
16
+
17
+ <main class="container mx-auto px-4 py-8 max-w-4xl">
18
+ <div class="bg-white rounded-lg shadow-md p-8">
19
+ <div class="flex items-center mb-6">
20
+ <i data-feather="mail" class="text-blue-600 w-10 h-10 mr-4"></i>
21
+ <h1 class="text-3xl font-bold text-gray-800">Government Email Information</h1>
22
+ </div>
23
+
24
+ <div class="prose max-w-none">
25
+ <p class="text-lg text-gray-700 mb-4">
26
+ Official government email addresses (.gov) are issued exclusively to verified government employees and officials.
27
+ </p>
28
+
29
+ <div class="bg-blue-50 border-l-4 border-blue-500 p-4 mb-6">
30
+ <div class="flex">
31
+ <div class="flex-shrink-0">
32
+ <i data-feather="info" class="h-5 w-5 text-blue-500"></i>
33
+ </div>
34
+ <div class="ml-3">
35
+ <p class="text-sm text-blue-700">
36
+ To obtain a .gov email address, you must be employed by or officially affiliated with a government agency.
37
+ </p>
38
+ </div>
39
+ </div>
40
+ </div>
41
+
42
+ <h2 class="text-xl font-semibold text-gray-800 mt-6 mb-4">How to Get a .gov Email</h2>
43
+ <ol class="list-decimal pl-5 space-y-2 text-gray-700">
44
+ <li>Become employed by a government agency</li>
45
+ <li>Complete all required background checks</li>
46
+ <li>Your agency's IT department will issue credentials</li>
47
+ <li>Follow your organization's email access procedures</li>
48
+ </ol>
49
+
50
+ <div class="mt-8 p-6 bg-gray-50 rounded-lg">
51
+ <h3 class="text-lg font-medium text-gray-800 mb-3">Contact Your Agency</h3>
52
+ <p class="text-gray-600 mb-4">
53
+ If you're a government employee without an email, contact your department's IT support.
54
+ </p>
55
+ <button class="inline-flex items-center px-4 py-2 border border-transparent text-sm font-medium rounded-md shadow-sm text-white bg-blue-600 hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-blue-500">
56
+ <i data-feather="help-circle" class="mr-2 w-4 h-4"></i>
57
+ Get Help
58
+ </button>
59
+ </div>
60
+ </div>
61
+ </div>
62
+ </main>
63
+
64
+ <gov-footer></gov-footer>
65
+
66
+ <script>
67
+ feather.replace();
68
+ </script>
69
+ <script src="script.js"></script>
70
+ <script src="https://huggingface.co/deepsite/deepsite-badge.js"></script>
71
+ </body>
72
+ </html>
script.js ADDED
@@ -0,0 +1,37 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ // Document ready function
2
+ document.addEventListener('DOMContentLoaded', function() {
3
+ // Initialize tooltips
4
+ const tooltipElements = document.querySelectorAll('[data-tooltip]');
5
+
6
+ tooltipElements.forEach(el => {
7
+ el.addEventListener('mouseenter', showTooltip);
8
+ el.addEventListener('mouseleave', hideTooltip);
9
+ });
10
+
11
+ // Simple form validation example
12
+ const contactForm = document.getElementById('contact-form');
13
+ if (contactForm) {
14
+ contactForm.addEventListener('submit', function(e) {
15
+ e.preventDefault();
16
+ alert('This is a demo. In a real scenario, this would submit to a government contact system.');
17
+ });
18
+ }
19
+ });
20
+
21
+ function showTooltip(e) {
22
+ const tooltipText = e.target.getAttribute('data-tooltip');
23
+ const tooltip = document.createElement('div');
24
+ tooltip.className = 'absolute z-10 p-2 text-xs text-white bg-gray-800 rounded shadow-lg';
25
+ tooltip.textContent = tooltipText;
26
+ tooltip.style.top = `${e.target.offsetTop - 30}px`;
27
+ tooltip.style.left = `${e.target.offsetLeft}px`;
28
+ tooltip.id = 'current-tooltip';
29
+ document.body.appendChild(tooltip);
30
+ }
31
+
32
+ function hideTooltip() {
33
+ const tooltip = document.getElementById('current-tooltip');
34
+ if (tooltip) {
35
+ document.body.removeChild(tooltip);
36
+ }
37
+ }
style.css CHANGED
@@ -1,28 +1,28 @@
 
1
  body {
2
- padding: 2rem;
3
- font-family: -apple-system, BlinkMacSystemFont, "Arial", sans-serif;
4
  }
5
 
6
- h1 {
7
- font-size: 16px;
8
- margin-top: 0;
 
9
  }
10
 
11
- p {
12
- color: rgb(107, 114, 128);
13
- font-size: 15px;
14
- margin-bottom: 10px;
15
- margin-top: 5px;
16
  }
17
 
18
- .card {
19
- max-width: 620px;
20
- margin: 0 auto;
21
- padding: 16px;
22
- border: 1px solid lightgray;
23
- border-radius: 16px;
24
  }
25
 
26
- .card p:last-child {
27
- margin-bottom: 0;
28
- }
 
 
 
 
1
+ /* Base styles */
2
  body {
3
+ font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
4
+ line-height: 1.6;
5
  }
6
 
7
+ /* Custom animations */
8
+ @keyframes fadeIn {
9
+ from { opacity: 0; }
10
+ to { opacity: 1; }
11
  }
12
 
13
+ .fade-in {
14
+ animation: fadeIn 0.5s ease-in;
 
 
 
15
  }
16
 
17
+ /* Additional utility classes */
18
+ .seal-badge {
19
+ background: radial-gradient(circle, #ffffff 0%, #e5e7eb 100%);
20
+ border: 2px solid #1e40af;
 
 
21
  }
22
 
23
+ /* Print styles */
24
+ @media print {
25
+ .no-print {
26
+ display: none !important;
27
+ }
28
+ }