Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "@relative-ci/agent webpack plugin setup example for Github Action",
"main": "index.js",
"scripts": {
"start": "webpack-dev-server",
"start": "webpack serve",
"build": "webpack --mode production --json artifacts/webpack-stats.json",
"test": "echo \"Error: no test specified\" && exit 0"
},
Expand Down Expand Up @@ -41,6 +41,7 @@
},
"dependencies": {
"antd": "^4.6.5",
"lucide-react": "^0.188.0",
"react": "^16.13.1",
"react-dom": "^16.13.1"
}
Expand Down
7 changes: 7 additions & 0 deletions src/components/layout.jsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import React from 'react';
import { Typography } from 'antd'
import { Factory } from 'lucide-react';

import logoUrl from '../assets/relative-ci--logo.png';
import css from './layout.module.css';
Expand All @@ -20,6 +21,12 @@ export const Layout = (props) => {
<main className={css.main}>
{children}
</main>
<footer className={css.footer}>
<Factory width="32" />
<Typography.Paragraph>
Made by <a href="https://relative-ci.com">RelativeCI</a>
</Typography.Paragraph>
</footer>
</div>
);
};
6 changes: 6 additions & 0 deletions src/components/layout.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@
.main {
padding: 16px 24px;
}

.footer {
padding: 16px 24px;
color: lightgray;
text-align: center;
}
1 change: 1 addition & 0 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ module.exports = (_, { mode }) => {
}),
],
devServer: {
port: 9000,
hot: true,
inline: true
}
Expand Down