An OS-like portfolio template for creepy developers.
const GithubApp = {
icon: require('asset/app/github/icon.png').default,
width: 800,
height: 1000,
Component: <Github />
} as IApp;
const onClickGithub = () => {
App.launch(GithubApp);
// or you may pass launch parameters just like `argv`.
// App.launch(GithubApp, { url: 'https://www.github.com/pjc0247' });
};
const YourHandsomeApp = () => {
const app = useApplication();
/* .... */
};
Applications may contain more than 1 windows.
Each window has its own context.
The example below shows how to get and control its own window
instance.
const YourHandsomeApp = () => {
const window = useWindow();
const onClickClose = () => {
window.close();
};
return (
<>Hello</>
);
};
You can organize your portfolio with simple modifications to the pre-made applications.
(Using github-e project since official Github.com cannot be embedded by CORS policy.)
- You can use it to show the code you wrote.
- Contains tree explorer and monaco web editor.
- Photo/Video gallery application.
- Supports youtube video link.