-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feature: About page (title, description, and image) (#12)
* About page draft * Fix requested changes * Fix lint error and add newline * Change page classNames to match CSS classes * Change CSS classNames to use camelCase * Rename group_photo for about page and update alt text --------- Co-authored-by: Brian-Magnuson <92892499+Brian-Magnuson@users.noreply.github.com>
- Loading branch information
1 parent
63375a9
commit 004cab1
Showing
4 changed files
with
57 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,11 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
output: "export", | ||
images: { | ||
// Next JS Image Optimization does not work on static site generation | ||
// See: https://nextjs.org/docs/pages/building-your-application/optimizing/images | ||
unoptimized: true | ||
} | ||
}; | ||
|
||
module.exports = nextConfig; |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
.about { | ||
text-align: center; | ||
} | ||
|
||
/* CSS Modules recommends camelCase | ||
See: https://github.com/css-modules/css-modules#naming */ | ||
.imageContainer { | ||
display: flex; | ||
justify-content: center; | ||
margin-top: 2rem; | ||
} | ||
|
||
.title { | ||
margin-bottom: 5rem; | ||
font-size: 3rem; | ||
} | ||
|
||
|
||
.description { | ||
margin: 0 auto; | ||
max-width: 1000px; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
import Image from "next/image"; | ||
import styles from "./About.module.css"; | ||
|
||
export default function About() { | ||
return ( | ||
<main className={styles.about}> | ||
<h1 className={styles.title}>About</h1> | ||
<div className={styles.descriptionContainer}> | ||
<p className={styles.description}> | ||
We are an organization that helps students learn and apply software | ||
engineering principles to real-world applications. We host weekly | ||
workshops on topics like software design to help bridge the gap | ||
between what students need to know for industry and what they're | ||
taught in classes. These concepts help with building complex software | ||
systems and better prepare members for team projects, internships, and | ||
careers in software development. | ||
</p> | ||
</div> | ||
|
||
<div className={styles.imageContainer}> | ||
<Image | ||
src="fall_2022_planning_meeting.jpg" | ||
alt="SSD members (about 30) at our Fall 2022 planning meeting in CISE." | ||
height={600} | ||
width={600} | ||
/> | ||
</div> | ||
</main> | ||
); | ||
} |