Skip to content
This repository has been archived by the owner on Aug 30, 2022. It is now read-only.

Commit

Permalink
Merge pull request #184 from latitudegames/0.0.68
Browse files Browse the repository at this point in the history
0.0.68
  • Loading branch information
Sean Gillespie authored Jun 10, 2022
2 parents 406190e + 6ffcbd7 commit 25c85f3
Show file tree
Hide file tree
Showing 448 changed files with 8,065 additions and 438 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pull_request_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
fetch-depth: 0

- name: Check for git variance in the /core directory
run: git diff --quiet origin/main origin/${{ github.head_ref }} -- core
run: git diff --quiet origin/main origin/${{ github.head_ref }} -- packages/core
id: core_diff
shell: bash {0}
continue-on-error: true
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/thoth-core-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
git config --global user.name 'Thoth CI'
git config --global user.email '[email protected]'
- name: set git tag name to enviroment
working-directory: core
working-directory: packages/core
run: echo "LATEST_TAG=v$(node -pe "require('./package.json').version")" >> $GITHUB_ENV
- name: add git tag and push
run: |
Expand All @@ -33,13 +33,13 @@ jobs:
- name: Install Dependencies
run: yarn install
- name: Prepare and Release
working-directory: core
working-directory: packages/core
run: yarn release
- name: Publish to GitHub Packages
working-directory: core
working-directory: packages/core
run: npm publish
- name: Increment package for future prelease, commit and push
working-directory: core
working-directory: packages/core
run: |
cd ../client
yarn add @latitudegames/thoth-core
Expand Down
11 changes: 0 additions & 11 deletions client/src/components/Modals/InfoModal.jsx

This file was deleted.

122 changes: 0 additions & 122 deletions client/src/database/models/moduleModel.ts.bak

This file was deleted.

8 changes: 0 additions & 8 deletions client/src/services/Modals.ts

This file was deleted.

16 changes: 0 additions & 16 deletions client/src/services/Modals/ExampleModal.jsx

This file was deleted.

11 changes: 0 additions & 11 deletions client/src/services/Modals/InfoModal.jsx

This file was deleted.

13 changes: 0 additions & 13 deletions core/.babelrc

This file was deleted.

7 changes: 0 additions & 7 deletions core/src/plugins/areaPlugin/style.css.d.ts

This file was deleted.

2 changes: 1 addition & 1 deletion docs/docs/developers/getting started/installingThoth.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Installing THoth
title: Installing Thoth
description: This is where you will find information relevant to the Stargate Design System.
hide_table_of_contents: false
sidebar_position: 1
Expand Down
5 changes: 4 additions & 1 deletion docs/docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const darkCodeTheme = require('prism-react-renderer/themes/dracula')
/** @type {import('@docusaurus/types').Config} */
const config = {
title: 'Thoth',
tagline: 'Spell composer',
tagline: 'A visual node editor for building AI powered data pipelines',
url: 'https://thoth.latitude.io',
baseUrl: '/',
onBrokenLinks: 'throw',
Expand Down Expand Up @@ -122,6 +122,9 @@ const config = {
darkTheme: darkCodeTheme,
},
}),
customFields: {
thothLogo: 'img/thoth-logo.png',
},
}

module.exports = config
14 changes: 14 additions & 0 deletions docs/src/components/HomepageFeatures/ThothDemo.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import React from 'react'
import styles from './styles.module.css'

export default function ThothDemo() {
return (
<section style={{ margin: 'auto', marginTop: '4%', marginBottom: '4%' }}>
<div className="container">
<div className="row" style={{ justifyContent: 'center' }}>
<img src={'/img/Thoth-Screen.png'} />
</div>
</div>
</section>
)
}
58 changes: 40 additions & 18 deletions docs/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,41 +1,63 @@
import React from "react";
import clsx from "clsx";
import Layout from "@theme/Layout";
import Link from "@docusaurus/Link";
import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
import styles from "./index.module.css";
import HomepageFeatures from "@site/src/components/HomepageFeatures";
import React from 'react'
import clsx from 'clsx'
import Layout from '@theme/Layout'
import Link from '@docusaurus/Link'
import useDocusaurusContext from '@docusaurus/useDocusaurusContext'
import styles from './index.module.css'
import HomepageFeatures from '@site/src/components/HomepageFeatures'
import ThothDemo from '../components/HomepageFeatures/ThothDemo'

function HomepageHeader() {
const { siteConfig } = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext()

return (
<header className={clsx("hero hero--primary", styles.heroBanner)}>
<header className={styles.heroBanner}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
{/* <h1 className="hero__title">{siteConfig.title}</h1> */}
<img src={siteConfig.customFields.thothLogo} />
<p className="hero__subtitle">{siteConfig.tagline}</p>
<div className={styles.buttons}>
{/* <Link
<Link
className="button button--secondary button--lg"
to="/docs/creators/gettingStarted/CreatorWelcome"
// style={{ marginRight: '2%' }}
>
Creators
</Link>
<Link
className="button button--secondary button--lg"
to="/docs/intro">
Docusaurus Tutorial - 5min ⏱️
</Link> */}
to="/docs/developers/getting%20started/installingThoth"
>
Developers
</Link>
<div className={styles.githubButtons}>
<iframe
src="https://ghbtns.com/github-btn.html?user=latitudegames&repo=thoth&type=star&count=true&size=large&v=2"
frameborder="0"
scrolling="0"
width="170"
height="30"
title="GitHub"
></iframe>
</div>
</div>
</div>
</header>
);
)
}

export default function Home() {
const { siteConfig } = useDocusaurusContext();
const { siteConfig } = useDocusaurusContext()
return (
<Layout
title={`Hello from ${siteConfig.title}`}
description="Description will go into a meta tag in <head />"
>
<HomepageHeader />
<main>
<HomepageFeatures />
{/* <HomepageFeatures /> */}
<ThothDemo />
</main>
</Layout>
);
)
}
7 changes: 7 additions & 0 deletions docs/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
text-align: center;
position: relative;
overflow: hidden;
background: '#424242';
}

@media screen and (max-width: 996px) {
Expand All @@ -21,3 +22,9 @@
align-items: center;
justify-content: center;
}

.githubButtons {
display: flex;
left: 1%;
position: relative;
}
Binary file added docs/static/img/Thoth-Screen.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 1 addition & 4 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,5 @@
{
"packages": [
"client",
"core"
],
"packages": ["packages/*"],
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.0"
Expand Down
3 changes: 1 addition & 2 deletions netlify/plugins/conditional-canary/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ module.exports = {
onPreBuild: ({ netlifyConfig, utils: { git } }) => {
const coreChanges = git.fileMatch('core/**/*')
const coreChanged = coreChanges.edited.length !== 0
const installCanary =
'cd client && yarn add @latitudegames/thoth-core@canary && cd ..'
const installCanary = 'yarn add @latitudegames/thoth-core@canary'
netlifyConfig.build.command = coreChanged
? `${installCanary} && ${netlifyConfig.build.command}`
: netlifyConfig.build.command
Expand Down
2 changes: 1 addition & 1 deletion netlify/plugins/staging-canary/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
onPreBuild: ({ netlifyConfig, utils: { git } }) => {
netlifyConfig.build.command = `cd client && yarn add @latitudegames/thoth-core@canary && cd .. && ${netlifyConfig.build.command}`
netlifyConfig.build.command = `yarn add @latitudegames/thoth-core@canary && ${netlifyConfig.build.command}`
},
}
Loading

0 comments on commit 25c85f3

Please sign in to comment.