mirror of
https://github.com/Fluffy-Bean/image-gallery.git
synced 2025-05-30 15:23:13 +00:00
Remove search temporarilly
This commit is contained in:
parent
cd0c829e07
commit
982341bfe5
4 changed files with 95 additions and 5 deletions
|
@ -1,5 +1,3 @@
|
||||||
<?php include "ui/required.php"; ?>
|
|
||||||
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
@ -31,7 +29,10 @@
|
||||||
<link rel='stylesheet' href='Flyout/flyout.css'>
|
<link rel='stylesheet' href='Flyout/flyout.css'>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<?php include "ui/nav.php"; ?>
|
<?php
|
||||||
|
include "ui/required.php";
|
||||||
|
include "ui/nav.php";
|
||||||
|
?>
|
||||||
|
|
||||||
<div class="about-root">
|
<div class="about-root">
|
||||||
<h2 id="about">What is Fluffys Amazing Gallery?</h2>
|
<h2 id="about">What is Fluffys Amazing Gallery?</h2>
|
||||||
|
|
33
css/main.css
33
css/main.css
|
@ -576,6 +576,39 @@ nav .btn {
|
||||||
font-family: "Secular One", sans-serif;
|
font-family: "Secular One", sans-serif;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
|-------------------------------------------------------------
|
||||||
|
| SEARCH
|
||||||
|
|-------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
.search-root {
|
||||||
|
margin-bottom: 1rem;
|
||||||
|
padding: 0.5rem;
|
||||||
|
width: calc(100% - 1.4rem);
|
||||||
|
background-color: #151515;
|
||||||
|
color: #E8E3E3;
|
||||||
|
border-radius: 0rem;
|
||||||
|
border: 0.2rem solid #8C977D;
|
||||||
|
box-shadow: 6px 6px 2px rgba(21, 21, 21, 0.5333333333);
|
||||||
|
}
|
||||||
|
.search-root > * {
|
||||||
|
margin-top: 0;
|
||||||
|
margin-bottom: 0.5rem;
|
||||||
|
}
|
||||||
|
.search-root h1,
|
||||||
|
.search-root h2,
|
||||||
|
.search-root h3,
|
||||||
|
.search-root h4,
|
||||||
|
.search-root h5 {
|
||||||
|
font-family: "Lexend Deca", sans-serif;
|
||||||
|
}
|
||||||
|
.search-root p,
|
||||||
|
.search-root a,
|
||||||
|
.search-root button,
|
||||||
|
.search-root input {
|
||||||
|
font-family: "Secular One", sans-serif;
|
||||||
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|-------------------------------------------------------------
|
|-------------------------------------------------------------
|
||||||
| FOOTER
|
| FOOTER
|
||||||
|
|
|
@ -235,3 +235,13 @@
|
||||||
@include defaultDecoration($red);
|
@include defaultDecoration($red);
|
||||||
@include defaultFont();
|
@include defaultFont();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
|-------------------------------------------------------------
|
||||||
|
| SEARCH
|
||||||
|
|-------------------------------------------------------------
|
||||||
|
*/
|
||||||
|
.search-root {
|
||||||
|
@include defaultDecoration($green);
|
||||||
|
@include defaultFont();
|
||||||
|
}
|
50
search.php
50
search.php
|
@ -1,5 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
if (isset($_GET['q']) && !empty($_GET['q'])) {
|
/*if (isset($_GET['q']) && !empty($_GET['q'])) {
|
||||||
// Make search into an array
|
// Make search into an array
|
||||||
$search_array = explode(" ", $_GET['q']);
|
$search_array = explode(" ", $_GET['q']);
|
||||||
|
|
||||||
|
@ -21,5 +21,51 @@ if (isset($_GET['q']) && !empty($_GET['q'])) {
|
||||||
echo "<a href='image.php?id=".$image['id']."'><img class='gallery-image' loading='lazy' src='".$image_path."' id='".$image['id']."'></a>";
|
echo "<a href='image.php?id=".$image['id']."'><img class='gallery-image' loading='lazy' src='".$image_path."' id='".$image['id']."'></a>";
|
||||||
echo "</div>";
|
echo "</div>";
|
||||||
}
|
}
|
||||||
}
|
}*/
|
||||||
?>
|
?>
|
||||||
|
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<meta charset="utf-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Lynx Gallery</title>
|
||||||
|
|
||||||
|
<!-- Stylesheets -->
|
||||||
|
<link rel="stylesheet" href="css/main.css">
|
||||||
|
<link rel="stylesheet" href="css/normalise.css">
|
||||||
|
|
||||||
|
<!-- Google Fonts -->
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@600">
|
||||||
|
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Secular+One&display=swap">
|
||||||
|
|
||||||
|
<!-- JQuery -->
|
||||||
|
<script
|
||||||
|
src="https://code.jquery.com/jquery-3.6.0.min.js"
|
||||||
|
integrity="sha256-/xUj+3OJU5yExlq6GSYGSHk7tPXikynS7ogEvDej/m4="
|
||||||
|
crossorigin="anonymous">
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- Sniffle script! -->
|
||||||
|
<script src="Sniffle/sniffle.js"></script>
|
||||||
|
<link rel='stylesheet' href='Sniffle/sniffle.css'>
|
||||||
|
|
||||||
|
<!-- Flyout script! -->
|
||||||
|
<script src="Flyout/flyout.js"></script>
|
||||||
|
<link rel='stylesheet' href='Flyout/flyout.css'>
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<?php
|
||||||
|
include "ui/required.php";
|
||||||
|
include "ui/nav.php";
|
||||||
|
?>
|
||||||
|
|
||||||
|
<div class="search-root">
|
||||||
|
<h2>Where did the search go!</h2>
|
||||||
|
<p>Due to how it was implemented originally, it was hard to handle and work with. So I removed it.</p>
|
||||||
|
<p>It'll be coming back, but since it's going to be a lot of work it'll have to be much later.</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<?php include "ui/footer.php"; ?>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue