Skip to content

Commit c9fa47d

Browse files
committed
feat(frontend): pin footer to bottom
1 parent 0406651 commit c9fa47d

2 files changed

Lines changed: 13 additions & 10 deletions

File tree

apps/frontend/src/app/globals.css

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ body {
3333
position: relative;
3434
min-height: 100vh;
3535
overflow: hidden;
36-
padding: 28px 20px 80px;
36+
padding: 28px 20px 0;
37+
display: flex;
38+
flex-direction: column;
3739
}
3840

3941
.page-glow {
@@ -157,6 +159,8 @@ body {
157159
display: flex;
158160
flex-direction: column;
159161
gap: 40px;
162+
flex: 1;
163+
width: 100%;
160164
}
161165

162166
.hero {
@@ -539,12 +543,14 @@ body {
539543
align-items: center;
540544
justify-content: space-between;
541545
gap: 20px;
542-
margin-top: 40px;
543-
padding: 22px 28px;
544-
border-radius: 20px;
545-
border: 1px solid rgba(92, 225, 230, 0.35);
546-
background: linear-gradient(140deg, rgba(255, 255, 255, 0.95), rgba(236, 242, 255, 0.9));
547-
box-shadow: 0 20px 50px rgba(30, 40, 80, 0.12);
546+
margin-top: auto;
547+
padding: 24px 28px 28px;
548+
border-radius: 18px 18px 0 0;
549+
border: 1px solid rgba(92, 225, 230, 0.25);
550+
border-bottom: none;
551+
background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(236, 247, 255, 0.9));
552+
box-shadow: 0 -12px 30px rgba(30, 40, 80, 0.08);
553+
width: 100%;
548554
}
549555

550556
.footer-label {

apps/frontend/src/app/page.tsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -239,9 +239,6 @@ export default function Home() {
239239
>
240240
Docs
241241
</a>
242-
<a className="primary-button" href="#quick-scan">
243-
New Scan
244-
</a>
245242
</div>
246243
</header>
247244

0 commit comments

Comments
 (0)