├── assets └── profile.jpg ├── style.css └── index.html /assets/profile.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/abhijeetSinghRajput/chat-GPT/HEAD/assets/profile.jpg -------------------------------------------------------------------------------- /style.css: -------------------------------------------------------------------------------- 1 | @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap'); 2 | 3 | * { 4 | margin: 0; 5 | padding: 0; 6 | font-family: "Roboto", sans-serif; 7 | box-sizing: border-box; 8 | } 9 | 10 | :root { 11 | --dark100: #212121; 12 | --dark200: #171717; 13 | --dark300: #cdcdcd; 14 | --white: #ececec; 15 | } 16 | 17 | .icon { 18 | width: 18px; 19 | overflow: hidden; 20 | aspect-ratio: 1; 21 | display: flex; 22 | align-items: center; 23 | justify-content: center; 24 | } 25 | 26 | .icon.mid { 27 | width: 28px; 28 | } 29 | 30 | .icon.big { 31 | width: 48px; 32 | padding: 8px; 33 | } 34 | 35 | .logo { 36 | border: 1px solid rgba(236, 236, 236, 0.2); 37 | border-radius: 50%; 38 | } 39 | 40 | .logo.mid { 41 | padding: 4px; 42 | } 43 | 44 | 45 | 46 | .grid-box { 47 | font-size: 14px; 48 | width: 100vw; 49 | height: 100svh; 50 | overflow: hidden; 51 | display: grid; 52 | grid-template-columns: 260px 1fr; 53 | color: var(--white); 54 | line-height: 20px; 55 | } 56 | 57 | 58 | 59 | main { 60 | background-color: var(--dark100); 61 | display: grid; 62 | grid-template-rows: 56px 1fr; 63 | } 64 | 65 | main header { 66 | padding: 8px; 67 | } 68 | main header button{ 69 | display: none; 70 | } 71 | 72 | main header h1 { 73 | font-size: 18px; 74 | } 75 | 76 | main header h1 span { 77 | color: var(--dark300); 78 | } 79 | 80 | main .content { 81 | justify-self: center; 82 | width: 100%; 83 | max-width: 752px; 84 | position: relative; 85 | overflow: hidden; 86 | padding: 0 12px; 87 | padding-bottom: 12px; 88 | display: flex; 89 | flex-direction: column; 90 | } 91 | 92 | main .content .intro { 93 | display: flex; 94 | flex-direction: column; 95 | align-items: center; 96 | justify-content: center; 97 | flex-grow: 1; 98 | } 99 | 100 | main .content .intro .logo { 101 | margin-bottom: 12px; 102 | } 103 | 104 | main .content .intro p { 105 | font-size: 20px; 106 | text-align: center; 107 | font-weight: 700; 108 | margin-bottom: 20px; 109 | } 110 | 111 | #search { 112 | margin-top: auto; 113 | width: 100%; 114 | } 115 | 116 | .suggestion-box { 117 | display: grid; 118 | grid-template-columns: repeat(2, minmax(100px, 1fr)); 119 | grid-template-rows: repeat(2, auto); 120 | grid-gap: 10px; 121 | margin-bottom: 16px; 122 | width: 100%; 123 | padding: 12px; 124 | } 125 | 126 | .suggestion-box>.suggestion { 127 | border: 1px solid rgba(236, 236, 236, 0.2); 128 | padding: 12px 16px; 129 | border-radius: 12px; 130 | display: flex; 131 | flex-direction: column; 132 | justify-content: space-between; 133 | } 134 | 135 | .suggestion-box>.suggestion:hover { 136 | cursor: pointer; 137 | background-color: rgba(236, 236, 236, 0.1); 138 | } 139 | 140 | .suggestion-box>.suggestion .topic { 141 | font-size: 14px; 142 | font-size: 14px; 143 | overflow: hidden; 144 | text-overflow: ellipsis; 145 | white-space: nowrap; 146 | } 147 | 148 | .suggestion-box>.suggestion p { 149 | font-size: 14px; 150 | overflow: hidden; 151 | text-overflow: ellipsis; 152 | white-space: nowrap; 153 | color: #cdcdcd; 154 | } 155 | 156 | .search-bar { 157 | border: none; 158 | display: flex; 159 | border: 1px solid rgba(236, 236, 236, 0.2); 160 | border-radius: 16px; 161 | font-size: 14px; 162 | overflow: hidden; 163 | position: relative; 164 | width: 100%; 165 | } 166 | 167 | .search-bar textarea { 168 | width: 100%; 169 | height: 52px; 170 | padding: 14px 48px 14px 24px; 171 | background-color: transparent; 172 | outline: none; 173 | border: none; 174 | color: var(--white); 175 | resize: none; 176 | line-height: 24px; 177 | } 178 | 179 | .search-bar button { 180 | position: absolute; 181 | bottom: 11px; 182 | right: 11px; 183 | border-radius: 7px; 184 | width: 30px; 185 | outline: none; 186 | border: none; 187 | background-color: var(--white); 188 | aspect-ratio: 1; 189 | } 190 | 191 | button { 192 | cursor: pointer; 193 | } 194 | 195 | 196 | 197 | 198 | menu { 199 | background-color: var(--dark200); 200 | display: flex; 201 | flex-direction: column; 202 | height: 100svh; 203 | } 204 | 205 | menu header { 206 | padding: 12px; 207 | border-bottom: 1px solid #212121; 208 | } 209 | 210 | menu header .new-chat { 211 | display: flex; 212 | align-items: center; 213 | justify-content: space-between; 214 | padding: 8px; 215 | border-radius: 8px; 216 | } 217 | 218 | menu header .new-chat .left { 219 | display: flex; 220 | align-items: center; 221 | gap: 5px; 222 | } 223 | 224 | menu .content { 225 | height: 100%; 226 | overflow-y: scroll; 227 | padding: 0 12px; 228 | } 229 | 230 | menu .content:hover::-webkit-scrollbar-thumb { 231 | border-radius: 50px; 232 | background-color: #2f2f2f; 233 | } 234 | 235 | menu .content::-webkit-scrollbar { 236 | background-color: transparent; 237 | width: 8px; 238 | } 239 | 240 | menu .content:hover::-webkit-scrollbar { 241 | opacity: 1; 242 | } 243 | 244 | menu .content .day { 245 | margin-bottom: 20px; 246 | } 247 | 248 | menu .content .chat { 249 | padding: 8px; 250 | white-space: nowrap; 251 | overflow: hidden; 252 | text-overflow: ellipsis; 253 | border-radius: 7px; 254 | position: relative; 255 | } 256 | 257 | menu .new-chat:hover, 258 | menu .user:hover, 259 | menu .content .chat:hover { 260 | cursor: pointer; 261 | background-color: rgba(204, 204, 204, 0.1); 262 | } 263 | 264 | menu .foot { 265 | padding: 12px; 266 | border-top: 1px solid #212121; 267 | } 268 | 269 | menu .user { 270 | padding: 8px; 271 | border-radius: 8px; 272 | display: flex; 273 | align-items: center; 274 | gap: 5px; 275 | } 276 | 277 | 278 | .profile-photo { 279 | width: 36px; 280 | aspect-ratio: 1; 281 | border-radius: 50%; 282 | overflow: hidden; 283 | } 284 | 285 | .profile-photo img { 286 | width: 100%; 287 | height: 100%; 288 | object-fit: cover; 289 | } 290 | 291 | button { 292 | aspect-ratio: 1; 293 | width: 32px; 294 | display: flex; 295 | align-items: center; 296 | justify-content: center; 297 | background-color: transparent; 298 | outline: none; 299 | border: none; 300 | } 301 | .backdrop{ 302 | width: 100vw; 303 | height: 100svh; 304 | background-color: rgba(0, 0, 0, 0.7); 305 | position: fixed; 306 | top: 0; 307 | left: 0; 308 | z-index: 9; 309 | display: none; 310 | } 311 | .backdrop.active{ 312 | display: block; 313 | } 314 | @media screen and (max-width: 770px) { 315 | menu { 316 | position: absolute; 317 | z-index: 10; 318 | top: 0; 319 | transition: .3s; 320 | width: 320px; 321 | left: -320px; 322 | } 323 | menu.active{ 324 | left: 0; 325 | } 326 | 327 | .grid-box { 328 | grid-template-columns: 1fr; 329 | } 330 | 331 | main header { 332 | display: flex; 333 | justify-content: center; 334 | align-items: center; 335 | border-bottom: 1px solid rgba(204, 204, 204, 0.1); 336 | padding: 0; 337 | position: relative; 338 | } 339 | 340 | main { 341 | grid-template-rows: 42px 1fr; 342 | } 343 | main header button{ 344 | display: flex; 345 | /* border: 1px solid white; */ 346 | position: absolute; 347 | color: var(--white); 348 | width: 42px; 349 | } 350 | main header button{ 351 | right: 0; 352 | } 353 | .menu-toggle{ 354 | left: 0; 355 | } 356 | 357 | main header>* { 358 | cursor: pointer; 359 | color: var(--white); 360 | border-radius: 5px; 361 | } 362 | 363 | main header h1 { 364 | padding: 8px; 365 | } 366 | 367 | } 368 | @media screen and (max-width: 550px) { 369 | .suggestion-box { 370 | grid-template-columns: repeat(1, minmax(100px, 1fr)); 371 | } 372 | } -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | chat GPT 11 | 12 | 13 | 14 |
15 |
16 | 17 | 18 | 19 |
20 |
21 |
22 | 32 |

New chat

33 |
34 | 35 |
36 |
37 | 39 | 41 | 42 | 43 |
44 |
45 |
46 |
47 | 48 |
49 |
50 |
Today
51 |
52 |
ChatGpt Search Bar
53 |
Hello Summary: request and Response
54 |
Hello Summary: request and Response
55 |
GPT Provides Model Explanation
56 |
Undo Move Isolated Fix
57 |
58 |
59 | 60 |
61 |
Yesterday
62 |
63 |
ChatGpt Search Bar
64 |
Hello Summary: request and Response
65 |
Hello Summary: request and Response
66 |
GPT Provides Model Explanation
67 |
Undo Move Isolated Fix
68 |
69 |
70 | 71 |
72 |
Previous 7 Days
73 |
74 |
ChatGpt Search Bar
75 |
Hello Summary: request and Response
76 |
Hello Summary: request and Response
77 |
GPT Provides Model Explanation
78 |
Undo Move Isolated Fix
79 |
80 |
81 | 82 |
83 |
Previous 7 Days
84 |
85 |
ChatGpt Search Bar
86 |
Hello Summary: request and Response
87 |
Hello Summary: request and Response
88 |
GPT Provides Model Explanation
89 |
Undo Move Isolated Fix
90 |
91 |
92 |
93 | 94 |
95 |
96 |
97 |
98 | 99 |
100 |
101 |
102 |
Abhijeet Singh
103 |
104 |
105 |
106 | 107 |
108 | 109 | 110 |
111 |
112 | 122 | 123 |

ChatGPT 3.5

124 | 125 | 135 |
136 | 137 |
138 |
139 | 147 |

How can I help you today?

148 |
149 | 150 | 188 |
189 | 190 |
191 | 192 | 193 |
194 | 195 | 196 | 217 | --------------------------------------------------------------------------------