-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
110 lines (96 loc) · 3.05 KB
/
index.html
File metadata and controls
110 lines (96 loc) · 3.05 KB
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Google Search Tool</title>
<style>
body {
margin: 0;
padding: 0;
font-family: Arial, sans-serif;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
height: 100vh;
background-color: #ffffff;
}
.logo {
font-size: 80px;
font-weight: bold;
font-family: Arial, sans-serif;
}
.google {
color: #4285F4;
}
.google span:nth-child(2) { color: #EA4335; }
.google span:nth-child(3) { color: #FBBC05; }
.google span:nth-child(4) { color: #4285F4; }
.google span:nth-child(5) { color: #34A853; }
.google span:nth-child(6) { color: #EA4335; }
.search-box {
width: 500px;
max-width: 90%;
padding: 14px 20px;
font-size: 18px;
border-radius: 30px;
border: 1px solid #dcdcdc;
outline: none;
margin-top: 20px;
}
.search-box:focus {
box-shadow: 0 0 5px rgba(66, 133, 244, 0.5);
}
.btn-container {
margin-top: 20px;
}
.btn {
padding: 10px 20px;
font-size: 15px;
margin: 5px;
border: none;
border-radius: 5px;
background-color: #f8f9fa;
cursor: pointer;
}
.btn:hover {
border: 1px solid #dcdcdc;
}
</style>
</head>
<body>
<!-- Google-like Logo -->
<div class="logo google">
<span>G</span><span>o</span><span>o</span><span>g</span><span>l</span><span>e</span>
</div>
<!-- Search Form -->
<form action="https://www.google.com/search" method="GET">
<input type="text" name="q" class="search-box" placeholder="Search Google..." required>
<div class="btn-container">
<button class="btn" type="submit">Google Search</button>
<button class="btn" type="submit" formaction="https://www.google.com/search?btnI=I">
I'm Feeling Lucky
</button>
</div>
</form>
<script type='text/javascript'>
function initEmbeddedMessaging() {
try {
embeddedservice_bootstrap.settings.language = 'en_US'; // For example, enter 'en' or 'en-US'
embeddedservice_bootstrap.init(
'00DgL000008hr65',
'Github_Messaging_Setting',
'https://rakesh9392-dev-ed.develop.my.site.com/ESWGithubMessagingSetti1764149889953',
{
scrt2URL: 'https://rakesh9392-dev-ed.develop.my.salesforce-scrt.com'
}
);
} catch (err) {
console.error('Error loading Embedded Messaging: ', err);
}
};
</script>
<script type='text/javascript' src='https://rakesh9392-dev-ed.develop.my.site.com/ESWGithubMessagingSetti1764149889953/assets/js/bootstrap.min.js' onload='initEmbeddedMessaging()'></script>
</body>
</html>