Skip to content

Commit

Permalink
File Structure Optimized
Browse files Browse the repository at this point in the history
  • Loading branch information
Khushishah224 committed May 12, 2024
1 parent db7013a commit dd7b842
Show file tree
Hide file tree
Showing 35 changed files with 28 additions and 28 deletions.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Connect, Exchange, Explore – Where Book Enthusiasts Swap Books and Discover New Literary Adventures!

SwapReads.com is the solution to common challenges faced by book enthusiasts in today's digital age. We've identified key problems and developed a platform that addresses them efficiently and effectively.
![Site preview](desktop.png)
![Site preview](./Information/desktop.png)



Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
16 changes: 8 additions & 8 deletions login.html → assets/html/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="./favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="./favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="/assets/favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="/assets/favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
Expand All @@ -17,13 +17,13 @@
/>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script>
<title>Login / SignUp</title>
<link rel="stylesheet" href="login.css" />
<link rel="stylesheet" href="/assets/css/login.css" />
</head>
<body>
<div class="navbar">
<div class="navbar-header">
<a href="index.html">
<img class="close-icon" src="./assets/images/close.png" alt="Close" />
<a href="/index.html">
<img class="close-icon" src="/assets/images/close.png" alt="Close" />
</a>
<!-- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target=".navbar-collapse" aria-expanded="false" aria-controls="navbar">
<span class="sr-only">Toggle navigation</span>
Expand Down
12 changes: 6 additions & 6 deletions rate.html → assets/html/rate.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="./favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="./favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon" sizes="180x180" href="/assets/favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/assets/favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/assets/favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="/assets/favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="/assets/favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<title>Rate Us</title>
Expand Down Expand Up @@ -133,7 +133,7 @@
</style>
</head>
<body>
<a href="index.html" class="home_button">Home</a>
<a href="/index.html" class="home_button">Home</a>

<h1 class="rating_heading"> 5 Star Rating</h1>
<div class="star_rating">
Expand Down
2 changes: 1 addition & 1 deletion social.html → assets/html/social.html
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
<link rel="stylesheet" href="socialmedia.css" />
<link rel="stylesheet" href="/assets/css/socialmedia.css" />
</head>
<body>
<div class="social-icons-container">
Expand Down
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
20 changes: 10 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<link rel="apple-touch-icon" sizes="180x180" href="./favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="./favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="./favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<link rel="apple-touch-icon" sizes="180x180" href="./assets/favicon_package_v0.16/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="./assets/favicon_package_v0.16/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="./assets/favicon_package_v0.16/favicon-16x16.png">
<link rel="manifest" href="./assets/favicon_package_v0.16/site.webmanifest">
<link rel="mask-icon" href="./assets/favicon_package_v0.16/safari-pinned-tab.svg" color="#5bbad5">
<meta name="msapplication-TileColor" content="#da532c">
<meta name="theme-color" content="#ffffff">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
Expand All @@ -35,15 +35,15 @@
<script src="https://unpkg.com/sweetalert/dist/sweetalert.min.js"></script>
</head>
<script src="https://unpkg.com/scrollreveal"></script>
<script src="./faq.js"></script>
<script src="./assets/js/faq.js"></script>
<body>


<header class="header header-anim" data-header>
<div class="container">

<a href="#" class="logo" style="display:flex;">
<img src="Logo-pic.png" alt="" class="logopic" style=" width: 66px;"></img>
<img src="./assets/images/Logo-pic.png" alt="" class="logopic" style=" width: 66px;"></img>
<div style="margin-top:13px;">SwapReads</div>
</a>

Expand All @@ -70,11 +70,11 @@
</li>

<li class="navbar-item">
<a href="rate.html" class="navbar-link">Rate Us</a>
<a href="./assets/html/rate.html" class="navbar-link">Rate Us</a>
</li>

<li class="navbar-item">
<a href="login.html" class="navbar-link">Login/Signup</a>
<a href="./assets/html/login.html" class="navbar-link">Login/Signup</a>
</li>
<li>
<img src="./assets/images/moon.png" id="theme-icon">
Expand Down Expand Up @@ -899,7 +899,7 @@ <h5>Quick Links</h5>
<!--
- ionicon link
-->
<script src="scroll-reveal.js"></script>
<script src="./assets/js/scroll-reveal.js"></script>
<script type="module" src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.esm.js"></script>
<script nomodule src="https://unpkg.com/[email protected]/dist/ionicons/ionicons.js"></script>

Expand Down
4 changes: 2 additions & 2 deletions server.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
const express = require("express");
const bodyParser = require("body-parser");
const mongoose = require("mongoose");
const RegisterSchema = require("./validation/zodschema");
const validate = require("./validation/validate.schema");
const RegisterSchema = require("./assets/validation/zodschema");
const validate = require("./assets/validation/validate.schema");
const nodemailer = require("nodemailer");
const app = express();

Expand Down

0 comments on commit dd7b842

Please sign in to comment.