diff --git a/about.php b/about.php new file mode 100644 index 0000000..a72d732 --- /dev/null +++ b/about.php @@ -0,0 +1,23 @@ +setTitle("Meet the Team"); +?> + + +
+ head(); + ?> + + +header(); +echo $view->page(); +echo $view->footer(); +?> + + diff --git a/assets/images-here.txt b/assets/images-here.txt new file mode 100644 index 0000000..e69de29 diff --git a/index.php b/index.php index ce1a5f5..5e47637 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,6 @@ setTitle("CSE 435 Group 6") ?> diff --git a/lib/AboutView.php b/lib/AboutView.php new file mode 100644 index 0000000..c7eb817 --- /dev/null +++ b/lib/AboutView.php @@ -0,0 +1,48 @@ +Roster: ++ blurb. +
+ blurb. +
+ blurb. +
+ blurb. +
+ blurb. +
CONTENT COMING SOON!
- -HTML; - - return $html; - - } - - public function addNav($name, $link){ - $this->links[] = array("name" => $name, "link" => $link); - } - - public function footer(){ - - $html = << - -HTML; - - return $html; - - } - - public function setTitle($title){ - $this->title = $title; - } - - private $links = array(); - private $title = "Not Set!"; - -} diff --git a/lib/LandingView.php b/lib/LandingView.php new file mode 100644 index 0000000..5ceb2fa --- /dev/null +++ b/lib/LandingView.php @@ -0,0 +1,19 @@ +Paint Defect Reporting! +Find those defects, boys!
+HTML; + return $body; + } +} \ No newline at end of file diff --git a/lib/View.php b/lib/View.php index 42bd227..b85439e 100644 --- a/lib/View.php +++ b/lib/View.php @@ -12,7 +12,7 @@ class View public function __construct() { $this->addNav("Home", "./"); $this->addNav("Progress", "./"); - $this->addNav("Meet The Team", "./"); + $this->addNav("Meet The Team", "./about.php"); $this->addNav("Course Site", "https://cse.msu.edu/~cse435/"); } @@ -52,16 +52,7 @@ HTML; public function page(){ $html = << -Content coming soon...
HTML; return $html;