From dbaa2db28a9add9f1068861ea0899a2888a5e6ca Mon Sep 17 00:00:00 2001 From: Anthony Stirling <77850077+Frooodle@users.noreply.github.com.> Date: Thu, 26 Dec 2024 23:48:33 +0000 Subject: [PATCH] cleanups and cookies --- docusaurus.config.js | 37 ++++++++-- src/components/HomepageFeatures/index.js | 66 ----------------- .../HomepageFeatures/styles.module.css | 11 --- src/pages/about.js | 47 ------------ src/pages/contact.js | 73 ------------------- src/pages/demos.js | 24 ------ src/pages/index.module.css | 23 ------ src/pages/markdown-page.md | 7 -- 8 files changed, 30 insertions(+), 258 deletions(-) delete mode 100644 src/components/HomepageFeatures/index.js delete mode 100644 src/components/HomepageFeatures/styles.module.css delete mode 100644 src/pages/about.js delete mode 100644 src/pages/contact.js delete mode 100644 src/pages/demos.js delete mode 100644 src/pages/index.module.css delete mode 100644 src/pages/markdown-page.md diff --git a/docusaurus.config.js b/docusaurus.config.js index 2e02f8e..bd39eae 100644 --- a/docusaurus.config.js +++ b/docusaurus.config.js @@ -25,6 +25,15 @@ const config = { defaultLocale: 'en', locales: ['en'], }, + scripts: [ + { + src: 'https://app.termly.io/resource-blocker/aa66d813-045f-4a28-b465-6aab431924d6', + type: 'text/javascript', + attributes: { + autoBlock: 'on' + } + }, + ], plugins: [ [ "posthog-docusaurus", @@ -130,15 +139,29 @@ const config = { label: 'Docker', href: 'https://hub.docker.com/r/frooodle/s-pdf', }, + { + label: 'GitHub', + href: 'https://github.com/Stirling-Tools/Stirling-PDF', + }, ], }, - { - title: 'More', - items: [{ - label: 'GitHub', - href: 'https://github.com/Stirling-Tools/Stirling-PDF', - }, ], - }, + { + title: 'Legal', + items: [ + { + label: 'Privacy Policy', + href: 'https://app.termly.io/policy-viewer/policy.html?policyUUID=09506b8c-1f83-48e2-bf2e-6fce9df4b61b', + }, + { + label: 'Cookie Policy', + href: 'https://app.termly.io/policy-viewer/policy.html?policyUUID=1bedd860-0cb2-49c1-a9dc-bc0886c1f6ca', + }, + { + label: 'Terms & Conditions', + href: 'https://app.termly.io/policy-viewer/policy.html?policyUUID=de68b39f-5e58-4c09-b260-8bdee9b99500', + }, + ], + }, ], copyright: `Copyright © ${new Date().getFullYear()} Stirling-PDF, Inc. Built with Docusaurus.`, }, diff --git a/src/components/HomepageFeatures/index.js b/src/components/HomepageFeatures/index.js deleted file mode 100644 index d6109d8..0000000 --- a/src/components/HomepageFeatures/index.js +++ /dev/null @@ -1,66 +0,0 @@ -import React from 'react'; -import clsx from 'clsx'; -import styles from './styles.module.css'; - -const FeatureList = [ -{ - title: 'Powerful PDF Tools', - Svg: require('@site/static/img/tools.svg').default, - description: ( - <> - Stirling PDF provides you with powerful tools to manage your PDF files. - Merge, split, or convert your PDF files with ease. - - ), - }, - { - title: 'Secure and Reliable', - Svg: require('@site/static/img/lock.svg').default, - description: ( - <> - Your files' security is our priority. Stirling PDF does not maintain any files, tracking or data. - It operates fully on your local machine, ensuring privacy and control over your data. - - ), - }, - { - title: 'Personalized for you', - Svg: require('@site/static/img/person.svg').default, - description: ( - <> - Stirling-PDF is designed with user-centricity in mind. - The interface, App name and description is all customizable, letting you adjust the settings according to your preferences and needs. - - ), - }, - - -]; - -function Feature({Svg, title, description}) { - return ( -
-
- -
-
-

{title}

-

{description}

-
-
- ); -} - -export default function HomepageFeatures() { - return ( -
-
-
- {FeatureList.map((props, idx) => ( - - ))} -
-
-
- ); -} diff --git a/src/components/HomepageFeatures/styles.module.css b/src/components/HomepageFeatures/styles.module.css deleted file mode 100644 index b248eb2..0000000 --- a/src/components/HomepageFeatures/styles.module.css +++ /dev/null @@ -1,11 +0,0 @@ -.features { - display: flex; - align-items: center; - padding: 2rem 0; - width: 100%; -} - -.featureSvg { - height: 200px; - width: 200px; -} diff --git a/src/pages/about.js b/src/pages/about.js deleted file mode 100644 index 8f6af20..0000000 --- a/src/pages/about.js +++ /dev/null @@ -1,47 +0,0 @@ -import React from 'react'; -import Layout from '@theme/Layout'; - -export default function About() { - return ( - -
-

About Stirling-PDF

- -

- Stirling PDF is a powerful, locally-hosted web application for PDF manipulation and processing, designed with privacy as a core principles. Developed as an open-source project, Stirling PDF offers a comprehensive suite of tools to handle all your PDF needs efficiently, while ensuring that your documents never leave your control. Unlike cloud-based web solutions, Stirling PDF processes everything locally meaning all files never leave your network. This privacy-first approach makes Stirling PDF an ideal choice for handling sensitive documents in both personal and professional contexts. -

- -

Our Vision

-

- Stirling-PDF was created to provide a locally-hosted alternative to online PDF tools, ensuring complete privacy and control over your documents. The application is continuously improved through community contributions, with new features and language support added regularly. Our long-term goal is to provide comprehensive PDF manipulation capabilities, eliminating the need for expensive Adobe subscriptions. In the short term, we're focused on revolutionizing PDF interactions through seamless automation and ensuring a quick clean UI for simple operations. -

- -

Milestones

-

- Our community has shown tremendous support, with two Reddit posts receiving over 400 upvotes each. Stirling-PDF is ranked among the top 20 Java apps by GitHub stars and in the top 400 overall, with over 5 million Docker downloads. -

- -

Get Involved

-

- Whether you're an individual user, part of a business, or a developer looking to integrate PDF capabilities into your workflow, Stirling PDF offers a flexible and powerful solution for all your PDF manipulation needs. Join our community on Discord or GitHub and discuss at upcoming features. We'd love to hear your feedback and ideas! -

- -
- -

About the Founder

-

- I'm Anthony Stirling from the UK. I started as a passionate software developer and grew into a dedicated DevOps enthusiast. My love for creating, making things, and improving systems drives me every day. My interests range from software development to hosting my own privacy focused selfhosted tech. -

- -

Professional Journey

-

- With 5 years in development and 3 years as a DevOps specialist, I've gained a lot of experience. A proud moment for me was being nominated and becoming a runner-up for "Innovation of the Year" at the UK IT Industry Awards representing my previous employer. -

-
-
- ); -} \ No newline at end of file diff --git a/src/pages/contact.js b/src/pages/contact.js deleted file mode 100644 index f8f24c1..0000000 --- a/src/pages/contact.js +++ /dev/null @@ -1,73 +0,0 @@ -import React from 'react'; -import Layout from '@theme/Layout'; - -export default function Contact() { - return ( - - -
- -

Contact Us

-

We value your feedback and inquiries. Please feel free to reach out to us through any of the following platforms:

- -
- - 🎧 Join our Discord community - - - - 🐞 Report an Issue on GitHub - - - - 💬 Join our GitHub Discussions - -
- -

For private business inquiries, please reach out via email or LinkedIn:

-
- - 📧 Email Us - - - - 💼 Connect on LinkedIn - -
- -

Thank you for being a part of our community!

- -
- -
- ); -} diff --git a/src/pages/demos.js b/src/pages/demos.js deleted file mode 100644 index 1d20c39..0000000 --- a/src/pages/demos.js +++ /dev/null @@ -1,24 +0,0 @@ -import React from 'react'; -import Layout from '@theme/Layout'; - -export default function Donate() { - return ( - - -
-

Check out our Demo

-

- - Stirling-PDF: The demo of the latest tag without security mode enabled and running the full version with all its features!. - -

-
-
- ); -} diff --git a/src/pages/index.module.css b/src/pages/index.module.css deleted file mode 100644 index 9f71a5d..0000000 --- a/src/pages/index.module.css +++ /dev/null @@ -1,23 +0,0 @@ -/** - * CSS files with the .module.css suffix will be treated as CSS modules - * and scoped locally. - */ - -.heroBanner { - padding: 4rem 0; - text-align: center; - position: relative; - overflow: hidden; -} - -@media screen and (max-width: 996px) { - .heroBanner { - padding: 2rem; - } -} - -.buttons { - display: flex; - align-items: center; - justify-content: center; -} diff --git a/src/pages/markdown-page.md b/src/pages/markdown-page.md deleted file mode 100644 index 9756c5b..0000000 --- a/src/pages/markdown-page.md +++ /dev/null @@ -1,7 +0,0 @@ ---- -title: Markdown page example ---- - -# Markdown page example - -You don't need React to write simple standalone pages.