Skip to content

Commit b3ddb43

Browse files
authored
Merge pull request #8 from multivmlabs/website-redesign
feat(website): redesign landing page with glassmorphic dark theme
2 parents a1bd0f6 + 8b6b62f commit b3ddb43

File tree

10 files changed

+1191
-256
lines changed

10 files changed

+1191
-256
lines changed

website/astro.config.mjs

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,21 @@ export default defineConfig({
1010
title: 'aeo.js',
1111
description: 'Answer Engine Optimization for the modern web. Make your site discoverable by AI crawlers and LLMs.',
1212
url: 'https://aeojs.org',
13+
schema: {
14+
organization: {
15+
name: 'aeo.js',
16+
url: 'https://aeojs.org',
17+
logo: 'https://aeojs.org/og.png',
18+
sameAs: [
19+
'https://github.com/multivmlabs/aeo.js',
20+
'https://www.npmjs.com/package/aeo.js',
21+
],
22+
},
23+
},
1324
widget: {
1425
enabled: true,
1526
position: 'bottom-right',
27+
size: 'small',
1628
showBadge: true,
1729
theme: {
1830
background: 'rgba(10, 10, 10, 0.95)',
@@ -25,12 +37,11 @@ export default defineConfig({
2537
starlight({
2638
title: 'aeo.js',
2739
description: 'Answer Engine Optimization for the modern web. Make your site discoverable by AI crawlers and LLMs.',
28-
social: [
29-
{ icon: 'github', label: 'GitHub', href: 'https://github.com/multivmlabs/aeo.js' },
30-
{ icon: 'npm', label: 'npm', href: 'https://www.npmjs.com/package/aeo.js' },
31-
],
40+
social: [],
3241
components: {
3342
Header: './src/components/Header.astro',
43+
Hero: './src/components/Hero.astro',
44+
Footer: './src/components/Footer.astro',
3445
},
3546
customCss: ['./src/styles/custom.css'],
3647
head: [

website/package-lock.json

Lines changed: 89 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

website/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
},
1212
"dependencies": {
1313
"@astrojs/starlight": "^0.38.1",
14-
"aeo.js": "^0.0.7",
14+
"aeo.js": "^0.0.8",
1515
"astro": "^6.0.1",
1616
"sharp": "^0.34.2"
1717
}
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
import Default from '@astrojs/starlight/components/Footer.astro';
3+
---
4+
5+
<Default {...Astro.props}><slot /></Default>
6+
7+
<footer class="aeo-footer">
8+
<span>Built by</span>
9+
<a href="https://github.com/rubenmarcus" target="_blank" rel="noopener">rubenmarcus</a>
10+
<span class="sep">&</span>
11+
<a href="https://github.com/multivmlabs" target="_blank" rel="noopener">multivmlabs</a>
12+
</footer>
13+
14+
<style>
15+
.aeo-footer {
16+
display: flex;
17+
align-items: center;
18+
justify-content: center;
19+
gap: 0.4rem;
20+
padding: 1.5rem 1rem;
21+
font-size: 0.78rem;
22+
color: rgba(255, 255, 255, 0.25);
23+
border-top: 1px solid rgba(255, 255, 255, 0.06);
24+
}
25+
26+
.aeo-footer a {
27+
color: rgba(255, 255, 255, 0.45);
28+
text-decoration: none;
29+
transition: color 0.15s ease;
30+
}
31+
32+
.aeo-footer a:hover {
33+
color: #fff;
34+
}
35+
36+
.sep {
37+
opacity: 0.4;
38+
}
39+
40+
:global([data-theme="light"]) .aeo-footer {
41+
color: rgba(0, 0, 0, 0.3);
42+
border-top-color: rgba(0, 0, 0, 0.06);
43+
}
44+
45+
:global([data-theme="light"]) .aeo-footer a {
46+
color: rgba(0, 0, 0, 0.5);
47+
}
48+
49+
:global([data-theme="light"]) .aeo-footer a:hover {
50+
color: #000;
51+
}
52+
</style>

0 commit comments

Comments
 (0)