Skip to content

Commit

Permalink
Added first iteration of the frontend book section
Browse files Browse the repository at this point in the history
  • Loading branch information
Cannon07 committed May 26, 2024
1 parent 1cdf42b commit b824e2c
Show file tree
Hide file tree
Showing 2 changed files with 44 additions and 1 deletion.
45 changes: 44 additions & 1 deletion new-website/deepchem/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import exploreLayersIcon from "./../public/images/explore-layers.png";

import Terminal from "../components/Home/Terminal";
import deepchemLogo from "../public/images/deepchem-logo.png";
import deepchemBookCover from "../public/images/deepchem-book-cover.png";

/**
* Function to import all images from /public/images/used-by/ for the 'used by scientific leaders' carousel
Expand Down Expand Up @@ -211,8 +212,50 @@ const Home = () => {
</section>
{/* SUPPORTERS SECTION END */}

{/* DOWNLOAD BOOK BEGIN */}
<section className="px-4 py-8 gap-2 lg:gap-16 items-center justify-center flex flex-col lg:py-16 bg-opacity-10 bg-dc-light-gray get-started">
<div className={"flex flex-col gap-8 items-center lg:flex-row lg:gap-16 lg:items-center"}>
<h2 className={"lg:hidden mb-0"}>The DeepChem Book</h2>
<Image
src={deepchemBookCover}
alt="DeepChem Book Cover"
width={300}
height={500}
className={"shadow-lg"}
/>
<div className="flex-col flex gap-8 text-dc-gray text-opacity-60 lg:flex w-[500px] items-center">
<div className={"flex-col flex gap-6 hidden lg:flex"}>
<h2 className={"mb-0"}>The DeepChem Book</h2>
<p className="text-lg text-justify">
The DeepChem Book is a step-by-step tutorial series for deep
life sciences. The author, Bharath Ramsundar and the
DeepChem team, cover the essential tools and techniques for
mastering deep learning in life sciences. Tailored for
beginners in both machine learning and life sciences, the
book builds a repertoire of tools required to perform
meaningful work in the dynamic field of life sciences. Going
beyond machine learning, the tutorial covers critical aspects
of data handling necessary for constructing systems within
the deep life sciences.
</p>
</div>

<Link className={"w-full flex justify-center"} href={"https://deepchemdata.s3.us-west-1.amazonaws.com/book/TutorialsBook.pdf"}>
<div className="flex justify-center items-center gap-4 rounded-xl shadow-lg py-4 min-w-[250px] cursor-pointer bg-dc-orange w-fit lg:w-full px-10">
<i className={`fa-solid fa-download text-xl lg:text-2xl xl:flex text-white`}></i>
<p className="font-medium tracking-wide text-xl text-white">
Download E-Book
</p>
</div>
</Link>
</div>
</div>

</section>
{/* DOWNLOAD BOOK END */}

{/* EXPLORE START */}
<section className="explore flex flex-col items-center px-[25px] 2xl:px-[300px] py-16 bg-dc-light-gray bg-opacity-10 gap-4">
<section className="explore flex flex-col items-center px-[25px] 2xl:px-[300px] py-16 gap-4">
<h2 className="mb-8">Explore</h2>
<div className="explore flex flex-wrap lg:flex-row items-center justify-center gap-10">
<ExploreCardItem
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit b824e2c

Please sign in to comment.