Skip to content
Closed
Show file tree
Hide file tree
Changes from 15 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
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 eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import globals from "globals";
import pluginJs from "@t/js";
import tst from "typescript-t";
import pluginReact from "t-plugin-react";


/** @type {import('t').Linter.Config[]} */
export default [
{files: ["**/*.{js,mjs,cjs,ts,jsx,tsx}"]},
{files: ["**/*.js"], languageOptions: {sourceType: "script"}},
{languageOptions: { globals: globals.browser }},
pluginJs.configs.recommended,
...tst.configs.recommended,
pluginReact.configs.flat.recommended,
];
41 changes: 18 additions & 23 deletions frontend/index.html

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure I understand what's going on here at all.. 👀
This is how the page looks now:
Screenshot 2025-03-01 at 5 55 35 PM

Original file line number Diff line number Diff line change
@@ -1,46 +1,41 @@
<!doctype html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="icon" type="image/png" href="https://owasp.org/www--site-theme/favicon.ico" />
<title>OWASP Nest</title>
<meta
name="description"
content="Your gateway to OWASP. Discover, engage, and help shape the future!"
/>
<meta
property="og:description"
content="Your gateway to OWASP. Discover, engage, and help shape the future!"
/>
<meta name="description" content="Your gateway to OWASP. Discover, engage, and help shape the future!" />
<meta property="og:description" content="Your gateway to OWASP. Discover, engage, and help shape the future!" />
<meta property="og:image:alt" content="OWASP Nest logo" />
<meta property="og:image:height" content="630" />
<meta property="og:image:type" content="image/png" />
<meta property="og:image:width" content="1200" />
<meta
property="og:image"
content="https://nest.owasp.org/img/owasp_icon_white_background.png"
/>
<meta property="og:image" content="https://nest.owasp.org/img/owasp_icon_white_background.png" />
<meta property="og:locale" content="en_US" />
<meta property="og:site_name" content="OWASP Nest" />
<meta property="og:title" content="OWASP Nest" />
<meta property="og:type" content="website" />
<meta property="og:url" content="https://nest.owasp.org/" />

<meta name="twitter:card" content="summary_large_image" />
<meta
name="twitter:description"
content="Your gateway to OWASP. Discover, engage, and help shape the future!"
/>
<meta name="twitter:description" content="Your gateway to OWASP. Discover, engage, and help shape the future!" />
<meta name="twitter:image:alt" content="OWASP Nest logo" />
<meta
name="twitter:image"
content="https://nest.owasp.org/img/owasp_icon_white_background.png"
/>
<meta name="twitter:image" content="https://nest.owasp.org/img/owasp_icon_white_background.png" />
<meta name="twitter:title" content="OWASP Nest" />
</head>
<body>
<div id="root"></div>
<div id="root">
<div class="container">
<div class="section projects">
<h2>Projects</h2>
<p>Details about projects...</p>
</div>
<div class="section contribute">
<h2>Contribute</h2>
<p>Ways to contribute...</p>
</div>
</div>
</div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
10 changes: 8 additions & 2 deletions frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,14 @@ function App() {
path="/projects/:projectKey/repositories/:repositoryKey"
element={<RepositoryDetailsPage />}
></Route>
<Route path="/projects/contribute" element={<ContributePage />}></Route>
<Route
path="/projects/contribute"
element={
<div className="contribute-container">
<ContributePage />
</div>
}
/>
<Route path="/committees" element={<CommitteesPage />}></Route>
<Route path="/committees/:committeeKey" element={<CommitteeDetailsPage />}></Route>
<Route path="/chapters" element={<ChaptersPage />}></Route>
Expand All @@ -53,5 +60,4 @@ function App() {
</main>
)
}

export default App
Loading