Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add metadata #83

Merged
merged 2 commits into from
Dec 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading