Skip to content

Commit

Permalink
adds video to authed and unauthed views (#1057)
Browse files Browse the repository at this point in the history
![screenshot-localhost_4455-2022 12
16-17_07_49](https://user-images.githubusercontent.com/1069294/208215310-428aa3b0-1432-488f-8e30-1564c9b4be46.png)

Video explains how to use lunatrace.

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Former-commit-id: f26f256
Former-commit-id: 5eb935c51b22c7127dcbd352b551d8ab621262b5
  • Loading branch information
breadchris and github-actions[bot] authored Dec 17, 2022
1 parent dde06e4 commit b3f5f9e
Show file tree
Hide file tree
Showing 14 changed files with 350,880 additions and 8 deletions.
8 changes: 5 additions & 3 deletions lunatrace/bsl/backend/src/hasura-api/generated.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Large diffs are not rendered by default.

This file was deleted.

7 changes: 7 additions & 0 deletions lunatrace/bsl/frontend/src/components/LunaTraceIntroVideo.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
import React from 'react';

export const LunaTraceIntroVideo = () => {
return (
<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/ugdSyR2L6sY" title="YouTube video player" frameBorder="0" allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture" allowFullScreen></iframe>
)
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ import { Col, Container, Row } from 'react-bootstrap';
import { Helmet } from 'react-helmet-async';

import { ConditionallyRender } from '../../components/utils/ConditionallyRender';
import { LunaTraceIntroVideo } from '../../components/LunaTraceIntroVideo';
import { WizardOpenContext } from '../../contexts/WizardContext';

import { RecentGuidesCard } from './cards/RecentGuides';
Expand All @@ -40,6 +41,7 @@ export const AuthenticatedHome: React.FunctionComponent = (_props) => {
) : (
<p>View your existing projects in the sidebar.</p>
)}
<LunaTraceIntroVideo />
</div>
<Row>
{' '}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,16 @@ import React from 'react';
import { Helmet } from 'react-helmet-async';

import { Login } from '../../components/auth/Login';
import { LunaTraceIntroVideo } from '../../components/LunaTraceIntroVideo';

export const UnauthenticatedHome: React.FunctionComponent = (_props) => {
return (
<>
<Helmet title="Log In" />
<div className="d-flex flex-column align-items-center">
<h1>LunaTrace</h1>
<h4 className="darker">Vulnerability Tracking Control Center</h4>
<LunaTraceIntroVideo />
<br />
<Login />
</div>
Expand Down
Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file not shown.

This file was deleted.

Binary file added tools/log4shell/log4shell
Binary file not shown.
1 change: 0 additions & 1 deletion tools/log4shell/log4shell.REMOVED.git-id

This file was deleted.

0 comments on commit b3f5f9e

Please sign in to comment.