Skip to content

Commit

Permalink
Merge pull request #2 from VandyHacks/about
Browse files Browse the repository at this point in the history
Merge About
  • Loading branch information
zineanteoh authored Apr 3, 2022
2 parents b39e8bf + ef32196 commit 612df84
Show file tree
Hide file tree
Showing 34 changed files with 67 additions and 27 deletions.
2 changes: 1 addition & 1 deletion components/Navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const Navbar = () => {
<div className="bg-[#28315a] sticky flex justify-end shadow-sm ">
<div className="inline-block mr-auto mt-3 ml-2 w-[40px] h-[40px]">
<Link href="/">
<Image alt="Logo" src="/logo.png" width={100} height={100} />
<Image alt="Logo" src="/logos/logo.png" width={100} height={100} />
</Link>
</div>
<div className="text-white m-[20px] hover:underline" id="about">
Expand Down
47 changes: 40 additions & 7 deletions pages/about.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,48 @@
import React from "react";
import Navbar from "../components/Navbar";
import Footer from "../components/Footer";
import Image from "next/image";

const about = () => {
return (
<div>
<Navbar />
<h1>About page</h1>
<Footer />
</div>
);
return (
<div>
<Navbar />

<div className="flex flex-col justify-center md:flex-row-reverse bg-[#b0cee3]">
<div className="h-full w-[20rem] mx-auto">
<Image
className="mx-auto"
alt="About Us"
src="/about_egg.svg"
height={400}
width={400}
/>
</div>
<div className="w-[80%] mx-auto">
<div className="text-center text-5xl py-10 bg-no-repeat bg-bottom bg-[url(/yellow_title.svg)]">
Our Story
</div>
<div
className="pt-10"
// style={{width: "65%", lineHeight: "170%", padding: "20px"}}
// width: 65%; line-height: 170%; padding: 20px; background-color:rgba(40, 49, 90, 0.1); border-radius: 25px;
>
Lorem ipsum dolor sit amet, consectetur adipiscing elit.
Sed pharetra nulla ex, nec blandit sapien laoreet a.
Mauris a tellus egestas lacus vulputate venenatis in et
elit. Class aptent taciti sociosqu ad litora torquent
per conubia nostra, per inceptos himenaeos. Cras
pharetra vitae nisl vel varius. Pellentesque dapibus
mollis nisi, vel egestas tortor aliquet id. Nunc a
commodo elit. Etiam semper tellus ligula, eget
sollicitudin neque egestas vitae.
</div>
</div>
</div>

<Footer />
</div>
);
};

export default about;
6 changes: 5 additions & 1 deletion pages/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ const Home = () => {
<Navbar />

{/* Logo */}
<div className="h-[100vh] bg-[url('../images/landing_section_one.svg')] text-blue-600"></div>
<div className="h-[100vh] -mt-12 md:mt-0 bg-[url('/svgs/landing_section_one.svg')]">
<div className="mx-auto h-[200px] w-[250px] pt-64 md:w-[342px] md:h-[285px] md:pt-32">
<Image src="/logos/big_logo.png" width={342} height={285} />
</div>
</div>

<Footer />
</div>
Expand Down
File renamed without changes
18 changes: 0 additions & 18 deletions public/landing_section_one.svg

This file was deleted.

File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
18 changes: 18 additions & 0 deletions public/svgs/about_egg.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions public/yellow_title.svg

0 comments on commit 612df84

Please sign in to comment.