Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarbine-cdw committed Dec 3, 2023
1 parent 597ca41 commit 61304a1
Show file tree
Hide file tree
Showing 7 changed files with 106 additions and 113 deletions.
Empty file added public/community-support.html
Empty file.
57 changes: 31 additions & 26 deletions public/css/main.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,58 +5,63 @@
@import "node_modules/@fortawesome/fontawesome-free/scss/regular";
@import "node_modules/@fortawesome/fontawesome-free/scss/solid";

// Define color variables
$snapchat-yellow: #fffc00;
$snapchat-yellow-dark: #f1ef00;
$twitch-purple: #6441a5;
$twitch-purple-dark: #503484;
$twitter-blue: #0f97ea;
$google-red: #d93b27;
$white: #FFF;

// Basic Snapchat Button CSS
.btn-snapchat {
background-color: #fffc00;
color: #000 !important;
// Placeholder for common white text style
%white-text {
color: $white !important;

&:hover, &:active {
background-color: #f1ef00;
color: $white !important;
}
}

// Basic Twitch Button CSS
.btn-twitch {
background-color: #6441a5;
color: #FFF !important;
// Basic Snapchat Button CSS
.btn-snapchat {
background-color: $snapchat-yellow;
color: $black !important;

&:hover, &:active {
background-color: #503484;
background-color: $snapchat-yellow-dark;
}
}

.btn-twitter {
// Basic Twitch Button CSS
.btn-twitch {
background-color: $twitch-purple;
@extend %white-text;

&:hover, &:active {
color: #FFF !important;
background-color: $twitch-purple-dark;
}
}

// Basic Twitter Button CSS
.btn-twitter {
color: #FFF !important;
@extend %white-text;

&:hover, &:active {
color: #FFF !important;
background-color: #0f97ea;
}
}

.btn-google {
&:hover, &:active {
color: #FFF !important;
background-color: $twitter-blue;
}
}

// Basic Google Button CSS
.btn-google {
color: #FFF !important;
@extend %white-text;

&:hover, &:active {
color: #FFF !important;
background-color: #d93b27;
background-color: $google-red;
}
}

// Add a space after fontawesome icons
.iconpadding{
padding-right: 6px!important;
.iconpadding {
padding-right: 6px !important;
}
Empty file added public/get-started.html
Empty file.
Empty file added public/innovative-features.html
Empty file.
53 changes: 27 additions & 26 deletions views/docs.pug
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
extends layout
doctype html
html
head
meta(charset='utf-8')
title Public Phone Docs - Open Source Communication
link(rel='stylesheet', href='/css/bbs-theme.css')
// Other head elements
block content
h1 Public Phone
p.lead The open-source and free-to-use communications platform for the general public.
hr
.row
.col-md-6
h2 Public Phone
p Hello.
p
a.btn.btn-primary(href='Documentation.pug', role='button') View details »
.col-md-6
h2 Public Phone
p Hello.
p
a.btn.btn-primary(href='#', role='button') View details »
.col-md-6
h2 Public Phone
p Hello.
p
a.btn.btn-primary(href='#', role='button') View details »
.col-md-6
h2 Public Phone
p Hello.
p
a.btn.btn-primary(href='#', role='button') View details »
body
header.bbs-header
h1 Public Phone Documentation

nav.bbs-nav
// Navigation items
main.bbs-main
section.bbs-docs
h2 Getting Started
p Welcome to the Public Phone documentation. This open source platform is designed for easy and free communication for everyone.
// Additional sections and content
aside.bbs-aside
// Sidebar content like quick links or important notices
footer.bbs-footer
// Footer content
// Scripts
2 changes: 1 addition & 1 deletion views/home.pug
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ block content
h2 Easy Connectivity
p Connect effortlessly with a user-friendly interface and reliable service.
p
a.btn.btn-success(href='easy-connectivity.html', role='button') Learn More »
a.btn.btn-success(href='docs', role='button') Learn More »

.col-md-6
h2 Community Support
Expand Down
107 changes: 47 additions & 60 deletions views/layout.pug
Original file line number Diff line number Diff line change
@@ -1,65 +1,52 @@
<!DOCTYPE html>
<html class="h-100">
<head>
<meta charset='utf-8'>
<meta http-equiv='X-UA-Compatible' content='IE=edge'>
<meta name='viewport' content='width=device-width, initial-scale=1.0'>
<meta name='csrf-token' content=_csrf>
<title>#{title} - Public Phone</title>
<link rel='shortcut icon' href='/favicon.png'>
<!-- Custom BBS Style -->
<link rel='stylesheet' href='/css/bbs-style.css'>
<link rel='stylesheet' href='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css'>
<!-- Additional Head Content -->
<block head>
</head>
<body class="d-flex flex-column h-100 bbs-body">
<!-- Header -->
<include partials/header>
doctype html
html.h-100
head
meta(charset='utf-8')
meta(http-equiv='X-UA-Compatible', content='IE=edge')
meta(name='viewport', content='width=device-width, initial-scale=1.0')
meta(name='csrf-token', content=_csrf)
title #{title} - Public Phone
link(rel='shortcut icon', href='/favicon.png')
link(rel='stylesheet', href='/css/bbs-style.css')
link(rel='stylesheet', href='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.css')

<!-- Main Content Area -->
<div class="flex-shrink-0">
<div class="container mt-3 bbs-container">
<!-- Flash Messages -->
<include partials/flash>
<!-- Page Content -->
<block content>
</div>
</div>
block head

<!-- Footer -->
<include partials/footer>
body.d-flex.flex-column.h-100.bbs-body
include partials/header

<!-- Scripts -->
<script src='/js/lib/jquery.min.js'></script>
<script src='/js/lib/bootstrap.min.js'></script>
<script src='/js/main.js'></script>
<script src='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js'></script>
<!-- Cookie Consent Configuration -->
<script type="text/javascript">
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#f8f9fa"
.flex-shrink-0
.container.mt-3.bbs-container
include partials/flash
block content

include partials/footer

script(src='/js/lib/jquery.min.js')
script(src='/js/lib/bootstrap.min.js')
script(src='/js/main.js')
script(src='https://cdn.jsdelivr.net/npm/cookieconsent@3/build/cookieconsent.min.js')

script(type="text/javascript").
window.cookieconsent.initialise({
"palette": {
"popup": {
"background": "#f8f9fa"
},
"button": {
"background": "#343a40"
}
},
"button": {
"background": "#343a40"
"position": "bottom-right",
"content": {
"href": "/privacy-policy.html"
}
},
"position": "bottom-right",
"content": {
"href": "/privacy-policy.html"
}
});
</script>
<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-X', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>
});

script.
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-XXXXX-X', 'auto');
ga('send', 'pageview');

0 comments on commit 61304a1

Please sign in to comment.