Zeddfly's picture
How would I export this as an app and create a website
693a8ef verified
Raw History Blame Contribute Delete
2.88 kB
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>TicketTamer | Bug Bounty Hunter</title>
<link rel="stylesheet" href="style.css">
<script src="https://cdn.tailwindcss.com"></script>
<script src="https://cdn.jsdelivr.net/npm/feather-icons/dist/feather.min.js"></script>
<script src="https://unpkg.com/feather-icons"></script>
<script src="components/navbar.js"></script>
<script src="components/ticket-card.js"></script>
<script src="components/notification-bell.js"></script>
</head>
<body class="bg-gray-100 min-h-screen">
<custom-navbar></custom-navbar>
<main class="container mx-auto px-4 py-8">
<div class="flex justify-between items-center mb-8">
<h1 class="text-3xl font-bold text-gray-800">Your Tickets</h1>
<div class="flex space-x-4">
<custom-notification-bell></custom-notification-bell>
<button class="bg-blue-500 hover:bg-blue-600 text-white px-4 py-2 rounded-lg flex items-center space-x-2 transition-colors">
<i data-feather="plus"></i>
<span>New Ticket</span>
</button>
</div>
</div>
<div class="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6">
<custom-ticket-card
title="Login Page Bug"
status="open"
priority="high"
assigned="John D."
date="2023-11-15">
Users unable to login with Google auth
</custom-ticket-card>
<custom-ticket-card
title="Mobile Responsiveness"
status="in-progress"
priority="medium"
assigned="Sarah K."
date="2023-11-10">
Dashboard breaks on mobile devices
</custom-ticket-card>
<custom-ticket-card
title="API Timeout"
status="resolved"
priority="low"
assigned="Mike T."
date="2023-11-05">
Product API times out after 5 seconds
</custom-ticket-card>
</div>
</main>
<script src="script.js"></script>
<script>
feather.replace();
// Register service worker for PWA
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('/sw.js').then(registration => {
console.log('ServiceWorker registration successful');
}).catch(err => {
console.log('ServiceWorker registration failed: ', err);
});
});
}
</script>
</body>
</html>