change fonts to geist

This commit is contained in:
Aidan 2025-01-06 08:50:32 -05:00
parent c0312888ad
commit 8a3d315e95
4 changed files with 8 additions and 6 deletions

View File

@ -11,7 +11,7 @@ export default function Home() {
height={150} height={150}
className="rounded-full mx-auto mb-6 border-4 border-gray-700" className="rounded-full mx-auto mb-6 border-4 border-gray-700"
/> />
<h1 className="text-4xl font-bold mb-2">Aidan</h1> <h1 className="text-4xl font-bold mb-2 text-gray-100 glow">Aidan</h1>
<p className="text-gray-400 text-xl">Web Developer & Student</p> <p className="text-gray-400 text-xl">Web Developer & Student</p>
</div> </div>

View File

@ -38,3 +38,7 @@ html {
scroll-behavior: smooth; scroll-behavior: smooth;
} }
.glow {
text-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
}

View File

@ -1,16 +1,14 @@
import React from 'react'; import React from 'react';
import './globals.css' import './globals.css'
import type { Metadata } from 'next' import type { Metadata } from 'next'
import { Inter } from 'next/font/google'
import '@fortawesome/fontawesome-svg-core/styles.css' import '@fortawesome/fontawesome-svg-core/styles.css'
import { config } from '@fortawesome/fontawesome-svg-core' import { config } from '@fortawesome/fontawesome-svg-core'
import { SpeedInsights } from "@vercel/speed-insights/next" import { SpeedInsights } from "@vercel/speed-insights/next"
import { Analytics } from "@vercel/analytics/react" import { Analytics } from "@vercel/analytics/react"
import { GeistSans } from 'geist/font/sans';
config.autoAddCss = false config.autoAddCss = false
const inter = Inter({ subsets: ['latin'] })
export const metadata: Metadata = { export const metadata: Metadata = {
title: 'aidxn.cc', title: 'aidxn.cc',
description: 'The Internet home of Aidan. Come on in!', description: 'The Internet home of Aidan. Come on in!',
@ -48,9 +46,8 @@ export default function RootLayout({
<meta name="robots" content="index, follow" /> <meta name="robots" content="index, follow" />
<meta name="language" content="English" /> <meta name="language" content="English" />
<meta name="author" content="aidxn.cc" /> <meta name="author" content="aidxn.cc" />
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" />
</head> </head>
<body className={`${inter.className} bg-gray-900 text-gray-100`}> <body className={`${GeistSans.className} bg-gray-900 text-gray-100`}>
{children} {children}
<Analytics /> <Analytics />
<SpeedInsights /> <SpeedInsights />

View File

@ -15,6 +15,7 @@
"@fortawesome/react-fontawesome": "^0.2.2", "@fortawesome/react-fontawesome": "^0.2.2",
"@vercel/analytics": "^1.4.1", "@vercel/analytics": "^1.4.1",
"@vercel/speed-insights": "^1.1.0", "@vercel/speed-insights": "^1.1.0",
"geist": "^1.3.1",
"next": "15.1.3", "next": "15.1.3",
"react": "^19.0.0", "react": "^19.0.0",
"react-dom": "^19.0.0" "react-dom": "^19.0.0"