diff --git a/app/layout.tsx b/app/layout.tsx index 34695d5..36f5f44 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -1,10 +1,10 @@ import type { Metadata } from 'next'; +import { FC } from 'react'; import { Inter } from 'next/font/google'; import Header from '@/components/header'; import Footer from '@/components/footer'; import { siteConfig } from '@/config/site'; import '@/styles/globals.css'; -import { FC } from 'react'; const inter = Inter({ subsets: ['latin'] }); diff --git a/app/page.tsx b/app/page.tsx index 1766a6d..430b15e 100644 --- a/app/page.tsx +++ b/app/page.tsx @@ -1,10 +1,10 @@ 'use client'; +import { FC, useState } from 'react'; import { Toaster } from 'react-hot-toast'; import Hero from '@/components/hero'; -import { FC, useState } from 'react'; import Uploader from '@/components/uploader'; -import { ColorInfo } from '@/types/uploader'; import ColorList from '@/components/color-list'; +import { ColorInfo } from '@/types/uploader'; const Home: FC = () => { const [colorPalette, setColorPalette] = useState(null); diff --git a/components/footer/index.tsx b/components/footer/index.tsx index 432e5e6..ed87ad5 100644 --- a/components/footer/index.tsx +++ b/components/footer/index.tsx @@ -1,3 +1,4 @@ +import { siteConfig } from '@/config/site'; import { FC } from 'react'; type Props = {}; @@ -6,7 +7,12 @@ const Footer: FC = () => { return (
); diff --git a/components/header/index.tsx b/components/header/index.tsx index dff131f..7bab240 100644 --- a/components/header/index.tsx +++ b/components/header/index.tsx @@ -1,5 +1,6 @@ import { FC } from 'react'; import GithubIcon from '../icons/github'; +import { siteConfig } from '@/config/site'; type Props = {}; @@ -12,11 +13,13 @@ const Header: FC = ({}) => {
- + + +
); diff --git a/components/hero/index.tsx b/components/hero/index.tsx index 0b0a884..f6aa8b2 100644 --- a/components/hero/index.tsx +++ b/components/hero/index.tsx @@ -1,7 +1,7 @@ 'use client'; import { HeroColors } from '@/constants'; import { useState, useEffect, FC } from 'react'; -// import AnimatedCursor from "react-animated-cursor"; +import AnimatedCursor from 'react-animated-cursor'; const Hero: FC = () => { const [currentColorIndex, setCurrentColorIndex] = useState(0); @@ -38,7 +38,7 @@ const Hero: FC = () => {

- {/* */} + ); }; diff --git a/config/site.ts b/config/site.ts index 09c6a16..1a69dd7 100644 --- a/config/site.ts +++ b/config/site.ts @@ -3,14 +3,9 @@ export type SiteConfig = typeof siteConfig; export const siteConfig = { name: 'Rainbow Riot | Color Palette Generator', description: 'Generate color palettes from images', - navItems: [], - navMenuItems: [], links: { - github: 'https://github.com/Gimnath-Perera', - repository: 'https://github.com/Gimnath-Perera/mocktopus', - twitter: 'https://twitter.com/getnextui', + github: 'https://github.com/gimnathperera', + repository: 'https://github.com/gimnathperera/rainbow-riot', docs: 'https://nextui.org', - discord: 'https://discord.gg/9b6yyZKmH4', - sponsor: 'https://patreon.com/jrgarciadev', }, }; diff --git a/constants/index.ts b/constants/index.ts index 5db1032..ae73d93 100644 --- a/constants/index.ts +++ b/constants/index.ts @@ -1,11 +1,11 @@ export const HeroColors = [ - '#FF5117', - '#FF8E00', - '#F9D81E', - '#97CC37', - '#8177FA', - '#00C0E9', - '#C902E6', + '#FFFFE0', + '#F5F5F5', + '#FFFFFF', + '#98FB98', + '#FFDAB9', + '#FFF5E1', + '#E6E6FA', ]; export const MaxPaletteSize = 5;