diff --git a/docs/enterprise/tech-overview/architecture/overview.md b/docs/enterprise/tech-overview/architecture/overview.md index 909728ed1..766136869 100644 --- a/docs/enterprise/tech-overview/architecture/overview.md +++ b/docs/enterprise/tech-overview/architecture/overview.md @@ -23,7 +23,7 @@ You can see the overview of Codat's networking flow topology on the image below. Codat uses the [Microsoft Azure](https://azure.microsoft.com/en-us/) platform for all hosting and data storage, located in the UK only. Microsoft Azure is a growing collection of integrated cloud services that developers and IT professionals use to build, deploy, and manage applications through a global network of data centres. -In particular, Codat uses Azure’s [Platform as a service (PaaS)](https://azure.microsoft.com/en-gb/overview/what-is-paas/) offering. It includes hosting, networking, and storage infrastructure as well as middleware, development tools, and other resources required to support a complete web application lifecycle. +In particular, Codat uses Azure’s [Platform as a service (PaaS)](https://azure.microsoft.com/en-gb/resources/cloud-computing-dictionary/what-is-paas/) offering. It includes hosting, networking, and storage infrastructure as well as middleware, development tools, and other resources required to support a complete web application lifecycle. This allows Codat to focus on the services we create while Microsoft manages the underlying application infrastructure and automatically patches the operating system, maintaining them to the highest standard. diff --git a/docs/enterprise/tech-overview/architecture/shared-responsibility-model.md b/docs/enterprise/tech-overview/architecture/shared-responsibility-model.md index 084c93bdb..dc89fbf5c 100644 --- a/docs/enterprise/tech-overview/architecture/shared-responsibility-model.md +++ b/docs/enterprise/tech-overview/architecture/shared-responsibility-model.md @@ -9,7 +9,7 @@ Operations at Codat are performed entirely on cloud hosted platforms. As such, r ## Responsibilities by party -The following tables articulate the responsible parties at each layer of our [Platform as a service (PaaS)](https://azure.microsoft.com/en-gb/overview/what-is-paas/) offering and the details of their implementation. +The following tables articulate the responsible parties at each layer of our [Platform as a service (PaaS)](https://azure.microsoft.com/en-gb/resources/cloud-computing-dictionary/what-is-paas/) offering and the details of their implementation. ### Codat's scope diff --git a/src/pages/raise-support-ticket/index.tsx b/src/pages/raise-support-ticket/index.tsx deleted file mode 100644 index ccc1d2c54..000000000 --- a/src/pages/raise-support-ticket/index.tsx +++ /dev/null @@ -1,188 +0,0 @@ -import React from "react"; -import Layout from "@theme/Layout"; -import Navbar from "@theme/Navbar"; -import Logo from "@theme/Logo"; -import { useState } from "react"; -import axios from "axios"; -import useDocusaurusContext from "@docusaurus/useDocusaurusContext"; - -import styles from "../../components/Api/styles.module.scss"; -import localstyles from "./styles.module.scss"; - -const RaiseSupportTicket = () => { - const { siteConfig } = useDocusaurusContext(); - const [form, setForm] = useState({ - email: "", - subject: "", - description: "", - companyId: "", - affectedCompanies: "", - useCase: "", - }); - - const useCaseField = { - name: "Use case", - id: "12609122281501", - options: [ - { display: "", tag: "" }, - { display: "Automating Payables", tag: "automating_payable" }, - { display: "Bank feeds", tag: "bank_feeds" }, - ], - }; - const affectedCompaniesField = { - name: "Companies affected", - id: "12609266963485", - options: [ - { display: "", tag: "" }, - { display: "1", tag: "1_affected_companies" }, - { display: "2-10", tag: "2-10_affected_companies" }, - { display: "11-50", tag: "11-50_affected_companies" }, - { display: "50+", tag: "50_and_up_affected_companies" }, - ], - }; - - const handleChange = (event) => { - setForm({ - ...form, - [event.target.id]: event.target.value, - }); - }; - - const handleSubmit = async (e) => { - e.preventDefault(); - var token = siteConfig.customFields.ZENDESK_KEY; - var urlBase = siteConfig.customFields.ZENDESK_URL; - var headers = { - Authorization: `Basic ${token}`, - }; - var url = `${urlBase}/requests`; - console.log(form); - - const requestBody = { - request: { - requester: { - email: form.email, - }, - subject: form.subject, - comment: { body: form.description }, - ticket_form_id: 12605573765661, - custom_fields: [ - { - id: 9776596471197, - value: form.companyId, - }, - { - id: affectedCompaniesField.id, - value: `${form.affectedCompanies}`, - }, - { - id: useCaseField.id, - value: `${form.useCase}`, - }, - ], - }, - }; - - const response = await axios.post(url, requestBody, { - headers: headers, - }); - if (response.status == 201) { - alert( - "Thanks for raising a ticket with us. Someone will be in touch shortly." - ); - window.location.reload(); - } - }; - - return ( - -
- - -
-
-
-
- -
- -
- -
-