feat(ui): complete homepage overhaul with magicui animations, shiftable tools grid, bento grid, 3D visualizer, and marquee reviews
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
--color-surface-card: #FFFFFF;
|
||||
--theme-radius: 20px;
|
||||
--theme-max-width: 1400px;
|
||||
--font-sf: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "SF Pro", "Helvetica Neue", sans-serif;
|
||||
}
|
||||
|
||||
html {
|
||||
|
||||
+11
-7
@@ -1,19 +1,22 @@
|
||||
import type { Metadata } from 'next';
|
||||
import { Plus_Jakarta_Sans, Outfit, JetBrains_Mono } from 'next/font/google';
|
||||
import { Poppins, Inter, JetBrains_Mono } from 'next/font/google';
|
||||
import './globals.css';
|
||||
import { getSiteConfig } from '@/lib/config/loader';
|
||||
import { Navbar } from '@/components/ui/Navbar';
|
||||
import { Footer } from '@/components/ui/Footer';
|
||||
import { SmoothCursor } from '@/components/magicui/smooth-cursor';
|
||||
|
||||
const sansFont = Plus_Jakarta_Sans({
|
||||
const poppinsFont = Poppins({
|
||||
subsets: ['latin'],
|
||||
variable: '--font-sans',
|
||||
weight: ['300', '400', '500', '600', '700', '800'],
|
||||
variable: '--font-poppins',
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
const displayFont = Outfit({
|
||||
const interFont = Inter({
|
||||
subsets: ['latin'],
|
||||
variable: '--font-display',
|
||||
weight: ['300', '400', '500', '600', '700'],
|
||||
variable: '--font-inter',
|
||||
display: 'swap',
|
||||
});
|
||||
|
||||
@@ -83,14 +86,15 @@ export default function RootLayout({
|
||||
};
|
||||
|
||||
return (
|
||||
<html lang="en" className={`${sansFont.variable} ${displayFont.variable} ${monoFont.variable}`}>
|
||||
<html lang="en" className={`${poppinsFont.variable} ${interFont.variable} ${monoFont.variable} font-sans`}>
|
||||
<head>
|
||||
<script
|
||||
type="application/ld+json"
|
||||
dangerouslySetInnerHTML={{ __html: JSON.stringify(organizationJsonLd) }}
|
||||
/>
|
||||
</head>
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative">
|
||||
<body className="min-h-screen flex flex-col antialiased selection:bg-blue-600 selection:text-white bg-[#FAF8F5] text-slate-900 relative font-sans">
|
||||
<SmoothCursor />
|
||||
<a href="#main-content" className="skip-link">Skip to main content</a>
|
||||
<Navbar config={config} currentLocale="en" />
|
||||
<main id="main-content" className="flex-1">{children}</main>
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import React from 'react';
|
||||
import { getPageConfig, getAllTools, getAllApps, getAllCategories, getToolById, getAppById, getSiteConfig } from '@/lib/config/loader';
|
||||
import { getEndpointById } from '@/lib/catalog/loader';
|
||||
import { SectionRenderer } from '@/components/sections/SectionRenderer';
|
||||
|
||||
Reference in New Issue
Block a user