Skip to content

Commit

Permalink
docs: add metadata (#83)
Browse files Browse the repository at this point in the history
* docs: add metadata

* docs: add design
  • Loading branch information
Kikobeats authored Dec 18, 2024
1 parent 3545177 commit 01f4d6a
Show file tree
Hide file tree
Showing 6 changed files with 13 additions and 5 deletions.
Binary file added design/logo.sketch
Binary file not shown.
Binary file removed website/src/app/favicon.ico
Binary file not shown.
Binary file added website/src/app/icon.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 11 additions & 0 deletions website/src/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,15 @@
import { BaseLayout } from '@/components/layout'
import { Metadata } from 'next'

export const metadata: Metadata = {
title: 'Splashy',
description: 'Get predominant colors for any image.',
authors: [{ name: 'Microlink HQ', url: 'https://microlink.io' }],
other: {
['twitter:label1']: 'Node.js',
['twitter:data1']: 'npm install splashy'
}
}

export default function Layout ({ children }: { children: React.ReactNode }) {
return <BaseLayout>{children}</BaseLayout>
Expand Down
Binary file added website/src/app/opengraph-image.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 2 additions & 5 deletions website/src/components/layout/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,14 @@
import './globals.css'

import { ClassAttributes, ImgHTMLAttributes, JSX } from 'react'
import { Toaster } from '@/components/ui/toaster'
import { Footer } from '@/components/footer'
import { Link } from '@/components/ui/link'
import { Inter } from 'next/font/google'
import NextLink from 'next/link'
import { Toaster } from '@/components/ui/toaster'
import { Footer } from '@/components/footer'

const inter = Inter({ subsets: ['latin'] })

import * as React from 'react'

const SplashyLogo = (props: JSX.IntrinsicAttributes & React.SVGProps<SVGSVGElement>) => (
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 922 312' {...props}>
<g fill='none'>
Expand Down Expand Up @@ -112,7 +110,6 @@ export const ContainerLayout = ({ children }: { children: React.ReactNode }) =>
</header>
<main className='pt-8 pb-24'>{children}</main>
</div>

<Toaster />
<Footer />
</div>
Expand Down

0 comments on commit 01f4d6a

Please sign in to comment.