Skip to content

Commit

Permalink
Fixed Prettier Issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Cannon07 committed May 29, 2024
1 parent 264933f commit 34b6830
Showing 1 changed file with 21 additions and 8 deletions.
29 changes: 21 additions & 8 deletions new-website/deepchem/pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,11 @@ const Home = () => {

{/* 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 download-book">
<div className={"flex flex-col gap-8 items-center lg:flex-row lg:gap-16 lg:items-center"}>
<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}
Expand All @@ -223,20 +227,29 @@ const Home = () => {
height={400}
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 by the DeepChem team is a step-by-step guide for deep learning
in life sciences. It offers essential tools and techniques on machine learning and
data handling for beginners looking to apply AI in life sciences.
The DeepChem Book by the DeepChem team is a step-by-step guide for deep learning in life
sciences. It offers essential tools and techniques on machine learning and data handling
for beginners looking to apply AI in life sciences.
</p>
</div>

<Link className={"w-full flex justify-center"} href={"https://deepchemdata.s3.us-west-1.amazonaws.com/book/TutorialsBook.pdf"}>

<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-2 lg:gap-4 rounded-xl shadow-lg py-4 min-w-[250px] cursor-pointer bg-dc-orange w-fit lg:w-full px-4">
<i className={`fa-solid fa-download text-xl lg:text-2xl xl:flex text-white`}></i>
<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>
Expand Down

0 comments on commit 34b6830

Please sign in to comment.