Team Ai
Datasetpublic

GD-ML/AndroidCode

sourceHugging Facemitupdated 6mo agoView on Hugging Face
1likes3.4kdownloads
11123_2.html361 linesDownload Raw Back to 11123
1<!DOCTYPE html>2<html>3<head>4<meta charset="UTF-8">5<title>Convert UI</title>6<style>7  body { margin: 0; padding: 0; background: transparent; }8  #render-target {9    width: 1080px;10    height: 2400px;11    position: relative;12    overflow: hidden;13    background: #ffffff;14    font-family: -apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;15    color: #1f1f1f;16  }17 18  /* Status bar */19  .status-bar {20    position: absolute;21    top: 0; left: 0;22    width: 100%;23    height: 120px;24    background: #000;25    color: #fff;26  }27  .status-time {28    position: absolute;29    left: 32px; top: 36px;30    font-size: 44px; font-weight: 600;31  }32  .status-icons {33    position: absolute;34    right: 28px; top: 36px;35    display: flex; align-items: center; gap: 26px;36  }37  .status-icons svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 3; }38 39  /* Header */40  .header {41    position: absolute;42    top: 120px; left: 0;43    width: 100%;44    height: 180px;45    background: #fff;46    border-bottom: 1px solid #ECEFF3;47  }48  .hdr-title {49    text-align: center;50    font-size: 44px;51    font-weight: 600;52    line-height: 180px;53    color: #222;54    letter-spacing: 0.2px;55  }56  .hdr-left-avatar {57    position: absolute; left: 28px; top: 56px;58    width: 68px; height: 68px; border-radius: 50%;59    border: 1.5px solid #DADDE2;60    display: flex; align-items: center; justify-content: center;61  }62  .hdr-left-avatar svg { width: 36px; height: 36px; stroke: #8A93A0; }63  .hdr-right-pill {64    position: absolute; right: 28px; top: 40px;65    background: #E9F3FF; color: #1673FF;66    border-radius: 16px;67    padding: 18px 26px;68    display: flex; align-items: center; gap: 14px;69    font-weight: 700; font-size: 34px;70  }71  .hdr-right-pill svg { width: 40px; height: 40px; fill: #1673FF; }72 73  /* Updated row */74  .updated-row {75    position: absolute;76    top: 320px; left: 32px; right: 32px;77    display: flex; align-items: center; gap: 18px;78    color: #7A889A; font-size: 30px;79  }80  .progress-circle {81    width: 64px; height: 64px;82    border-radius: 50%;83    border: 4px solid #DDE3EA;84    position: relative;85    display: flex; align-items: center; justify-content: center;86    font-weight: 600; color: #8C97A6;87  }88  .progress-circle::after {89    content: "";90    position: absolute; top: -4px; left: -4px;91    width: 64px; height: 64px;92    border-radius: 50%;93    border-right: 4px solid transparent;94    border-top: 4px solid #1673FF;95    border-left: 4px solid transparent;96    border-bottom: 4px solid transparent;97    transform: rotate(30deg);98  }99 100  /* Cards */101  .card {102    position: absolute; left: 32px; right: 32px;103    background: #fff;104    border-radius: 24px;105    box-shadow: 0 8px 18px rgba(18, 38, 63, 0.08);106  }107  .card-row {108    display: flex; align-items: center; justify-content: space-between;109    padding: 30px;110  }111  .currency-left {112    display: flex; align-items: center; gap: 20px;113  }114  .flag-placeholder {115    width: 64px; height: 64px; border-radius: 32px;116    background: #E0E0E0; border: 1px solid #BDBDBD;117    display: flex; align-items: center; justify-content: center;118    color: #757575; font-size: 22px; padding: 4px 10px;119  }120  .cur-code {121    font-size: 38px; font-weight: 700; color: #1d2633;122  }123  .down-arrow {124    margin-left: 8px;125  }126  .amount {127    font-size: 44px; font-weight: 700; color: #111;128  }129 130  /* First (input) card specifics */131  .card.input {132    top: 390px;133    border: 2px solid #1E78FF;134  }135  .card.input .right-panel {136    width: 120px; align-self: stretch;137    border-left: 1px solid #DDE3EA;138    display: flex; align-items: center; justify-content: center;139  }140  .calc-icon svg { width: 40px; height: 40px; stroke: #8A93A0; }141  .cta-bar {142    display: flex; justify-content: space-between; align-items: center;143    background: #1673FF; color: #fff;144    padding: 28px;145    border-bottom-left-radius: 22px; border-bottom-right-radius: 22px;146    font-size: 34px; font-weight: 700;147  }148  .cta-left {149    display: flex; align-items: center; gap: 16px;150  }151  .cta-left svg { width: 40px; height: 40px; fill: none; stroke: #fff; stroke-width: 4; }152  .cta-right { display: flex; align-items: center; gap: 12px; }153  .cta-right svg { width: 28px; height: 28px; fill: none; stroke: #fff; stroke-width: 4; }154 155  /* Second (result) card */156  .card.result {157    top: 760px;158    border: 1px solid #E6EAEE;159  }160  .subrate {161    margin-top: -10px;162    padding: 0 30px 26px 126px;163    color: #7A889A;164    font-size: 28px;165  }166  .more-panel {167    width: 110px; border-left: 1px solid #E6EAEE;168    display: flex; align-items: center; justify-content: center;169  }170  .more-icon { width: 8px; height: 8px; background: #8A93A0; border-radius: 50%; box-shadow: 0 18px 0 #8A93A0, 0 -18px 0 #8A93A0; }171 172  /* Add currency row */173  .add-row {174    position: absolute; top: 1070px; left: 32px; right: 32px;175    display: flex; align-items: center; justify-content: space-between;176  }177  .add-btn {178    background: #E9F3FF; color: #1673FF;179    padding: 26px 28px;180    border-radius: 20px; font-weight: 700; font-size: 34px;181    display: flex; align-items: center; gap: 18px;182  }183  .add-btn .plus {184    width: 40px; height: 40px; border-radius: 8px;185    display: flex; align-items: center; justify-content: center;186  }187  .mid-market {188    color: #7A889A; font-size: 30px; display: flex; align-items: center; gap: 14px;189  }190  .mid-market .info {191    width: 32px; height: 32px; border-radius: 50%;192    border: 2px solid #A7B2C2; color: #A7B2C2;193    display: flex; align-items: center; justify-content: center;194    font-size: 22px; font-weight: 700;195  }196 197  /* Bottom navigation */198  .bottom-nav {199    position: absolute; left: 0; bottom: 0;200    width: 100%; height: 190px;201    background: #fff; border-top: 1px solid #E6EAEE;202    display: flex; align-items: center; justify-content: space-around;203  }204  .nav-item {205    display: flex; flex-direction: column; align-items: center; gap: 12px;206    color: #8A93A0; font-size: 28px;207  }208  .nav-item svg { width: 64px; height: 64px; }209  .nav-item.active .icon-wrap {210    width: 100px; height: 100px; background: #1673FF; border-radius: 50%;211    display: flex; align-items: center; justify-content: center;212  }213  .nav-item.active span { color: #1673FF; font-weight: 600; }214  .nav-item .blue { stroke: #1673FF; }215  .home-dot {216    position: absolute; width: 260px; height: 10px; border-radius: 5px;217    background: #D0D4DA; bottom: 20px; left: 410px;218  }219</style>220</head>221<body>222<div id="render-target">223 224  <!-- Status bar -->225  <div class="status-bar">226    <div class="status-time">8:27</div>227    <div class="status-icons">228      <!-- sun icon -->229      <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="4" fill="#fff"/><path d="M12 1v4M12 19v4M1 12h4M19 12h4M4.2 4.2l2.8 2.8M17 17l2.8 2.8M4.2 19.8L7 17M17 7l2.8-2.8" stroke="#fff"/></svg>230      <!-- circle battery-ish -->231      <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="9"/></svg>232      <!-- location -->233      <svg viewBox="0 0 24 24"><path d="M12 2a7 7 0 0 1 7 7c0 5-7 13-7 13S5 14 5 9a7 7 0 0 1 7-7z"/><circle cx="12" cy="9" r="2"/></svg>234      <!-- dot -->235      <svg viewBox="0 0 24 24"><circle cx="12" cy="12" r="3" fill="#fff"/></svg>236      <!-- wifi/triangle -->237      <svg viewBox="0 0 24 24"><path d="M2 18c4-4 16-4 20 0M6 14c3-3 9-3 12 0M10 10c2-2 4-2 6 0" /></svg>238      <!-- battery -->239      <svg viewBox="0 0 26 24"><rect x="2" y="5" width="20" height="14" rx="2" ry="2"/><rect x="23" y="9" width="3" height="6" rx="1" ry="1" fill="#fff"/></svg>240    </div>241  </div>242 243  <!-- Header -->244  <div class="header">245    <div class="hdr-left-avatar">246      <svg viewBox="0 0 24 24"><circle cx="12" cy="8" r="4"/><path d="M4 21c2-4 14-4 16 0" /></svg>247    </div>248    <div class="hdr-title">Convert</div>249    <div class="hdr-right-pill">250      <svg viewBox="0 0 24 24">251        <rect x="3" y="8" width="18" height="12" rx="2" ry="2"></rect>252        <path d="M7 8V6c0-1.1.9-2 2-2 1 0 1.8.8 2 1.7C11.2 4.8 12 4 13 4c1.1 0 2 .9 2 2v2"></path>253        <path d="M3 12h18"></path>254      </svg>255      €25256    </div>257  </div>258 259  <!-- Updated row -->260  <div class="updated-row">261    <div class="progress-circle">54</div>262    <div>Last updated: 08 Nov 2023 08:27</div>263  </div>264 265  <!-- First card: CAD -->266  <div class="card input">267    <div class="card-row">268      <div class="currency-left">269        <div class="flag-placeholder">[IMG: Canadian flag]</div>270        <div class="cur-code">CAD</div>271        <svg class="down-arrow" viewBox="0 0 24 24" width="28" height="28"><path d="M6 9l6 6 6-6" stroke="#8A93A0" stroke-width="3" fill="none"/></svg>272      </div>273      <div style="display:flex; align-items:center;">274        <div class="amount">$ 1,000.00</div>275      </div>276      <div class="right-panel">277        <div class="calc-icon">278          <svg viewBox="0 0 24 24">279            <rect x="3" y="3" width="18" height="18" rx="2" ry="2" fill="none" stroke="#8A93A0" stroke-width="2"></rect>280            <circle cx="8" cy="8" r="1.2" fill="#8A93A0"></circle>281            <circle cx="12" cy="8" r="1.2" fill="#8A93A0"></circle>282            <circle cx="16" cy="8" r="1.2" fill="#8A93A0"></circle>283            <circle cx="8" cy="12" r="1.2" fill="#8A93A0"></circle>284            <circle cx="12" cy="12" r="1.2" fill="#8A93A0"></circle>285            <circle cx="16" cy="12" r="1.2" fill="#8A93A0"></circle>286            <circle cx="8" cy="16" r="1.2" fill="#8A93A0"></circle>287            <circle cx="12" cy="16" r="1.2" fill="#8A93A0"></circle>288            <circle cx="16" cy="16" r="1.2" fill="#8A93A0"></circle>289          </svg>290        </div>291      </div>292    </div>293    <div class="cta-bar">294      <div class="cta-left">295        <svg viewBox="0 0 24 24"><path d="M3 12l18-9-8 18-2-7-8-2z"></path></svg>296        <div>Send CAD to AUD</div>297      </div>298      <div class="cta-right">299        <div>View quote</div>300        <svg viewBox="0 0 24 24"><path d="M8 5l8 7-8 7" /></svg>301      </div>302    </div>303  </div>304 305  <!-- Second card: AUD -->306  <div class="card result">307    <div class="card-row">308      <div class="currency-left">309        <div class="flag-placeholder">[IMG: Australian flag]</div>310        <div class="cur-code" style="font-weight:600;">AUD</div>311      </div>312      <div class="amount">$ 1,128.26</div>313      <div class="more-panel"><div class="more-icon"></div></div>314    </div>315    <div class="subrate">1 CAD = 1.1283 AUD</div>316  </div>317 318  <!-- Add currency row -->319  <div class="add-row">320    <div class="add-btn">321      <div class="plus">322        <svg viewBox="0 0 24 24" width="40" height="40"><path d="M12 5v14M5 12h14" stroke="#1673FF" stroke-width="4"/></svg>323      </div>324      Add currency325    </div>326    <div class="mid-market">327      Mid-market rates328      <div class="info">i</div>329    </div>330  </div>331 332  <!-- Bottom navigation -->333  <div class="bottom-nav">334    <div class="nav-item">335      <svg viewBox="0 0 24 24" class="blue"><circle cx="12" cy="12" r="9" fill="none" stroke="#1673FF" stroke-width="2"></circle><path d="M12 8v8M8 12h8" stroke="#1673FF" stroke-width="2"/></svg>336      <span style="color:#1673FF;">Convert</span>337    </div>338    <div class="nav-item">339      <svg viewBox="0 0 24 24"><path d="M3 17l4-5 4 3 4-6 6 8" stroke="#8A93A0" stroke-width="2" fill="none"/></svg>340      <span>Charts</span>341    </div>342    <div class="nav-item active">343      <div class="icon-wrap">344        <svg viewBox="0 0 24 24"><path d="M3 12l18-9-8 18-2-7-8-2z" fill="none" stroke="#fff" stroke-width="2"/></svg>345      </div>346      <span>Send</span>347    </div>348    <div class="nav-item">349      <svg viewBox="0 0 24 24"><path d="M12 2l6 7h-4v7H10v-7H6z" stroke="#8A93A0" stroke-width="2" fill="none"/></svg>350      <span>Track</span>351    </div>352    <div class="nav-item">353      <svg viewBox="0 0 24 24"><path d="M12 3a6 6 0 0 0-6 6v5l-2 3h16l-2-3V9a6 6 0 0 0-6-6z" stroke="#8A93A0" stroke-width="2" fill="none"/></svg>354      <span>Rate Alerts</span>355    </div>356    <div class="home-dot"></div>357  </div>358 359</div>360</body>361</html>