Skip to content
This repository has been archived by the owner on Nov 29, 2023. It is now read-only.

Commit

Permalink
DX-2631 Overhaul Landing Pages (#570)
Browse files Browse the repository at this point in the history
* DX-2631 Redo Landing Page

* lots of changes and refactoring

* fixes to navbar links

* remove announcement bar

* add placeholder images and css

* clean up unused image files and naming consistency

* change productgrid to itemgrid

* remove nojekyll

* component css imports

* sdk pages imports

* whitespace in index,js

* update docusaurus and dependencies

* newlines

* avoid cease and desist

* css fixes

* DX-2631 Update API Reference Page (#598)

* DX-2631 Update Api Reference Page

* make it more reacty

* remove unused images

* Add lottie files

* css

* font color on api reference page

* css fixes

* removed unused actions and workflows

* remove unused workflow

* DX-2631 Footer Update (#618)

* BWDB-13221: Allow longer subscriber and business name fields for port-ins

* csr updates (#613)

Co-authored-by: akharin <[email protected]>

* rename "inservice" -> "in-service" (#612)

* response schema's for sites/{id}/inserviceNumbers|orders|orders/{id}|totalTns|portins

* rename "inservice"|"in service" to "in-service" for consistency

Co-authored-by: ichesnov <[email protected]>

* DX-2638 (#615)

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* clean up bw logos and footer

* css changes to footer

* redo footer links

* DX-2563 (#587)

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* update filenames and json->yaml loads

Co-authored-by: AJ Rice <[email protected]>
Co-authored-by: Cameron Koegel <[email protected]>

* DX-2564 (#586)

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* DX-2564 removed JSON messaging spec

* Updated Global to match changes

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

Co-authored-by: Brian <[email protected]>
Co-authored-by: Cameron Koegel <[email protected]>

* DX-2565 (#551)

* Add Code Snippets to Spec Files

* DX-2565

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

Co-authored-by: DX-Bandwidth <[email protected]>

* DX-2566 (#614)

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* DX-2566 Clean Up MFA Spec

* YAML.parse

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* remove old mfa spec

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

Co-authored-by: Cameron Koegel <[email protected]>

* DX-2567 Clean Up TN Lookup Spec (#617)

* Add Code Snippets to Spec Files

* doc site fixes

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

* Add Code Snippets to Spec Files

Co-authored-by: Cameron Koegel <[email protected]>

* change footer and font colors

Co-authored-by: Joshua Dunster <[email protected]>
Co-authored-by: akharin <[email protected]>
Co-authored-by: akharin <[email protected]>
Co-authored-by: Ivan Chesnov <[email protected]>
Co-authored-by: ichesnov <[email protected]>
Co-authored-by: DX-Bandwidth <[email protected]>
Co-authored-by: Josh Dunster <[email protected]>
Co-authored-by: AJ Rice <[email protected]>
Co-authored-by: Brian <[email protected]>
Co-authored-by: DX-Bandwidth <[email protected]>

* Update site/docusaurus.config.js

* change text-align for api reference page

* update logos and move to beta 22

* remove old webrtc image

* fix footer image size

* update dashboard icon

* merge main

* hopefully fix yarn lock

* update docusaurus

* DX-2631 Rebrand (#667)

* DX-2631 Rebrand

* line endings

* updates to images and grid

* begin to refactor images

* refactor images

* refactor more images

* start to use @site

* more @site

* more @site usage

* start to remove img tags in docs

* @site and refactor more images

* @site

* @site for img: in md files

* landing images and final @sites

* finally finish with images and docs

* update apis landing page

* fix svg class name clashes and add dark mode color

* get landing images working

* sdk-icons

* remove old logos

* line endings

* line endings

* Revert "line endings"

This reverts commit d3c0585.

* Revert "line endings"

This reverts commit 3dab3f7.

* line endings??

* footer and scaling

* ruby svg

* css fixes

* fix sdk page

* css fixes

* change deploy to on release

* final ruby logo

* Fix Redoc and sdk page

* final css changes

* LF

* minor fixes

* fix merge conflict

* spelling and table css

* table css for sdk page

* redoc css

* make text clickable on landing pages

* final css changes per marketing

* white

* colors vars

* caps

* /*

Co-authored-by: Joshua Dunster <[email protected]>
Co-authored-by: akharin <[email protected]>
Co-authored-by: akharin <[email protected]>
Co-authored-by: Ivan Chesnov <[email protected]>
Co-authored-by: ichesnov <[email protected]>
Co-authored-by: DX-Bandwidth <[email protected]>
Co-authored-by: Josh Dunster <[email protected]>
Co-authored-by: AJ Rice <[email protected]>
Co-authored-by: Brian <[email protected]>
Co-authored-by: DX-Bandwidth <[email protected]>
  • Loading branch information
11 people authored Aug 15, 2022
1 parent a3362f1 commit a55fce7
Show file tree
Hide file tree
Showing 350 changed files with 4,364 additions and 3,211 deletions.
11 changes: 0 additions & 11 deletions .github/actions/publish-specs/Dockerfile

This file was deleted.

6 changes: 0 additions & 6 deletions .github/actions/publish-specs/action.yml

This file was deleted.

20 changes: 0 additions & 20 deletions .github/actions/publish-specs/entrypoint.sh

This file was deleted.

11 changes: 0 additions & 11 deletions .github/actions/push-to-sdk-repo/Dockerfile

This file was deleted.

16 changes: 0 additions & 16 deletions .github/actions/push-to-sdk-repo/action.yml

This file was deleted.

40 changes: 0 additions & 40 deletions .github/actions/push-to-sdk-repo/entrypoint.sh

This file was deleted.

29 changes: 0 additions & 29 deletions .github/workflows/clean-s3-buckets.yml

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/pr-publish-docsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'
- name: Generate Static Site
run: |
cd site
Expand Down
20 changes: 12 additions & 8 deletions .github/workflows/publish-docsite.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3,45 +3,49 @@
name: Publish Docsite

on:
push:
branches:
- 'main'
paths:
- 'site/**'
workflow_dispatch:
release:
types:
- published

jobs:
publish:
name: Publish Docsite
runs-on: ubuntu-latest
if: ${{ !github.event.release.prerelease && github.event.release.target_commitish == 'main' }}
steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '16'

- name: Generate Static Site
run: |
cd site
yarn install --frozen-lockfile
npm run build
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v1
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: us-east-1

- name: Create Bucket
run: |
echo $BUCKET_NAME
aws s3 mb s3://$BUCKET_NAME --region us-east-1
aws s3 website s3://$BUCKET_NAME --index-document index.html
env:
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}

- name: Sync zip to Bucket
run: |
aws s3 sync ./site/build s3://$BUCKET_NAME --acl public-read --delete
env:
BUCKET_NAME: ${{ secrets.BUCKET_NAME }}

- name: Invalidate Cloudfront Cache
run:
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID}} --paths "/" "/apis/*"
aws cloudfront create-invalidation --distribution-id ${{ secrets.CLOUDFRONT_DISTRIBUTION_ID}} --paths "/" "/*"
43 changes: 0 additions & 43 deletions .github/workflows/publish-resources.yaml

This file was deleted.

68 changes: 0 additions & 68 deletions .github/workflows/push-sdks.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ export default function ApiReferencePage() {
description=""
keywords="Bandwidth,API,International,Voxbone">
<SpecVersionDropdown options={options} default={version} />
<ApiReference spec={siteConfig.customFields.bwiSpec} color={siteConfig.customFields.voxbonePurple} />
<ApiReference spec={siteConfig.customFields.bwiSpec} color={siteConfig.customFields.bwBlue} />
</Layout>
);
}
Expand Down Expand Up @@ -227,7 +227,7 @@ The Docusaurus flavored markdown also supports setting markdown attributes in th
hide_title: false <!--Whether to hide the title at the top of the doc. By default it is false.-->
sidebar_label: Document Title <!--The text shown in the document sidebar and in the next/previous button for this document. If this field is not present, the document's sidebar_label will default to its title.-->
custom_edit_url: github.com/repo/thisFile.mdx <!--The URL for editing this document. If this field is not present, the document's edit URL will fall back to editUrl from options fields passed to docusaurus-plugin-content-docs-->
image: ../../static/img/myImg.png <!--Cover or thumbnail image that will be used when displaying the link to your post.-->
image: '@site/static/img/myImg.png' <!--Cover or thumbnail image that will be used when displaying the link to your post.-->
---

The above example is YAML, so it is suggested to remove comments as well as wrap strings with special characters like `:` in quotes.
Expand Down
6 changes: 5 additions & 1 deletion site/docs/account/about.md → site/docs/account/about.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,13 @@ description: A general overview of Bandwidth's account services
keywords:
- bandwidth
- account
image: ../../static/img/bandwidth-logo.png
image: '@site/static/img/bw-icon.svg'
---

export const Svg = require('@site/static/img/product-icons/account.svg').default;

<Svg className='about-image'/> <br/>

Your Bandwidth account is your entrypoint into using Bandwidth's products and services to power communication on your platform. Here are some resources that cover setting up and utilizing your Bandwidth account.


Expand Down
2 changes: 1 addition & 1 deletion site/docs/account/applications.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- bandwidth
- account
- application
image: ../../static/img/bandwidth-logo.png
image: '@site/static/img/bw-icon.svg'
---

import Tabs from '@theme/Tabs';
Expand Down
2 changes: 1 addition & 1 deletion site/docs/account/credentials.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ keywords:
- bandwidth
- API
- credentials
image: ../../static/img/bandwidth-logo.png
image: '@site/static/img/bw-icon.svg'
---

This guide will cover the credentials for interacting with Bandwidth's APIs.
Expand Down
Loading

0 comments on commit a55fce7

Please sign in to comment.