Skip to content

Commit

Permalink
trial for netlify
Browse files Browse the repository at this point in the history
  • Loading branch information
sppidy committed Dec 31, 2023
1 parent 83f7465 commit 5e6c382
Show file tree
Hide file tree
Showing 41 changed files with 2,824 additions and 0 deletions.
405 changes: 405 additions & 0 deletions public/Community Partners/community_partners.css

Large diffs are not rendered by default.

58 changes: 58 additions & 0 deletions public/Community Partners/community_partners.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Community Partners</title>
<link rel="stylesheet" href="community_partners.css">
<link rel="shortcut icon" type="image/x-icon" href="/icons/WOC_LOGO_FINAL (1).png"/>
</head>
<body>
<script src="https://kit.fontawesome.com/12e3b4f7be.js" crossorigin="anonymous"></script>
<br>
<div class="nav-container">
<nav id="navigation">
<ul class="nav-main">
<li><a href="/index.html" class="nav-link">Home</a></li>
<li><a href="/Community Partners/community_partners.html" class="nav-link nav-current">Community Partners</a></li>
<li><a href="/project_manager/project manager.html" class="nav-link">Project Admins</a></li>
<li><a href="/sponsors/sponsors.html" class="nav-link">Sponsors</a></li>
<li><a href="/organizers/organizers.html" class="nav-link">Organizers</a></li>
<li><a href="/announcement.html" class="nav-link">Announcement</a></li>
</ul>
</nav>
</div>
<br>
<div id="division"></div>
<br>
<div id="headd">
<img src="/icons/WOC_LOGO_FINAL.png" alt="" id="woc">
<h1 align="center">TRC WINTER OF CODE <br>JOIN US FOR VIT'S FIRST OPEN SOURCE PROGRAM
</h1>
<img src="/icons/H2S_White_Logo.png" alt="" id="h2s">
</div>
<br>
<div id="division"></div>
<br><br>
<div style="text-align:center;">
<h1><span class="typed-text" id="page" style="white-space:pre;"></span></h1>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/typed.min.js"></script>
</body>
<br>
<div>

</div>
<footer>
<p>&copy; 2023 Tech Researchers Club VIT'C. <br>Made with 🖤️ by Tech Researchers Club VIT'C. All rights reserved.</p>
</footer>
<script>
const typed = new Typed('.typed-text', {
strings: ['COMMUNITY PARTNERS'],
typeSpeed: 100,
// loop: true
});
</script>
</body>
</html>
1 change: 1 addition & 0 deletions public/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
## TRC-WOC-Web
66 changes: 66 additions & 0 deletions public/announcement.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
<link rel="stylesheet" href="style.css">
</head>
<body>
<br>
<div class="nav-container">
<nav id="navigation">
<ul class="nav-main">
<li><a href="index.html" class="nav-link nav-current">Home</a></li>
<li><a href="Community Partners/community_partners.html" class="nav-link">Community Partners</a></li>
<li><a href="project_manager/project manager.html" class="nav-link">Project Admins</a></li>
<li><a href="sponsors/sponsors.html" class="nav-link">Sponsors</a></li>
<li><a href="organizers/organizers.html" class="nav-link">Organizers</a></li>
</ul>
</nav>
</div>
<br>
<div id="division"></div>
<br>
<div id="headd">
<img src="icons/WOC_LOGO_FINAL.png" alt="" id="woc">
<h1 align="center">TRC WINTER OF CODE <br>JOIN US FOR VIT'S FIRST OPEN SOURCE PROGRAM
</h1>
<img src="icons/H2S_White_Logo.png" alt="" id="h2s">
</div>
<br>
<div id="division"></div>
<br><br>
<div style="text-align:center;">
<h1><span class="typed-text" id="page" style="white-space:pre;"></span></h1>
</div>
<div id="widgetmain" style="text-align: center; overflow-y: auto; overflow-x: hidden; width: --webkit-fill-available; background-color: #transparent; border: 0px solid #000000;">
<div id="rsswidget" style="height: --webkit-fill-available;">
<iframe
src="/getrss.php?time=1703923494432&amp;x=https%3A%2F%2Fcbseclass10studymaterial.blogspot.com%2Ffeeds%2Fposts%2Fdefault%3Falt%3Drss&amp;w=500&amp;h=500&amp;bc=000000&amp;bw=1&amp;bgc=transparent&amp;m=20&amp;it=false&amp;t=(default)&amp;tc=333333&amp;ts=19&amp;tb=transparent&amp;il=true&amp;lc=FFFFFF&amp;ls=14&amp;lb=true&amp;id=false&amp;dc=333333&amp;ds=14&amp;idt=true&amp;dtc=9FE3DE&amp;dts=12"
border="0"
hspace="0"
vspace="0"
frameborder="no"
marginwidth="0"
marginheight="0"
style="border: 0; padding: 0; margin: 0; width: 500px; height: 500px;"
id="rssOutput"
>
Reading RSS Feed ...
</iframe>
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/jquery.min.js"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/lib/typed.min.js"></script>
<footer>
<p>&copy; 2023 Tech Researchers Club VIT'C. <br>Made with 🖤️ by Tech Researchers Club VIT'C. All rights reserved.</p>
</footer>
<script>
const typed = new Typed('.typed-text', {
strings: ['ANNOUNCEMENTS'],
typeSpeed: 100,
});
</script>
</body>
</html>
153 changes: 153 additions & 0 deletions public/getrss.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,153 @@
<?php
header('Content-Type: text/html');

set_time_limit(20);
error_reporting(0);

$xml=$_GET["x"];
if ($xml=="") exit;

$width=$_GET["w"];
$height=$_GET["h"];
$border_color=$_GET["bc"];
$border_width=$_GET["bw"];
$background_color=$_GET["bgc"];
$maxitems=$_GET["m"];

$include_title=$_GET["it"];
$title=$_GET["t"];
$title_color=$_GET["tc"];
$title_size=$_GET["ts"];
$title_background=$_GET["tb"];

$include_link=$_GET["il"];
$link_color=$_GET["lc"];
$link_size=$_GET["ls"];
$link_bold=$_GET["lb"];

$include_description=$_GET["id"];
$description_color=$_GET["dc"];
$description_size=$_GET["ds"];

$include_date=$_GET["idt"];
$date_color=$_GET["dtc"];
$date_size=$_GET["dts"];

$title_style="color:#".$title_color."; font-size:".$title_size."px;";
$title_th_style="";
if ($title_background!="" && $title_background!="transparent")
$title_th_style="background-color:#".$title_background;

$item_style="color:#".$link_color."; font-size:".$link_size."px;";
if ($link_bold=="true")
$item_style=$item_style." font-weight:bold;";
$date_style="color:#".$date_color."; font-size:".$date_size."px;";
$description_style="color:#".$description_color."; font-size:".$description_size."px;";

$xmlDoc = new DOMDocument();
if (!$xmlDoc->load($xml, LIBXML_NOERROR))
{
echo 'Failed to open the RSS feed.';
exit;
}

$channel=$xmlDoc->getElementsByTagName('channel')->item(0);
$channel_title = $channel->getElementsByTagName('title')
->item(0)->childNodes->item(0)->nodeValue;
$channel_link = $channel->getElementsByTagName('link')
->item(0)->childNodes->item(0)->nodeValue;
$channel_desc = $channel->getElementsByTagName('description')
->item(0)->childNodes->item(0)->nodeValue;

if ($title!="" && $title!="(default)")
$channel_title=$title;

?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$xmlDoc->actualEncoding ?>" />
<style type = "text/css">
html {border: 0; padding:0; margin:0;}
</style>
</head>

<body style = "border:0; padding:0; margin:0; overflow-y:auto; overflow-x:hidden; <?=($background_color!="transparent" ? "background:#".$background_color : "")?>">
<table border="0" cellpadding="2" cellspacing="2" width="100%" style="table-layout:fixed;margin:0;padding:0;">

<?php
if ($include_title!="false")
{
?>
<tr><th style="<?=$title_th_style ?>"><span style="<?=$title_style ?>"><?=$channel_title ?></span></th></tr>
<?php
}
?>

<?php
$x=$xmlDoc->getElementsByTagName('item');

$n=$x->length;
if ($maxitems<$n)
$n=$maxitems;

for ($i=0; $i<$n; $i++)
{
$item_title=$x->item($i)->getElementsByTagName('title')->item(0)->childNodes->item(0)->nodeValue;
$item_link=$x->item($i)->getElementsByTagName('link')->item(0)->childNodes->item(0)->nodeValue;
$item_desc=$item_title;
if ($x->item($i)->getElementsByTagName('description') != NULL)
if ($x->item($i)->getElementsByTagName('description')->item(0)->childNodes != NULL)
$item_desc=$x->item($i)->getElementsByTagName('description')->item(0)->childNodes->item(0)->nodeValue;

$item_date=$x->item($i)->getElementsByTagName('pubDate')->item(0)->childNodes->item(0)->nodeValue;

if ($item_title=="")
break;

$item_desc=str_replace('&#60;br clear="all"/>','',$item_desc);
$item_desc=str_replace('&#60;br clear="both"/>','',$item_desc);

$item_desc=str_replace('<br clear="all"/>','',$item_desc);
$item_desc=str_replace('<br clear="both"/>','',$item_desc);

$item_desc=str_replace('<br clear="all" />','',$item_desc);
$item_desc=str_replace('<br clear="both" />','',$item_desc);

$item_desc=str_replace('<br style="clear: both;"/>','',$item_desc);
$item_desc=str_replace('<br style="clear: all;"/>','',$item_desc);

$item_desc=str_replace('<br style="clear: both;" />','',$item_desc);
$item_desc=str_replace('<br style="clear: all;" />','',$item_desc);

$item_desc=str_replace('<br clear="both" style="clear: both;"/>','',$item_desc);
$item_desc=str_replace('<br clear="all" style="clear: all;"/>','',$item_desc);

$item_desc=str_replace('<a ','<a target="_blank" ',$item_desc);


if ($include_link=="true")
{
?>
<tr><td><a href="<?=$item_link ?>" target="_blank" style="<?=$item_style ?>"><?=$item_title ?></a></td></tr>
<?php
}
if ($include_date=="true")
{
$item_date_str = $item_date;
?>
<tr><td><span style="<?=$date_style ?>"><?=$item_date_str ?></span></td></tr>
<?php
}
if ($include_description=="true")
{
?>
<tr><td><span style="<?=$description_style ?>"><?=$item_desc ?></span></td></tr>
<?php
}
}
?>
<tr><td><br></td></tr>
</table>
</body>

</html>
Binary file added public/icons/H2S_White_Logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/WOC_LOGO_FINAL (1).png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/WOC_LOGO_FINAL.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/dev.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/devfolio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/discord (1).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/icons/discord (2).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions public/icons/discord (3).svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/icons/discord-removebg-preview.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions public/icons/discord.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 5e6c382

Please sign in to comment.