Skip to content

Commit

Permalink
Merge pull request #328 from premieroctet/doc/update-seo
Browse files Browse the repository at this point in the history
Update doc informations
  • Loading branch information
cregourd authored Jun 3, 2024
2 parents dba0c90 + 90240fb commit cbd94d9
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 67 deletions.
22 changes: 0 additions & 22 deletions apps/docs/components/Footer.tsx

This file was deleted.

29 changes: 0 additions & 29 deletions apps/docs/components/Header.tsx

This file was deleted.

10 changes: 4 additions & 6 deletions apps/docs/pages/index.mdx
Original file line number Diff line number Diff line change
@@ -1,20 +1,18 @@
---
title: Next Admin - Full-featured Admin for Next.js and Prisma
description: Ready-to-go Admin for Next.js and Prisma
description: Next Admin is a full-featured Admin for Next.js and Prisma. Provide components and utilities to build a complete admin interface for your application.
---

import Footer from "@/components/Footer";
import Header from "@/components/Header";
import { Hero } from "@/components/Hero";
import Subtitle from "@/components/Subtitle";
import { FeaturesBento } from "@/components/bento/FeaturesBento";

<main className="flex min-h-screen flex-col items-center justify-between px-10">
<Hero />
<div className="w-full bg-grid-small-black/20 dark:bg-grid-small-white/20">
<div className="max-w-4xl mx-auto flex flex-col gap-10">
<div className="bg-grid-small-black/20 dark:bg-grid-small-white/20 w-full">
<div className="mx-auto flex max-w-4xl flex-col gap-10">
<Subtitle>Getting Started</Subtitle>
<div className="bg-black text-white font-mono px-5 py-3 rounded-md mx-auto inline-block shadow-[0_10px_20px_rgba(230,253,238,1)] dark:shadow-[0_10px_20px_rgba(255,255,255,0.4)]">
<div className="mx-auto inline-block rounded-md bg-black px-5 py-3 font-mono text-white shadow-[0_10px_20px_rgba(230,253,238,1)] dark:shadow-[0_10px_20px_rgba(255,255,255,0.4)]">
yarn add @premieroctet/next-admin prisma-json-schema-generator
</div>
</div>
Expand Down
27 changes: 17 additions & 10 deletions apps/docs/theme.config.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react";
import { useRouter } from "next/router";
import React from "react";
import Logo from "./components/Logo";

const config = {
Expand All @@ -14,22 +14,29 @@ const config = {
},
docsRepositoryBase: "https://github.com/premieroctet/next-admin",
footer: {
text: `MIT ${new Date().getFullYear()} © Premier Octet.`,
text: (
<span>
MIT {new Date().getFullYear()} ©{" "}
{
// eslint-disable-next-line react/jsx-no-target-blank
<a href="https://premieroctet.com" target="_blank">
Premier Octet
</a>
}
.
</span>
),
},
darkMode: true,
primaryHue: 209,
primarySaturation: 100,
head: (
<>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
property="og:title"
content="Next Admin, auto generated admin from Prisma for your Next.js app."
/>
<meta
property="og:description"
content="Next Admin is a GUI built on top of Prisma and Next.js that allows you to easily manage and visualize your database."
/>
<meta name="keywords" content="next, prisma, admin, database, next.js, back-office, cms" />
<meta name="publisher" content="Premier Octet" />
<link rel="canonical" href="https://next-admin.vercel.app" />
<link rel="icon" href="/logo.svg" />
</>
),
editLink: {
Expand Down

0 comments on commit cbd94d9

Please sign in to comment.