-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add the third tab to the website inside a separate module
Add the logic for the resetting of navbar style when swtiching to other tabs using a navigation bar
- Loading branch information
1 parent
a1f2bec
commit beec786
Showing
7 changed files
with
304 additions
and
68 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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
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
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
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,24 @@ | ||
import { content } from "./append"; | ||
|
||
export function loadAboutPage() { | ||
if (document.getElementById('truth-container') === null) { | ||
let truthContainer = document.createElement('div'); | ||
truthContainer.id = 'truth-container'; | ||
let truth = document.createElement('p'); | ||
truth.classList.add('truth'); | ||
|
||
const NAIVGATION = document.getElementById('navigation-container'); | ||
NAIVGATION.style.backgroundColor = 'black'; | ||
NAIVGATION.style.color = 'white'; | ||
NAIVGATION.style.margin = '0'; | ||
|
||
truth.innerHTML = 'The truth this is that <span>the Los Pollos Hermanos is not a </span> chicken <span>restaurant. It is the coverup for the </span>massive<span> criminal syndicate operating on the terrtory of the </span> southern United States of America <span>and Mexico. The law enforcement agencies such as the</span> Department of Homeland Security are <span> not only aware of their existence, but they are actively sponsoring them as a method to exert their</span> influence. The Gustav Fring, is <span> actually a criminal with ties to the Chilean Military and the CIA. The Los Pollos Hermanos is a cover up for the </span> Operation Backwaters <span>, which has played a large role in the CIA\'s </span> Overlord Program. <span> Los Pollos Hermanos shall continue to operate under the guidance of the CIA! </span> God save us all'; | ||
truthContainer.style.height = '100vh'; | ||
truthContainer.style.padding = '35vh'; | ||
truthContainer.style.backgroundColor = 'black'; | ||
truth.style.fontSize = '25px'; | ||
truth.style.color = 'white'; | ||
truthContainer.appendChild(truth); | ||
content.appendChild(truthContainer); | ||
} | ||
} |
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,4 +1,5 @@ | ||
const path = require('path'); | ||
const URL = require('url').URL; | ||
|
||
module.exports = { | ||
mode: 'development', | ||
|