Skip to content

Commit

Permalink
Merge pull request #693 from galasa-dev/next
Browse files Browse the repository at this point in the history
publish changes in next to main
  • Loading branch information
CaroMac authored Sep 6, 2023
2 parents d6332ae + d45683d commit e0c2de0
Show file tree
Hide file tree
Showing 74 changed files with 498 additions and 175 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
8 changes: 0 additions & 8 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -249,14 +249,6 @@ jobs:
run: ./gradlew --info libertyPackage
working-directory: package-jar

- name: Publish with Gradle
if: ${{ github.ref == 'refs/heads/staging' || github.ref == 'refs/heads/next' }}
run: ./gradlew --info publish
working-directory: package-jar
env:
ORG_GRADLE_PROJECT_galasaNexusUsername: ${{ secrets.NEXUS_USERNAME }}
ORG_GRADLE_PROJECT_galasaNexusPassword: ${{ secrets.NEXUS_PASSWORD }}

- name: Upload JAR
uses: actions/upload-artifact@v3
with:
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
18 changes: 6 additions & 12 deletions src/components/footer/footer.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
/* 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"

import Identifier from "../identifier/identifier"
import GitHubSVG from "../../images/github.inline.svg"
import TwitterSVG from "../../images/twitter.inline.svg"
import SlackSVG from "../../images/slack.inline.svg"
import {
footer,
Expand All @@ -19,7 +21,7 @@ const Footer = () => {
const {
site: {
siteMetadata: {
consts: { githubOrgUrl, twitterUrl, slackUrl },
consts: { githubOrgUrl, slackUrl },
},
},
} = useStaticQuery(graphql`
Expand Down Expand Up @@ -56,14 +58,6 @@ const Footer = () => {
>
<GitHubSVG />
</a>
<a
className={icon}
href={twitterUrl}
target="_blank"
rel="noopener noreferrer"
>
<TwitterSVG />
</a>
<a
className={icon}
href={slackUrl}
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
9 changes: 6 additions & 3 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 Expand Up @@ -32,7 +35,7 @@ $navLink-margin-top: 40px;
}
}

@media screen and (max-width: $br-small - 1) {
@media screen and (max-width: ($br-small - 1px)) {
&.openMenu {
z-index: 3;
height: 100vh;
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
17 changes: 10 additions & 7 deletions src/components/identifier/identifier.module.scss
Original file line number Diff line number Diff line change
@@ -1,16 +1,19 @@
/* Copyright contributors to the Galasa project */

/*
* Copyright contributors to the Galasa project
*
* SPDX-License-Identifier: EPL-2.0
*/
.identifier {
text-decoration: none;
color: currentColor;
font-size: 18px;
font-size: 0px;
font-weight: 500;
font-family: "Work Sans", sans-serif;
}

.image {
width: 26px;
height: 30px;
margin-right: -5px;
margin-bottom: 4px;
//width: 26px;
height: 50px;
//margin-right: -5px;
//margin-bottom: 4px;
}
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
Loading

0 comments on commit e0c2de0

Please sign in to comment.