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
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { AnimationsContext } from "../../contexts/animations-context";
export default function CustomCarousel({ children }) {
const { isAnimationsEnabled } = useContext(AnimationsContext);
const [windowWidth, setWindowWidth] = React.useState(0);
const [selectedItem, setSelectedItem] = React.useState(0);

useEffect(() => {
/**
Expand Down Expand Up @@ -40,6 +41,8 @@ export default function CustomCarousel({ children }) {
showArrows={true}
showStatus={false}
showIndicators={false}
selectedItem={selectedItem}
onChange={(index) => setSelectedItem(index)}
>
{children}
</Carousel>
Expand Down
6 changes: 3 additions & 3 deletions new-website/deepchem/components/Footer/Footer.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ function Footer() {
<Logo />
<p className="mt-4">Maintained by the DeepChem core team</p>
<p>Design by @kid-116</p>
<p>&copy; DeepChem 2022</p>
<p>&copy; DeepChem 2025</p>
</div>
<div className="flex flex-row gap-8 lg:gap-20 items-start font-light">
<div className="flex flex-col gap-1">
Expand Down Expand Up @@ -68,12 +68,12 @@ function Footer() {
href="https://twitter.com/deep_chem?lang=en"
target={"_blank"}
>
Twitter
X
</Link>
</div>
</div>
</div>
<p className="text-center mt-8 lg:hidden text-sm">&copy; Deepchem 2022</p>
<p className="text-center mt-8 lg:hidden text-sm">&copy; Deepchem 2025</p>
</footer>
);
}
Expand Down
19 changes: 4 additions & 15 deletions new-website/deepchem/layouts/tutorial.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import TutorialLink from "../components/Tutorials/TutorialLink";
import tutorials from "../data/tutorials/tutorials";
import renderOrder from "../data/tutorials/render-order";

import ScrollToTop from "react-scroll-to-top";

/**
* Tutorial layout component - A wrapper layout for all the tutorials pages
Expand Down Expand Up @@ -77,9 +76,8 @@ export default function TutorialLayout({ children }) {
</Script>

<div
className={`${
isNavbarOpen ? "flex" : "hidden"
} fixed bg-dc-gray/80 w-full h-[100vh] top-0 lg:hidden z-10`}
className={`${isNavbarOpen ? "flex" : "hidden"
} fixed bg-dc-gray/80 w-full h-[100vh] top-0 lg:hidden z-10`}
onClick={toggleNavbar}
></div>
<div className="flex flex-col px-[25px] 2xl:px-[300px] items-start overflow-x-scroll gap-8 font-poppins py-8 lg:py-16">
Expand All @@ -92,9 +90,8 @@ export default function TutorialLayout({ children }) {
</div>
<div className="flex flex-row justify-between w-full">
<nav
className={`notebook-menu ${
isNavbarOpen ? "translate-x-0" : "-translate-x-full"
} bg-white ease-in-out duration-300 lg:duration-0 fixed top-0 left-0 shadow-xl py-8 lg:py-0 h-[100vh] w-[70vw] max-w-[300px]`}
className={`notebook-menu ${isNavbarOpen ? "translate-x-0" : "-translate-x-full"
} bg-white ease-in-out duration-300 lg:duration-0 fixed top-0 left-0 shadow-xl py-8 lg:py-0 h-[100vh] w-[70vw] max-w-[300px]`}
>
{renderOrder.map((tutorials, i) => {
const list = (
Expand Down Expand Up @@ -127,14 +124,6 @@ export default function TutorialLayout({ children }) {
</div>
</div>
</div>

<ScrollToTop
className="flex items-center justify-center !rounded-full !opacity-70 hover:!opacity-100 transition-all !bg-dc-orange"
smooth
component={
<i className="fa-solid fa-chevron-up text-dc-white !text-lg "></i>
}
/>
</div>
);
}
Binary file modified new-website/deepchem/public/images/deepchem-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.