From e4a4f355f864178de6e0fe27831822dd43e132e8 Mon Sep 17 00:00:00 2001 From: Bady <bady@disroot.org> Date: Wed, 14 Oct 2020 01:34:39 +0530 Subject: [PATCH] Add news page --- categories/index.html | 1 + code-of-conduct/index.html | 1 + css/style.css | 7 ++-- index.html | 1 + learners/index.html | 1 + mentors/index.html | 1 + news/index.html | 81 ++++++++++++++++++++++++++++++++++++++ news/index.xml | 9 +++++ privacy/index.html | 1 + sched/index.html | 1 + sitemap.xml | 5 +++ tags/index.html | 1 + welcome-mentors/index.html | 1 + welcome/index.html | 1 + 14 files changed, 108 insertions(+), 4 deletions(-) create mode 100644 news/index.html create mode 100644 news/index.xml diff --git a/categories/index.html b/categories/index.html index 31e3ad0..63af28c 100644 --- a/categories/index.html +++ b/categories/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/code-of-conduct/index.html b/code-of-conduct/index.html index 44c2b9f..7b7d35b 100644 --- a/code-of-conduct/index.html +++ b/code-of-conduct/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/css/style.css b/css/style.css index 456efe3..37994f9 100644 --- a/css/style.css +++ b/css/style.css @@ -68,7 +68,7 @@ nav{ .menu a{ color: black; text-decoration: none; - padding: 0 35px; + padding: 0 20px; transition: 0.4s; } .show-menu-btn,.hide-menu-btn{ @@ -294,12 +294,11 @@ nav{ } .container{ display: flex; - margi } -.expectations{ +.page, .expectations{ display: flex; flex-direction: column; - margin: 10vh auto; + margin: 5vh auto; width: 60%; } .heading{ diff --git a/index.html b/index.html index 9da50e9..e929fc3 100644 --- a/index.html +++ b/index.html @@ -27,6 +27,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/learners/index.html b/learners/index.html index 3432357..02e8e87 100644 --- a/learners/index.html +++ b/learners/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/mentors/index.html b/mentors/index.html index 89dd218..6e4c8d4 100644 --- a/mentors/index.html +++ b/mentors/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/news/index.html b/news/index.html new file mode 100644 index 0000000..98c09d8 --- /dev/null +++ b/news/index.html @@ -0,0 +1,81 @@ +<!DOCTYPE html> +<html><head> + <meta charset="utf-8"> + <meta http-equiv="x-ua-compatible" content="ie=edge"> + <title>Free Software Camp 2020</title> + <meta name="description" content=""> + <meta name="viewport" content="width=device-width, initial-scale=1"> + <link rel="stylesheet" href='https://camp.fsf.org.in/css/style.css' type="text/css" media="screen" /> + <link rel="apple-touch-icon" href="/apple-touch-icon.png"> + + <link rel="stylesheet" href="https://tools-static.wmflabs.org/cdnjs/ajax/libs/font-awesome/5.14.0/css/all.css" crossorigin="anonymous" /> +</head> +<body> + <div style="background-color:#fbe7e3;color:#7e3328;padding:5px 35px 5px 35px;border-left: solid 7px #f3bbb1;text-align: center;"> + <p>Dear learners and mentors, if you have applied for this camp you will receive a reply mail within 5 days of application, please check your Spam folder too in case it doesn't land in your Inbox. If you use Gmail, it might categorize mailing list emails under the 'Promotions' tab. You will need to set a filter for "<i>mm.gnu.org.in</i>" to ensure it ends up in your Primary inbox. If you don't get one please mail to <i>camp at mm.gnu.org.in</i></p> + </div><div class="nav-container"> + <nav> + <div class="logo"> + <a href="https://camp.fsf.org.in">Free Software + <span style="color:#469198"> Camp</span></a> + </div> + <input type="checkbox" id="chk"> + <label for="chk" class="show-menu-btn" style="align-items:center;"> + <i class="nav-icon fas fa-bars"></i> + </label> + <ul class="menu"> + <li><a href="https://camp.fsf.org.in#about">About</a></li> + <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> + <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> + <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> + + <div class="dropdown cta"> + <button onclick="myFunctionnav()" class="dropbtn">Apply</button> + <div id="myDropdownnav" class="dropdown-content" style="padding: 5px;"> + <button style="padding: 0px;"><a href='https://camp.fsf.org.in/learners'>As Learner</a></button> + <button style="padding: 0px;"><a href='https://camp.fsf.org.in/mentors'>As Mentor</a></button> + </div> + </div> + <label for="chk" class="hide-menu-btn"><i class="nav-icon fas fa-times"></i></label> + </ul> + + <script> + function myFunction() { + document.getElementById("myDropdown").classList.toggle("show"); + } + function myFunctionnav() { + document.getElementById("myDropdownnav").classList.toggle("show"); + } + window.onclick = function(event) { + if (!event.target.matches('.dropbtn')) { + var dropdowns = document.getElementsByClassName("dropdown-content"); + var i; + for (i = 0; i < dropdowns.length; i++) { + var openDropdown = dropdowns[i]; + if (openDropdown.classList.contains('show')) { + openDropdown.classList.remove('show'); + } + } + } + } + </script> + </nav> +</div> +<main> +<section class="page"> + <h1 style="text-align: center;">News & Announcements</h1> + +</section> + + </main><footer style="margin-top: 0"> + <div class="footer-icon-row " style="text-align: center"> + <h1>Organised By</h1> + <a href="https://fsci.in"><img height="50px" src='https://camp.fsf.org.in/img/fsci_logo.png' alt="Logo of FSCI" /></a> + <a href="https://fsf.org.in"><img height="50px" src="https://fsf.org.in/assets/img/logo.png" alt="Logo of FSF" /></a> + </div> + <p style="text-align: center; font-size: 20px"><a style="text-decoration: underline; color: inherit;" href="https://camp.fsf.org.in/privacy">Privacy Policy</a></p> + <p style="text-align: center;">Made with <span style="color: #e25555;">♥</span> All original content licensed under a free/libre copyleft license (GPL or CC BY-SA)</p> +</footer> +</body> +</html> diff --git a/news/index.xml b/news/index.xml new file mode 100644 index 0000000..a623edd --- /dev/null +++ b/news/index.xml @@ -0,0 +1,9 @@ +<?xml version="1.0" encoding="utf-8" standalone="yes"?> +<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"> + <channel> + <title>Free Software Camp</title> + <link>https://camp.fsf.org.in/news/</link> + <description>Recent content on Free Software Camp</description> + <generator>Hugo -- gohugo.io</generator><atom:link href="https://camp.fsf.org.in/news/index.xml" rel="self" type="application/rss+xml" /> + </channel> +</rss> diff --git a/privacy/index.html b/privacy/index.html index f001839..9d1a30e 100644 --- a/privacy/index.html +++ b/privacy/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/sched/index.html b/sched/index.html index c66f1f0..9308e36 100644 --- a/sched/index.html +++ b/sched/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/sitemap.xml b/sitemap.xml index ef337dc..8b34fe8 100644 --- a/sitemap.xml +++ b/sitemap.xml @@ -41,6 +41,11 @@ <loc>https://camp.fsf.org.in/</loc> </url> + <url> + <loc>https://camp.fsf.org.in/news/</loc> + <priority>0</priority> + </url> + <url> <loc>https://camp.fsf.org.in/categories/</loc> </url> diff --git a/tags/index.html b/tags/index.html index 31e3ad0..63af28c 100644 --- a/tags/index.html +++ b/tags/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/welcome-mentors/index.html b/welcome-mentors/index.html index 27bf987..1c82934 100644 --- a/welcome-mentors/index.html +++ b/welcome-mentors/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> diff --git a/welcome/index.html b/welcome/index.html index cb428d5..58a9bc5 100644 --- a/welcome/index.html +++ b/welcome/index.html @@ -26,6 +26,7 @@ <ul class="menu"> <li><a href="https://camp.fsf.org.in#about">About</a></li> <li><a href="https://camp.fsf.org.in/code-of-conduct">Code of Conduct</a></li> + <li><a href="https://camp.fsf.org.in/news">News</a></li> <li><a href="https://camp.fsf.org.in/sched">Schedule</a></li> <li><a href="https://camp.fsf.org.in#contact">Contact</a></li> -- GitLab