diff --git a/TODO.md b/TODO.md deleted file mode 100644 index 6ce370b..0000000 --- a/TODO.md +++ /dev/null @@ -1,19 +0,0 @@ -TODO: -* Design/Styling -* ~~drawio/svg cleanup~~ -* ~~use cases~~ -* ~~math in SVGs~~ (Needed an update of local drawio) -* social card -* review -* ~~deployment flow~~ -* ~~old links? https://docusaurus.io/docs/api/plugins/@docusaurus/plugin-client-redirects~~ - * ~~e.g. https://docs.tlsnotary.org/faq.html -> /docs/faq~~ -* README -* ~~Matomo tracking: https://github.com/karser/docusaurus-plugin-matomo/tree/main ~~ -* check links -* ~~dark/light theme diagrams~~ -* rename repo landing-page -> website -* archive old documentation website -* ~~What to do with drafts etc? -> prefix with `_`~~ -* Check Docusaurus warnings -> Fail build if there are warnings? -* Removed current landing page folder "old" \ No newline at end of file diff --git a/old/.editorconfig b/old/.editorconfig deleted file mode 100644 index a8c26d5..0000000 --- a/old/.editorconfig +++ /dev/null @@ -1,13 +0,0 @@ -#root = true - -[*] -indent_style = space -end_of_line = lf -charset = utf-8 -trim_trailing_whitespace = true -insert_final_newline = true -max_line_length = 120 -indent_size = 2 - -[*.md] -trim_trailing_whitespace = false diff --git a/old/.eslintrc.json b/old/.eslintrc.json deleted file mode 100644 index bffb357..0000000 --- a/old/.eslintrc.json +++ /dev/null @@ -1,3 +0,0 @@ -{ - "extends": "next/core-web-vitals" -} diff --git a/old/CNAME b/old/CNAME deleted file mode 100644 index afd706e..0000000 --- a/old/CNAME +++ /dev/null @@ -1 +0,0 @@ -tlsnotary.org diff --git a/old/README.md b/old/README.md deleted file mode 100644 index b1d60b3..0000000 --- a/old/README.md +++ /dev/null @@ -1,28 +0,0 @@ -# Privacy and Scaling Explorations -Main branch served at: https://appliedzkp.org/ - -This is the React re-write of the PSE website, formally just a landing page. - -## Get Started with Development - -`npm install` - -`npm run dev` serves a development server at [http://localhost:8080](http://localhost:8080) - -The app live under `/app`. - -## How to contribute - -### Have an idea? - -Create an [issue](https://github.com/AtHeartEngineering/pse_landingpage/issues/new) and tell us the idea! - -### Want to contribute? - -Feel free to fork this repo and make a pull request to the `dev` branch. - -### Build and deployment process - -1. When a pull request or push is made to the `dev` branch, github actions builds a static/production version of the site to the `gh-pages-dev` branch. -2. Once changes have been verified on the `gh-pages-dev` branch, the `dev` branch is merged into `master` where github actions builds and deploys a production version of the site to `gh-pages` -3. `gh-pages` is served at [http://projects.appliedzkp.org](http://projects.appliedzkp.org) diff --git a/old/app/about/page.tsx b/old/app/about/page.tsx deleted file mode 100644 index 5f972c0..0000000 --- a/old/app/about/page.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import { AppContainer } from "../../components/AppContainer"; -import { Section } from "../../components/Section"; -import { Button } from "../../components/ui/Button"; -import React from "react"; -import { LINKS } from "../settings"; -import { Banner } from "../../components/ui/Banner"; -import { LABELS } from "../../content"; -import { AppLink } from "@/components/AppLink"; - -export default function AboutPage() { - return ( -
- -
- {LABELS.ABOUT.WHO_WE_ARE.TITLE} - - } - description={LABELS.ABOUT.WHO_WE_ARE.DESCRIPTION} - > -
- - - -
-
- -
- {LABELS.ABOUT.GET_INVOLVED.TITLE} - - } - description={LABELS.ABOUT.GET_INVOLVED.DESCRIPTION} - > -
- - - -
-
-
- - - - } - /> -
- ); -} diff --git a/old/app/faq/page.tsx b/old/app/faq/page.tsx deleted file mode 100644 index ef81dcf..0000000 --- a/old/app/faq/page.tsx +++ /dev/null @@ -1,48 +0,0 @@ -import { AppMarkdown } from "@/components/AppMarkdown"; -import { AppContainer } from "../../components/AppContainer"; -import { Section } from "../../components/Section"; -import { Accordion } from "../../components/ui/Accordion"; -import { LABELS } from "../../content"; -import { FAQS } from "../../content/faq"; -import React from "react"; - -export default function FAQPage() { - return ( -
- -
- {LABELS.COMMON.FAQ} - - } - > -
- {FAQS.map(({ answer, question }, index) => { - return ( - - ( -

- ), - strong: ({ ...props }) => , - a: ({ ...props }) => ( - - ), - }} - > - {answer} - - - ); - })} -

-
-
-
- ); -} diff --git a/old/app/favicon.ico b/old/app/favicon.ico deleted file mode 100644 index 0431afc..0000000 Binary files a/old/app/favicon.ico and /dev/null differ diff --git a/old/app/globals.css b/old/app/globals.css deleted file mode 100644 index 861ca1c..0000000 --- a/old/app/globals.css +++ /dev/null @@ -1,44 +0,0 @@ -@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap'); -@tailwind base; -@tailwind components; -@tailwind utilities; - -:root { - --foreground-rgb: 0, 0, 0; - --background-start-rgb: 214, 219, 220; - --background-end-rgb: 255, 255, 255; -} - -@media (prefers-color-scheme: dark) { - :root { - --foreground-rgb: 255, 255, 255; - --background-start-rgb: 0, 0, 0; - --background-end-rgb: 0, 0, 0; - } -} - -body { - color: rgb(var(--foreground-rgb)); -} - -@layer utilities { - .text-balance { - text-wrap: balance; - } -} - -@keyframes appear { - from { opacity: 0; scale: 0.8; } - to { opacity: 1; scale: 1; } -} - - -.shadow-card { - box-shadow: 5px 39px 28px 0px rgba(0, 0, 0, 0.06); -} - -.appear { - animation: appear linear both; - animation-timeline: view(); - animation-range: entry 25% cover 45%; -} \ No newline at end of file diff --git a/old/app/layout.tsx b/old/app/layout.tsx deleted file mode 100644 index 0069e41..0000000 --- a/old/app/layout.tsx +++ /dev/null @@ -1,55 +0,0 @@ -import type { Metadata } from "next"; -import { Inter, DM_Sans } from "next/font/google"; -import "./globals.css"; -import { AppFooter } from "../components/AppFooter"; -import { AppHeader } from "../components/AppHeader"; -import Script from "next/script"; - -const inter = Inter({ subsets: ["latin"], variable: "--font-inter", display: "swap" }); -const sans = DM_Sans({ subsets: ["latin"], variable: "--font-sans", display: "swap" }); - -export const metadata: Metadata = { - title: "TLSNotary", - description: "Proof of data authenticity", - openGraph: { - images: [ - { - url: "/images/og-image.png", - width: 1200, - height: 800, - }, - ], - }, -}; - -export default function RootLayout({ - children, -}: Readonly<{ - children: React.ReactNode; -}>) { - return ( - - - - - {children} - - - - - ); -} diff --git a/old/app/page.tsx b/old/app/page.tsx deleted file mode 100644 index bdadc9d..0000000 --- a/old/app/page.tsx +++ /dev/null @@ -1,149 +0,0 @@ -import { AppLink } from "@/components/AppLink"; -import { AppContainer } from "../components/AppContainer"; -import { Banner, BannerTitle, BannerWrapper } from "../components/ui/Banner"; -import { Button } from "../components/ui/Button"; -import { Label } from "../components/ui/Label"; -import { LABELS } from "../content"; -import { LINKS } from "./settings"; -import { Icons } from "@/components/Icons"; -import { Section } from "@/components/Section"; -import Image from "next/image"; -import { classed } from "@tw-classed/react"; -import App from 'next/app'; - -interface ComparisonTableProps { - title: string; - tls: boolean; - tlsNotary: boolean; -} - -const TableWrapper = classed.div("grid grid-cols-4 "); -const TableTitle = classed.h4("font-semibold text-xs text-inter text-brown-50 uppercase md:text-[15px]"); -const TableContent = classed.div("p-4"); - -const ComparisonTable = ({ title, tls, tlsNotary }: ComparisonTableProps) => { - return ( - - - {title} - - {tls ? : } - {tlsNotary ? : } - - ); -}; - -export default function Home() { - return ( -
- -
-
-
- {LABELS.HOMEPAGE.SUBTITLE} - {LABELS.HOMEPAGE.TITLE} -
- - {LABELS.HOMEPAGE.DESCRIPTION} - -
-
- - - - - - - -
-
- -
- - -
- {LABELS.HOMEPAGE.WHY_USE_TLSNOTARY.TITLE} - - } - description={LABELS.HOMEPAGE.WHY_USE_TLSNOTARY.DESCRIPTION} - > -
- infographic - infographic mobile -
-
-
- - -
- -
- - TLS - - - TLSNotary - -
-
- -
- - TLS - - - TLSN - -
- - {LABELS.COMMON.SERVER_AUTHENTICATION} - - - - - - {LABELS.COMMON.DATA_PORTABILITY} - - - -
-
-
- - - - - {LABELS.COMMON.LEARN_THE_BASICS} - - -
-