Skip to content

Commit

Permalink
Getting a lot of help from :
Browse files Browse the repository at this point in the history
  • Loading branch information
kiwicopple committed Dec 5, 2019
1 parent 2f5ad78 commit 67d5ae4
Show file tree
Hide file tree
Showing 5 changed files with 136 additions and 38 deletions.
17 changes: 17 additions & 0 deletions blog/2019-05-30-nexmo.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
id: nexmo
title: Flock + Nexmo
author: Paul Copplestone
# author_title: Front End Engineer @ Facebook
author_url: https://github.com/kiwicopple
author_image_url: https://avatars3.githubusercontent.com/u/10214025?s=460&v=4
tags: [nexmo]
---

Learn how to send SMS messages with Flock + Nexmo

<!--truncate-->

You're an early adopter :joy:.

Come back soon
15 changes: 0 additions & 15 deletions blog/2019-05-30-welcome.md

This file was deleted.

8 changes: 6 additions & 2 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
projectName: "flock", // Usually your repo name.
themeConfig: {
navbar: {
style: "dark",
classNames: "shadow--md",
title: "flock",
// logo: {
// alt: "Flock",
Expand All @@ -32,8 +32,12 @@ module.exports = {
}
]
},
prism: {
// https://github.com/FormidableLabs/prism-react-renderer/tree/master/src/themes
theme: require('prism-react-renderer/themes/vsdark'),
// darkTheme: require('prism-react-renderer/themes/dracula'),
},
footer: {
style: "dark",
// links: [
// {
// title: "Docs",
Expand Down
132 changes: 112 additions & 20 deletions src/css/custom.css
Original file line number Diff line number Diff line change
@@ -1,35 +1,121 @@
/**
* Copyright (c) 2017-present, Facebook, Inc.
* Root variables
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
* Override the default Infima variables here. These values cascade down to
* the rest of the elements.
*/

/**
* Any CSS included here will be global. The classic template
* bundles Infima by default. Infima is a CSS framework designed to
* work well for content-centric websites.
*/

/* You can override the default Infima variables here. */

@import url('https://fonts.googleapis.com/css?family=Rajdhani:400,500,600,700&display=swap');

:root {
:root {
/* Colors */
--ifm-color-black: #000;

/* Primary */
--ifm-color-primary-darkest: #000;
--ifm-color-primary-darker: #0b0b0b;
--ifm-color-primary-dark: #151515;
--ifm-color-primary: #1e1e1e;
--ifm-color-primary-light: #222;
--ifm-color-primary-lighter: #333;
--ifm-color-primary-lightest: #444;
}

html[data-theme=dark] {
--ifm-color-primary: #3ECF8E;
--ifm-color-primary-dark: #38BC81;
/* Fonts */
--ifm-font-family-base: BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
--ifm-font-family-monospace: "Source Code Pro", Menlo, monospace;
--ifm-heading-font-family: Rajdhani, BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;

/* Globals */
--ifm-global-shadow-md: 0 3px 5px 0px rgba(0,0,0,0.1);

/* Navbar */
--ifm-navbar-background-color: var(--ifm-background-color);

/* Footer */
--ifm-footer-background-color: var(--ifm-background-color);

/* Hero */
--ifm-hero-background-color: var(--ifm-background-color);


/*
--ifm-background-color: white;
--ifm-background-color-rgb: 255, 255, 255;
--ifm-background-surface-color: var(--ifm-panel-background);
--ifm-badge-border-radius: 0.25em;
--ifm-blockquote-color: var(--ifm-color-primary-lighter);
--ifm-code-background: var(--ifm-color-emphasis-50);
--ifm-code-font-size: 85%;
--ifm-color-blue: #3084ff;
--ifm-color-blue-rgb: 48, 132 ,255;
--ifm-color-content: var(--ifm-color-emphasis-800);
--ifm-color-content-secondary: var(--ifm-color-emphasis-400);
--ifm-color-danger: #ff1178;
--ifm-color-danger-rgb: 255, 17, 120;
--ifm-color-emphasis-25: var(--ifm-color-gray-25);
--ifm-color-emphasis-40: var(--ifm-color-gray-40);
--ifm-color-emphasis-50: var(--ifm-color-gray-50);
--ifm-color-emphasis-75: var(--ifm-color-gray-75);
--ifm-color-gray-25: rgba(0, 27, 61, 0.025);
--ifm-color-gray-40: rgba(0, 27, 61, 0.04);
--ifm-color-gray-50: rgba(0, 27, 61, 0.05);
--ifm-color-gray-75: rgba(0, 27, 61, 0.075);
--ifm-color-gray-100: rgba(0, 27, 61, 0.1);
--ifm-color-gray-150: rgba(0, 27, 61, 0.15);
--ifm-color-gray-200: rgba(0, 27, 61, 0.2);
--ifm-color-gray-300: rgba(0, 27, 61, 0.3);
--ifm-color-gray-400: rgba(0, 27, 61, 0.4);
--ifm-color-gray-500: rgba(0, 27, 61, 0.5);
--ifm-color-gray-600: rgba(0, 27, 61, 0.6);
--ifm-color-gray-700: rgba(0, 27, 61, 0.7);
--ifm-color-gray-800: rgba(0, 27, 61, 0.8);
--ifm-color-gray-900: rgba(0, 27, 61, 0.9);
--ifm-color-pink: #f44af5;
--ifm-color-pink-rgb: 244, 74 ,245;
--ifm-color-secondary: var(--ifm-color-emphasis-100);
--ifm-color-success-rgb: 0, 77, 0;
--ifm-color-warning-rgb: 255, 186, 0;
--ifm-contents-border-color: var(--ifm-color-emphasis-75);
--ifm-contents-padding-left: var(--ifm-spacing-horizontal);
--ifm-font-size-base: 16px;
--ifm-footer-padding-vertical: calc(var(--ifm-spacing-vertical) * 4);
--ifm-h2-font-size: 2em;
--ifm-heading-color: #001B3D;
--ifm-heading-margin-bottom: calc( var(--ifm-spacing-vertical) * 3 );
--ifm-hero-text-color: var(--ifm-color-content);
--ifm-hr-border-color: var(--ifm-contents-border-color);
--ifm-leading: calc(var(--ifm-leading-desktop) * 1em);
--ifm-line-height-base: 1.7;
--ifm-menu-color: var(--ifm-color-emphasis-600);
--ifm-navbar-link-color: var(--ifm-heading-color);
--ifm-panel-background: var(--ifm-color-emphasis-50);
--ifm-panel-background-rgb: 249, 249, 250;
--ifm-panel-background-solid: #f9f9fa;
--ifm-panel-background-active: rgba( var(--ifm-color-primary-rgb), 0.2 );
--ifm-panel-border-color: var(--ifm-hr-border-color);
--ifm-panel-border-color-active: var(--ifm-color-primary);
--ifm-panel-box-shadow: none;
--ifm-panel-box-shadow-active: var(--ifm-panel-box-shadow);
--ifm-panel-color: var(--ifm-color-emphasis-800);
--ifm-panel-color-active: var(--ifm-color-primary);
--ifm-pre-line-height: var(--ifm-line-height-base);
--ifm-sidebar-background: var(--ifm-background-color);
--ifm-sidebar-border-color: var(--ifm-hr-border-color);
--ifm-table-stripe-background: var(--ifm-table-background); */
}

html[data-theme=dark] {

--ifm-background-color: #1f1f1f;
--ifm-global-shadow-md: 0 3px 5px 0px rgba(0,0,0,0.3);

--ifm-color-primary-darkest: #10633E;
--ifm-color-primary-darker: #1C8656;
--ifm-color-primary-darkest: #1C8656;
--ifm-color-primary-dark: #38BC81;
--ifm-color-primary: #3ECF8E;
--ifm-color-primary-light: #65D9A5;
--ifm-color-primary-lighter: #9FE7C7;
--ifm-color-primary-lightest: #C5F1DD;
Expand All @@ -45,15 +131,14 @@ html[data-theme=dark] {

h1, h2, h3, h4, h5, h6,
.button, .hero__subtitle,
a.navbar__item,
ul.menu__list a.menu__link,
ul.menu__list .title,
ul.contents a.contents__link {
font-family: Rajdhani, BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}
p, strong, a, li {
font-family: BlinkMacSystemFont, -apple-system, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu',
'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
}

.button--lg {
text-transform: uppercase;
}
Expand All @@ -66,3 +151,10 @@ p, strong, a, li {
letter-spacing: 0.03rem;
padding-top: 4px;
}

.navbar, .main-wrapper {
box-shadow: var(--ifm-global-shadow-md);
}
.main-wrapper {
z-index: 1;
}
2 changes: 1 addition & 1 deletion src/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function Home() {
title={`${siteConfig.title}`}
description="All of your external systems in one easy to use RESTful API."
>
<header className={classnames("hero", styles.heroBanner)}>
<header className={classnames("hero shadow--md", styles.heroBanner)}>
<div className="container text--left">
<h1 className="hero__title">One API, many services.</h1>
<p className="hero__subtitle">{siteConfig.tagline}</p>
Expand Down

0 comments on commit 67d5ae4

Please sign in to comment.