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
This commit is contained in:
Niraj Tolia 2022-11-19 18:35:48 -08:00 committed by GitHub
parent 53a55dc691
commit 7ecc94457d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
8 changed files with 12 additions and 10 deletions

View File

@ -4,7 +4,7 @@ LABEL MAINTAINER="Niraj Tolia"
ARG DEBIAN_FRONTEND=noninteractive
# 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 - \
&& apt-get -y install nodejs \
&& apt-get autoclean \
@ -12,7 +12,9 @@ RUN apt-get -y update && apt-get -y install gpg emacs curl git make \
&& 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 \
&& 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
COPY package.json package-lock.json* ./

View File

@ -8,7 +8,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula');
const config = {
title: 'Corso Documentation',
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 || '/',
onBrokenLinks: 'throw',
onBrokenMarkdownLinks: 'throw',
@ -140,8 +140,8 @@ const config = {
},
colorMode: {
defaultMode: 'dark',
disableSwitch: false,
respectPrefersColorScheme: true,
disableSwitch: true,
respectPrefersColorScheme: false,
},
zoom: {

View File

@ -51,7 +51,7 @@ export default function FirstSection() {
}}
>
<img
src="assets/images/cloudbackup.svg"
src="img/cloudbackup.svg"
className="w-[70%] inline-block object-contain"
alt="Cloud backup and storage"
/>

View File

@ -193,7 +193,7 @@ export default function ThirdSection() {
data-wow-delay=".3s"
>
<img
src="assets/images/why/chat.svg"
src="/img/why/chat.svg"
className="rounded-lg"
alt="Group discussion"
/>
@ -258,7 +258,7 @@ export default function ThirdSection() {
data-wow-delay=".5s"
>
<img
src="assets/images/why/security.svg"
src="/img/why/security.svg"
className="rounded-lg"
alt="Approval of fingerprint security"
/>
@ -311,7 +311,7 @@ export default function ThirdSection() {
data-wow-delay=".5s"
>
<img
src="assets/images/why/data.svg"
src="/img/why/data.svg"
className="rounded-lg"
alt="Data extraction dashboard"
/>
@ -376,7 +376,7 @@ export default function ThirdSection() {
data-wow-delay=".5s"
>
<img
src="assets/images/why/savings.svg"
src="/img/why/savings.svg"
className="rounded-lg"
alt="Adding money to a savings jar"
/>

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 115 KiB

View File

Before

Width:  |  Height:  |  Size: 24 KiB

After

Width:  |  Height:  |  Size: 24 KiB