diff --git a/claim-db-worker/src/templates/claim-success-template.ts b/claim-db-worker/src/templates/claim-success-template.ts index a05f633..541e411 100644 --- a/claim-db-worker/src/templates/claim-success-template.ts +++ b/claim-db-worker/src/templates/claim-success-template.ts @@ -1,3 +1,6 @@ +import { footer } from "./footer-template"; +import { navbar } from "./navbar-template"; + export function getClaimSuccessHtml(projectID: string) { return ` @@ -13,17 +16,26 @@ export function getClaimSuccessHtml(projectID: string) { margin: 0; padding: 0; min-height: 100vh; - background: url('/hero-background.svg') no-repeat center center fixed; + background: url('/hero-background.svg') no-repeat center center, linear-gradient(180deg, #090A15 0%, rgba(9, 10, 21, 0.5) 19.02%, rgba(9, 10, 21, 0.5) 74%, rgba(9, 10, 21, 0.95) 100%); background-size: cover; color: #fff; font-family: 'Barlow', system-ui, sans-serif; display: flex; - align-items: center; - justify-content: center; + overscroll-behavior: none; + justify-content: space-between; + flex-direction: column; + min-height: 100vh; } .container { text-align: center; + display: flex; + flex-direction: column; + min-height: 50vh; + height: 100%; + align-items: center; + justify-content: space-between; } + .title { font-size: 4rem; font-weight: 700; @@ -109,26 +121,30 @@ export function getClaimSuccessHtml(projectID: string) {
+ ${navbar()}