-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpopup.html
111 lines (111 loc) · 2.8 KB
/
popup.html
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
<!DOCTYPE html>
<html>
<head>
<title>Choose your SuperAI</title>
<link
href="https://fonts.googleapis.com/css2?family=Poppins:wght@400;700&display=swap"
rel="stylesheet"
/>
<style>
body {
font-family: "Poppins", sans-serif;
background-color: #f0f4f8;
color: #2c3e50;
margin: 0;
padding: 0;
width: 300px;
border-radius: 25px;
overflow: hidden;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
}
.title-container {
background-color: #d1e7dd;
padding: 15px;
text-align: center;
border-bottom: 2px solid #86b7a8;
}
h2 {
margin: 0;
font-weight: 700;
font-size: 22px;
color: #2c3e50;
}
.button-container {
display: flex;
justify-content: space-around;
padding: 20px;
background-color: #e9ecef;
flex-grow: 1;
}
.ai-button {
width: 80px;
height: 80px;
background-color: #ffffff;
border: none;
border-radius: 20px;
cursor: pointer;
transition: all 0.3s;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
position: relative;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.ai-button:hover {
transform: translateY(-5px);
box-shadow: 0 6px 8px rgba(0, 0, 0, 0.15);
}
.ai-button:active {
transform: translateY(0);
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.ai-button::before {
content: "";
position: absolute;
top: 0;
left: 0;
right: 0;
height: 40%;
background: linear-gradient(
to bottom,
rgba(255, 255, 255, 0.8),
rgba(255, 255, 255, 0)
);
border-radius: 20px 20px 100% 100%;
}
.ai-button img {
width: 60%;
height: 60%;
object-fit: contain;
position: relative;
z-index: 1;
}
.footer {
background-color: #d1e7dd;
height: 20px;
border-top: 2px solid #86b7a8;
}
</style>
</head>
<body>
<div class="title-container">
<h2>Choose your SuperAI</h2>
</div>
<div class="button-container">
<button id="perplexity" class="ai-button">
<img src="icons/perplexity-logo.png" alt="Perplexity AI" />
</button>
<button id="chatgpt" class="ai-button">
<img src="icons/chatgpt-logo.png" alt="ChatGPT" />
</button>
<button id="claude" class="ai-button">
<img src="icons/claude-logo.png" alt="Claude AI" />
</button>
</div>
<div class="footer"></div>
<script src="popup.js"></script>
</body>
</html>