More website fixes for first push (#1560)
## Description - Fix website URL - Add the AWS CLI for publishing the website - Temporarily force dark mode - More image cleanups ## Type of change - [x] 🌻 Feature - [x] 🗺️ Documentation
@ -4,7 +4,7 @@ LABEL MAINTAINER="Niraj Tolia"
|
|||||||
ARG DEBIAN_FRONTEND=noninteractive
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
|
|
||||||
# NOTE for lines 13,15: update in CI when updating
|
# NOTE for lines 13,15: update in CI when updating
|
||||||
RUN apt-get -y update && apt-get -y install gpg emacs curl git make \
|
RUN apt-get -y update && apt-get -y install gpg emacs curl zip git make \
|
||||||
&& curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \
|
&& curl -fsSL https://deb.nodesource.com/setup_current.x | bash - \
|
||||||
&& apt-get -y install nodejs \
|
&& apt-get -y install nodejs \
|
||||||
&& apt-get autoclean \
|
&& apt-get autoclean \
|
||||||
@ -12,7 +12,9 @@ RUN apt-get -y update && apt-get -y install gpg emacs curl git make \
|
|||||||
&& npm --version \
|
&& npm --version \
|
||||||
&& cd /tmp && curl -O -L https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz \
|
&& cd /tmp && curl -O -L https://github.com/errata-ai/vale/releases/download/v2.20.1/vale_2.20.1_Linux_64-bit.tar.gz \
|
||||||
&& tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C /usr/bin vale \
|
&& tar -xvzf vale_2.20.1_Linux_64-bit.tar.gz -C /usr/bin vale \
|
||||||
&& npm install -g markdownlint-cli@0.32.2
|
&& npm install -g markdownlint-cli@0.32.2 \
|
||||||
|
&& curl "https://awscli.amazonaws.com/awscli-exe-linux-x86_64.zip" -o "awscliv2.zip" \
|
||||||
|
&& unzip awscliv2.zip && /bin/bash aws/install && rm -rf awscliv2.zip aws
|
||||||
|
|
||||||
WORKDIR /usr/src
|
WORKDIR /usr/src
|
||||||
COPY package.json package-lock.json* ./
|
COPY package.json package-lock.json* ./
|
||||||
|
|||||||
@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
|
|||||||
const config = {
|
const config = {
|
||||||
title: 'Corso Documentation',
|
title: 'Corso Documentation',
|
||||||
tagline: 'Free, Secure, and Open-Source Backup for Microsoft 365',
|
tagline: 'Free, Secure, and Open-Source Backup for Microsoft 365',
|
||||||
url: 'https://docs.corsobackup.io',
|
url: 'https://corsobackup.io',
|
||||||
baseUrl: process.env.CORSO_DOCS_BASEURL || '/',
|
baseUrl: process.env.CORSO_DOCS_BASEURL || '/',
|
||||||
onBrokenLinks: 'throw',
|
onBrokenLinks: 'throw',
|
||||||
onBrokenMarkdownLinks: 'throw',
|
onBrokenMarkdownLinks: 'throw',
|
||||||
@ -140,8 +140,8 @@ const config = {
|
|||||||
},
|
},
|
||||||
colorMode: {
|
colorMode: {
|
||||||
defaultMode: 'dark',
|
defaultMode: 'dark',
|
||||||
disableSwitch: false,
|
disableSwitch: true,
|
||||||
respectPrefersColorScheme: true,
|
respectPrefersColorScheme: false,
|
||||||
},
|
},
|
||||||
|
|
||||||
zoom: {
|
zoom: {
|
||||||
|
|||||||
@ -51,7 +51,7 @@ export default function FirstSection() {
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="assets/images/cloudbackup.svg"
|
src="img/cloudbackup.svg"
|
||||||
className="w-[70%] inline-block object-contain"
|
className="w-[70%] inline-block object-contain"
|
||||||
alt="Cloud backup and storage"
|
alt="Cloud backup and storage"
|
||||||
/>
|
/>
|
||||||
|
|||||||
@ -193,7 +193,7 @@ export default function ThirdSection() {
|
|||||||
data-wow-delay=".3s"
|
data-wow-delay=".3s"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="assets/images/why/chat.svg"
|
src="/img/why/chat.svg"
|
||||||
className="rounded-lg"
|
className="rounded-lg"
|
||||||
alt="Group discussion"
|
alt="Group discussion"
|
||||||
/>
|
/>
|
||||||
@ -258,7 +258,7 @@ export default function ThirdSection() {
|
|||||||
data-wow-delay=".5s"
|
data-wow-delay=".5s"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="assets/images/why/security.svg"
|
src="/img/why/security.svg"
|
||||||
className="rounded-lg"
|
className="rounded-lg"
|
||||||
alt="Approval of fingerprint security"
|
alt="Approval of fingerprint security"
|
||||||
/>
|
/>
|
||||||
@ -311,7 +311,7 @@ export default function ThirdSection() {
|
|||||||
data-wow-delay=".5s"
|
data-wow-delay=".5s"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="assets/images/why/data.svg"
|
src="/img/why/data.svg"
|
||||||
className="rounded-lg"
|
className="rounded-lg"
|
||||||
alt="Data extraction dashboard"
|
alt="Data extraction dashboard"
|
||||||
/>
|
/>
|
||||||
@ -376,7 +376,7 @@ export default function ThirdSection() {
|
|||||||
data-wow-delay=".5s"
|
data-wow-delay=".5s"
|
||||||
>
|
>
|
||||||
<img
|
<img
|
||||||
src="assets/images/why/savings.svg"
|
src="/img/why/savings.svg"
|
||||||
className="rounded-lg"
|
className="rounded-lg"
|
||||||
alt="Adding money to a savings jar"
|
alt="Adding money to a savings jar"
|
||||||
/>
|
/>
|
||||||
|
|||||||
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 24 KiB |