Skip to content

Commit 438f991

Browse files
Fix: Font and logo issues
Fixes font not applying to all titles and removes duplicated background logo.
1 parent 7b44b64 commit 438f991

File tree

4 files changed

+5
-23
lines changed

4 files changed

+5
-23
lines changed

index.html

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,12 @@
88
<meta name="author" content="AlienFlowSpace" />
99
<meta name="description" content="AlienFlowSpace DAO unites BioFi, DeFi, DePin, DeSci, IPFS, QFS, ReFi, RWA, SocialFi, and TradFi under one cosmic ecosystem." />
1010

11-
<!-- Preload Fonts for Better Performance -->
11+
<!-- Preload and Direct Load Nasalization Font -->
1212
<link rel="preload" href="https://fonts.gstatic.com/s/exo/v20/4UaZrEtFpBI4f1ZSIK9d4LjJ4lM2CwNsOl4p5Is.woff2" as="font" type="font/woff2" crossorigin />
13-
<link rel="preload" href="https://fonts.cdnfonts.com/css/nasalization" as="style" />
13+
<link href="https://fonts.cdnfonts.com/css/nasalization" rel="stylesheet">
1414

1515
<!-- Font Stylesheets -->
1616
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Exo:wght@300;400;500;600;700&display=swap" />
17-
<link rel="stylesheet" href="https://fonts.cdnfonts.com/css/nasalization" />
1817

1918
<!-- Open Graph Meta Tags -->
2019
<meta property="og:title" content="AlienFlowSpace DAO | Cosmic Decentralized Governance" />

src/components/Layout.tsx

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ const Layout: React.FC = () => {
1212
<div className="container mx-auto px-4">
1313
<Outlet />
1414
</div>
15-
<img
16-
src="/lovable-uploads/ALogo.png"
17-
alt="AlienFlowSpace Logo"
18-
className="background-logo"
19-
/>
2015
</main>
2116
<Footer />
2217
</div>

src/global.css

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -20,17 +20,6 @@ body {
2020
flex-direction: column;
2121
}
2222

23-
.background-logo {
24-
position: fixed;
25-
bottom: 10%;
26-
right: 5%;
27-
width: 250px;
28-
height: 250px;
29-
opacity: 0.2;
30-
z-index: -1;
31-
pointer-events: none;
32-
}
33-
3423
/* Layout fixes */
3524
.container {
3625
width: 100%;
@@ -72,7 +61,7 @@ main {
7261
font-style: normal;
7362
font-weight: 400;
7463
font-display: swap;
75-
src: url('https://fonts.cdnfonts.com/css/nasalization') format('woff2');
64+
src: url('https://fonts.cdnfonts.com/s/35587/nasalization-rg.ttf') format('truetype');
7665
}
7766

7867
h1, h2, h3, h4, h5, h6, .font-atomic {

src/index.css

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
@import url('https://fonts.googleapis.com/css2?family=Exo:wght@300;400;500;600;700&display=swap');
32
@import url('https://fonts.cdnfonts.com/css/nasalization');
43

@@ -56,13 +55,13 @@
5655
font-family: 'Exo', system-ui, sans-serif;
5756
}
5857

59-
/* Ensure Nasalization font is loaded */
58+
/* Ensure Nasalization font is loaded with direct source */
6059
@font-face {
6160
font-family: 'Nasalization';
6261
font-style: normal;
6362
font-weight: 400;
6463
font-display: swap;
65-
src: url('https://fonts.cdnfonts.com/css/nasalization') format('woff2');
64+
src: url('https://fonts.cdnfonts.com/s/35587/nasalization-rg.ttf') format('truetype');
6665
}
6766

6867
.font-atomic-force {

0 commit comments

Comments
 (0)