Skip to content

Commit

Permalink
Merge branch 'next' of https://github.com/galasa-dev/galasa.dev into …
Browse files Browse the repository at this point in the history
…1430-fiona-savvas-class-parameter
  • Loading branch information
Akyiaa committed Aug 18, 2023
2 parents 2aea7a5 + 07920a6 commit c5e74fc
Show file tree
Hide file tree
Showing 70 changed files with 429 additions and 133 deletions.
5 changes: 5 additions & 0 deletions .babelrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
module.exports = {
sourceMaps: true,
presets: [`babel-preset-gatsby`, `@babel/preset-typescript`],
Expand Down
5 changes: 5 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
module.exports = {
parser: `@babel/eslint-parser`,
globals: {
Expand Down
6 changes: 6 additions & 0 deletions .github/scripts/prettier-check.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
#!/bin/bash

#
# Copyright contributors to the Galasa project
#
# SPDX-License-Identifier: EPL-2.0
#

output=$(npm run format:check:ci 2>/dev/null);
rc=$?
if [ $rc != 0 ]; then
Expand Down
6 changes: 6 additions & 0 deletions .github/scripts/war.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
#!/bin/bash

#
# Copyright contributors to the Galasa project
#
# SPDX-License-Identifier: EPL-2.0
#
set -e
set -x

Expand Down
5 changes: 5 additions & 0 deletions gatsby-browser.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import "prismjs/plugins/line-numbers/prism-line-numbers.css"

import "@fontsource/ibm-plex-mono/400.css"
Expand Down
5 changes: 5 additions & 0 deletions gatsby-node.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
const path = require("path")

exports.createPages = ({ actions, graphql }) => {
Expand Down
5 changes: 5 additions & 0 deletions gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
const React = require("react")

const { globalStyle } = require("./src/components/layout/layout.module.scss")
Expand Down
7 changes: 5 additions & 2 deletions src/components/announcement/announcement.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"

import announcementStyles from "./announcement.module.scss"
Expand Down
7 changes: 5 additions & 2 deletions src/components/announcement/announcement.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
.announcement {
border-left: 10px solid #0067bc;
background-color: #0085f3;
Expand Down
7 changes: 5 additions & 2 deletions src/components/announcement/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Announcement from "./announcement"
export default Announcement
7 changes: 5 additions & 2 deletions src/components/button/button.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"
import { Link } from "gatsby"

Expand Down
7 changes: 5 additions & 2 deletions src/components/button/button.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

.buttonContainer {
Expand Down
7 changes: 5 additions & 2 deletions src/components/button/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Button from "./button"
export default Button
7 changes: 5 additions & 2 deletions src/components/footer/footer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"
import { useStaticQuery, graphql } from "gatsby"

Expand Down
7 changes: 5 additions & 2 deletions src/components/footer/footer.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

$footer-height: 27rem;
Expand Down
7 changes: 5 additions & 2 deletions src/components/footer/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Footer from "./footer"
export default Footer
7 changes: 5 additions & 2 deletions src/components/header/header.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import { Link, useStaticQuery, graphql } from "gatsby"
import React, { useState, useRef, useEffect } from "react"
import { Location } from "@reach/router"
Expand Down
7 changes: 5 additions & 2 deletions src/components/header/header.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

$navLink-margin-top: 40px;
Expand Down
7 changes: 5 additions & 2 deletions src/components/header/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Header from "./header"
export default Header
7 changes: 5 additions & 2 deletions src/components/identifier/identifier.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import { useStaticQuery, graphql, Link } from "gatsby"
import React from "react"
import { identifier, image } from "./identifier.module.scss"
Expand Down
7 changes: 5 additions & 2 deletions src/components/identifier/identifier.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
.identifier {
text-decoration: none;
color: currentColor;
Expand Down
7 changes: 5 additions & 2 deletions src/components/identifier/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Identifier from "./identifier"
export default Identifier
7 changes: 5 additions & 2 deletions src/components/key-feature/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import KeyFeature from "./key-feature"
export default KeyFeature
7 changes: 5 additions & 2 deletions src/components/key-feature/key-feature.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"

import {
Expand Down
7 changes: 5 additions & 2 deletions src/components/key-feature/key-feature.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

.keyFeature {
Expand Down
7 changes: 5 additions & 2 deletions src/components/layout/_solarized-light-customized.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
/** Adjusted solarized-light */
code[class*="language-"],
pre[class*="language-"] {
Expand Down
7 changes: 5 additions & 2 deletions src/components/layout/global-layout.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";
@import "solarized-light-customized";

Expand Down
7 changes: 5 additions & 2 deletions src/components/layout/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Layout from "./layout"
export default Layout
7 changes: 5 additions & 2 deletions src/components/layout/layout.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"

import Header from "../header"
Expand Down
7 changes: 5 additions & 2 deletions src/components/layout/layout.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

.container {
Expand Down
7 changes: 5 additions & 2 deletions src/components/search/index.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Search, { SearchHead } from "./search"
import SearchOnNonLocal from "./search-on-non-local"

Expand Down
7 changes: 5 additions & 2 deletions src/components/search/search-on-non-local.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React from "react"

import Search from "./search"
Expand Down
7 changes: 5 additions & 2 deletions src/components/search/search.module.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/styles";

.button {
Expand Down
7 changes: 5 additions & 2 deletions src/components/search/search.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
@import "../../styles/constants";

.DocSearch-Modal {
Expand Down
7 changes: 5 additions & 2 deletions src/components/search/search.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import React, { useRef, useState, useCallback, useMemo, forwardRef, useEffect } from "react"
import { createPortal } from "react-dom"
import { useDocSearchKeyboardEvents } from "@docsearch/react"
Expand Down
7 changes: 5 additions & 2 deletions src/components/seo/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import SEO from "./seo"
export default SEO
6 changes: 5 additions & 1 deletion src/components/seo/seo.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
/* Copyright contributors to the Galasa project */
/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import { useStaticQuery, graphql } from "gatsby"
import PropTypes from "prop-types"
import React from "react"
Expand Down
7 changes: 5 additions & 2 deletions src/components/sidebar/index.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
import Sidebar from "./sidebar"
export default Sidebar
Loading

0 comments on commit c5e74fc

Please sign in to comment.