This repository was archived by the owner on Apr 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1k
Added Privacy Policy Page #1296
Closed
Closed
Changes from all commits
Commits
Show all changes
23 commits
Select commit
Hold shift + click to select a range
a650699
Added Privacy Policy Page
poorvi-vaish d186262
Fixed naming
poorvi-vaish 7ea3dca
Removed unused imports
poorvi-vaish f1aa186
Merge branch 'master' into policypage
benhalverson 67a251b
Merge branch 'master' into policypage
poorvi-vaish c6e7af5
Added test for privacy policy page
poorvi-vaish fb9adaf
Merge branch 'master' into policypage
poorvi-vaish 573bded
Fixed some tests
poorvi-vaish d7f977a
Merge branch 'master' into policypage
benhalverson 4295206
Moidified privacy.md
poorvi-vaish ed06b76
Fixes
poorvi-vaish 81c4450
Merge branch 'master' into policypage
poorvi-vaish 9e37b50
Resolved conflicts
poorvi-vaish 1792e84
Fixed Prettier checks
poorvi-vaish fd73d33
Merge branch 'master' into policypage
benhalverson 3630d70
Merge branch 'master' into policypage
benhalverson 3d37f27
Merge branch 'master' into policypage
poorvi-vaish 6e58921
Revert "Resolved conflicts"
poorvi-vaish 6747e9b
Fixes
poorvi-vaish d0bc479
Merge branch 'master' into policypage
poorvi-vaish cea6ebc
Fixes
poorvi-vaish 3a83372
Merge branch 'main' into policypage
poorvi-vaish 66c9046
Merge branch 'main' into policypage
benhalverson File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,46 @@ | ||
| import React from 'react'; | ||
| import { graphql } from 'gatsby'; | ||
| import { Page } from '../types'; | ||
| import Layout from '../components/Layout'; | ||
| import Article from '../components/Article'; | ||
| import Footer from '../components/Footer'; | ||
| import '../styles/article-reader.scss'; | ||
|
|
||
| export default function PrivacyPage({ data }: Page): JSX.Element { | ||
| const { title, description } = data.page.frontmatter; | ||
| const { html, tableOfContents } = data.page; | ||
| const { authors } = data.page.fields; | ||
|
|
||
| return ( | ||
| <> | ||
| <Layout title={title} description={description} showFooter={false}> | ||
| <main className="blog-container"> | ||
| <Article | ||
| title={title} | ||
| html={html} | ||
| tableOfContents={tableOfContents} | ||
| authors={authors} | ||
| editPath="content/about/privacy.md" | ||
| /> | ||
| </main> | ||
| </Layout> | ||
| <Footer /> | ||
| </> | ||
| ); | ||
| } | ||
|
|
||
| export const query = graphql` | ||
| query { | ||
| page: markdownRemark(fields: { slug: { eq: "privacy-policy" } }) { | ||
| html | ||
| tableOfContents(absolute: false, pathToSlugField: "frontmatter.path") | ||
| frontmatter { | ||
| title | ||
| description | ||
| } | ||
| fields { | ||
| authors | ||
| } | ||
| } | ||
| } | ||
| `; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.