File size: 5,016 Bytes
5d052d8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
980a6cc
 
5d052d8
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>InfoHive - Image Search</title>
    <meta name="description" content="InfoHive is a search engine that provides the latest images on technology, sports, and more.">
    <meta property="og:title" content="InfoHive - Image Search">
    <meta property="og:description" content="InfoHive is a search engine that provides the latest images on technology, sports, and more.">
    <meta property="og:image" content="https://raw.githubusercontent.com/OE-LUCIFER/HelpingAI-vortex3b/main/techscout.jpeg">
    <meta property="og:url" content="https://abhaukoul-techscout-news.hf.space/">
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css">
    <link rel="icon" href="favicon.ico" type="image/x-icon">
    <style>

        body {
            font-family: sans-serif;
            margin: 0;
            background: #000;
            color: #fff;
        }
        .container {
            padding-top: 50px;
        }
        .jumbotron {
            background-color: #007bff;
            color: #fff;
            padding: 2rem 2rem;
            margin-bottom: 30px;
        }
        .card {
            border: none;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            transition: transform 0.3s;
        }
        .card:hover {
            transform: translateY(-5px);
        }
        .card-title {
            font-size: 20px;
            font-weight: bold;
            color: #333;
        }
        .card-text {
            color: #666;
        }
        .card-footer {
            background-color: #f9f9f9;
            border-top: none;
        }
        .btn-primary {
            background-color: #007bff;
            border-color: #007bff;
        }
        .btn-primary:hover {
            background-color: #0056b3;
            border-color: #0056b3;
        }
        .btn-outline-primary {
            color: #007bff;
            border-color: #007bff;
        }
        .btn-outline-primary:hover {
            background-color: #007bff;
            color: #fff;
        }
        .no-results {
            text-align: center;
            font-style: italic;
            margin-top: 20px;
        }
        .search-input {
            border-radius: 24px;
        }
        .logo {
            max-width: 200px;
        }
        .subscribe-btn {
            background-color: #ff0000;
            border-color: #ff0000;
        }
        .subscribe-btn:hover {
            background-color: #cc0000;
            border-color: #cc0000;
        }
    </style>
</head>
<body>
    <div class="container">
        <div class="jumbotron" style="margin-top: 100px;">
            <h1 class="display-4 text-center mb-4">Explore the Latest Images</h1>
            <p class="lead text-center">InfoHive is your source for up-to-date images on technology, sports, and more.</p>
            <div class="text-center">
                <a href="https://youtube.com/@OEvortex" class="btn btn-primary subscribe-btn" target="_blank">Subscribe to OEvortex on YouTube</a>
            </div>
        </div>
        <div class="card mb-4">
            <div class="card-body">
                <form method="GET" action="/">
                    <div class="form-row">
                        <div class="col-md-8">
                            <input type="text" class="form-control search-input" name="keywords" placeholder="Enter keywords" value="{{ keywords }}">
                        </div>
                        <div class="col-md-2">
                            <button type="submit" class="btn btn-primary btn-block">Search</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        {% if image %}
        <div class="row">
            {% for image_item in image %}
            <div class="col-md-4 mb-4">
                <div class="card">
                    <img src="{{ image_item['image'] }}" class="card-img-top" alt="{{ image_item['title'] }}">
                    <div class="card-body">
                        <h5 class="card-title">{{ image_item['title'] }}</h5>
                        <p class="card-text">
                            <small class="text-muted">
                                <!-- Source: {{ image_item['source'] }} -->
                            </small>
                        </p>
                        <!-- <p class="card-text">{{ image_item['url'] }}</p> -->
                    </div>
                    <div class="card-footer">
                        <a href="{{ image_item['url'] }}" class="btn btn-outline-primary btn-sm" target="_blank">View Image</a>

                    </div>
                </div>
            </div>
            {% endfor %}
        </div>
        {% else %}
        <p class="no-results">No results found.</p>
        {% endif %}
    </div>
</body>
</html>