Skip to content

Commit 6becc12

Browse files
authored
Merge pull request #7 from supabase-community/feat-about-descriptions
2 parents 9725318 + 494c3af commit 6becc12

File tree

2 files changed

+10
-13
lines changed

2 files changed

+10
-13
lines changed

app/lib/navigation.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ export function Navigation() {
2828
<ActiveLink href="/submit" activeClassName="text-black">
2929
<a className="mr-5 hover:text-gray-900 text-gray-400">submit</a>
3030
</ActiveLink>
31+
<ActiveLink href="/about" activeClassName="text-black">
32+
<a className="mr-5 hover:text-gray-900 text-gray-400">about</a>
33+
</ActiveLink>
3134
</nav>
3235
{user.user === null ? (
3336
<Link href="/login">

app/pages/about.tsx

Lines changed: 7 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,6 @@ import type { NextPage } from "next";
33
import Head from "next/head";
44
import Link from "next/link";
55

6-
import { useQuery } from "urql";
7-
86
import {
97
CodeIcon,
108
CogIcon,
@@ -17,10 +15,7 @@ import {
1715
TemplateIcon,
1816
} from "@heroicons/react/outline";
1917

20-
import { gql } from "../gql";
2118
import { Container } from "../lib/container";
22-
import { FeedItem } from "../lib/feed-item";
23-
import { noopUUID } from "../lib/noop-uuid";
2419

2520
const About: NextPage = () => {
2621
const features = [
@@ -91,21 +86,21 @@ const About: NextPage = () => {
9186
const faqs = [
9287
{
9388
id: 1,
94-
question: "GraphQL Queries and Mutations",
89+
question: "GraphQL Query and Mutation Operations",
9590
answer:
96-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
91+
"The data on this page is fetched from the GraphQL layer auto-generated via pg_graphql.",
9792
},
9893
{
9994
id: 2,
10095
question: "Pagination",
10196
answer:
102-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
97+
"pg_graphql generates standardized pagination types and fields as defined by the GraphQL Cursor Connections Specification.",
10398
},
10499
{
105100
id: 3,
106101
question: "GraphQL Code Generation",
107102
answer:
108-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
103+
"GraphQL Code Generator introspects your GraphQL schema and operations and generates the types for full backend to frontend type-safety.",
109104
},
110105
{
111106
id: 4,
@@ -116,20 +111,19 @@ const About: NextPage = () => {
116111
{
117112
id: 5,
118113
question: "Supabase Auth",
119-
answer:
120-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
114+
answer: "Authorization cannot get any easier.",
121115
},
122116
{
123117
id: 6,
124118
question: "pg_graphql Postgres Extension",
125119
answer:
126-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
120+
"pg_graphql generates a GraphQL API based on the Postgres schema.",
127121
},
128122
{
129123
id: 7,
130124
question: "Postgres RLS",
131125
answer:
132-
"Lorem ipsum dolor sit amet consectetur adipisicing elit. Quas cupiditate laboriosam fugiat.",
126+
"Row level security on the Postgres layer ensures that viewers can only access what they are allowed to access and can only create records when authenticated.",
133127
},
134128
{
135129
id: 8,

0 commit comments

Comments
 (0)