Skip to content
Snippets Groups Projects
Commit b786c85b authored by Liliana Sanfilippo's avatar Liliana Sanfilippo
Browse files

unused exports

parent 7caee46f
No related branches found
No related tags found
No related merge requests found
Pipeline #423565 failed
import { useEffect } from "react";
import { useLocation } from "react-router-dom";
import { openFromOtherPage } from "../utils/openFromOtherpAge";
export function Drylab() {
const location = useLocation();
useEffect(() => {
const params = new URLSearchParams(location.search);
const collapseId = params.get('collapseId');
const tabId = params.get('tab');
// Scroll to the section specified by collapseId
if (collapseId) {
const collapseElement = document.getElementById(collapseId);
if (collapseElement) {
const elementTop = collapseElement.getBoundingClientRect().top + window.pageYOffset;
const offset = window.innerHeight / 2 - collapseElement.offsetHeight / 2;
const scrollPosition = elementTop - offset;
window.scrollTo({
top: scrollPosition,
behavior: 'smooth',
});
}
}
// Open the tab specified by tabId
if (tabId) {
openFromOtherPage(tabId)({ currentTarget: document.getElementById(tabId)! });
}
}, [location.search]);
return (
<>
<div className="row">
<div className="col">
</div>
</div>
<div className="row">
</div>
</>
);
}
\ No newline at end of file
......@@ -94,6 +94,7 @@ export function HumanPractices() {
text="Human Practices is the study of how your work affects the world, and how the world affects your work."
cite="- Peter Carr, Director of Judging"
/>
<img src="https://external-content.duckduckgo.com/iu/?u=https%3A%2F%2Ftse1.mm.bing.net%2Fth%3Fid%3DOIP.6mRPyWPFEIQzo-HP4kEukgHaEK%26pid%3DApi&f=1&ipt=ad1e62d3df6a343c1c163a8246d424a7b61015ac43a0cbe279976cf544be7aa7&ipo=images" alt="placeholder"></img>
<section id="Overview" className="section">
<div className="center" >
<h3 className="col personalstyleone">Overview</h3>
......
......@@ -20,9 +20,7 @@ export * from "../sidebars/hpS.tsx"
export * from "./Bfh.tsx";
export * from "./wiki.tsx";
export * from "./drylab.tsx";
export * from "./impressum.tsx";
export * from "./measurement.tsx";
export * from "./partners.tsx";
export * from "./supplementary-material.tsx";
export * from "./interviews.tsx";
......@@ -44,7 +42,6 @@ export * from "../headers/spons-h.tsx"
export * from "../headers/dry-h.tsx"
export * from "../headers/eng-h.tsx"
export * from "../headers/sup-h.tsx"
export * from "../headers/mes-h.tsx"
export * from "./parts.tsx";
export * from "../headers/part-h.tsx"
......@@ -59,8 +56,6 @@ export * from "./judging.tsx";
export * from "../headers/judge-h.tsx"
export * from "./ethics.tsx";
export * from "../headers/eth-h.tsx"
export * from "./example.tsx";
......@@ -71,7 +66,7 @@ export * from "../sidebars/engS.tsx"
export * from "../sidebars/intS.tsx"
export * from "../sidebars/safeS.tsx"
export * from "../sidebars/none.tsx"
export * from "../sidebars/ethS.tsx"
export * from "./survey.tsx";
export * from "../headers/sur-h.tsx"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment