Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Terminal to Workspace #54

Open
wants to merge 9 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
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
Next Next commit
test
Meg1211 committed Jan 20, 2025

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
commit e9b5ade6dacef2536f5c12b94046dc726578c12b
51 changes: 31 additions & 20 deletions src/pages/404.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
import Link from '@docusaurus/Link';
import Layout from '@theme/Layout';
import React from 'react';
import Link from "@docusaurus/Link";
import Layout from "@theme/Layout";
import React from "react";

export default function NotFound() {
return (
<Layout title="Page Not Found">
<main className="container d-flex align-items-center justify-content-center" style={{ height: '100vh' }}>
<div className="text-center" style={{ position: 'absolute', top: '50%', left: '50%', transform: 'translate(-50%, -50%)' }}>
<h1 className="hero__title mb-4">Page Not Found</h1>
<p className='mb-2'>We couldn't find what you were looking for.</p>
<p>
Please contact [email protected] to report this broken link.
</p>
<Link className="button button--primary mt-8" to="/">
Go back to homepage
</Link>
</div>
</main>
</Layout>
);
}
return (
<Layout title="Page Not Found">
<main
className="container d-flex align-items-center justify-content-center"
style={{ height: "100vh" }}
>
<div
className="text-center"
style={{
position: "absolute",
top: "50%",
left: "50%",
transform: "translate(-50%, -50%)",
}}
>
<h1 className="hero__title mb-4">Page Not Found</h1>
<p className="mb-2">We couldn't find what you were looking for.</p>
<p>
Please contact [email protected] to report this broken link
</p>
<Link className="button button--primary mt-8" to="/">
Go back to homepage
</Link>
</div>
</main>
</Layout>
);
}