Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 92 additions & 0 deletions UI/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Pictopy - Image Manager</title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<div class="container">
<div class="left-side">
<div class="logo">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Image Logo">
</div>
<div class="project-name">
<h1>Pictopy</h1>
</div>
<div class="tabs">
<ul>
<li><a href="#" class="active">Images</a></li>
<li><a href="#">Explore</a></li>
<li><a href="#">Album</a></li>
<li><a href="#">Favorite</a></li>
</ul>
</div>
</div>
<div class="right-side">
<div class="top-section">
<div class="classification">
<div class="classification-item">
<img src="https://i.pinimg.com/originals/0e/61/0e/0e610e7429ac0e540d5e16e25eda41f9.jpg" alt="Image 1">
<p>Person</p>
</div>
<div class="classification-item">
<img src="https://i.pinimg.com/originals/0e/61/0e/0e610e7429ac0e540d5e16e25eda41f9.jpg" alt="Image 2">
<p>Place</p>
</div>
<div class="classification-item">
<img src="https://i.pinimg.com/originals/0e/61/0e/0e610e7429ac0e540d5e16e25eda41f9.jpg" alt="Image 3">
<p>Object</p>
</div>
<div class="classification-item">
<img src="https://i.pinimg.com/originals/0e/61/0e/0e610e7429ac0e540d5e16e25eda41f9.jpg" alt="Image 4">
<p>Destination</p>
</div>
</div>
</div>

<div class="main-section">
<h1>16th March 2024</h1>
<div class="horizontal-scroll">
<!-- Placeholder content for photos with horizontal scroll -->
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 1">
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 2">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- Add more photos as needed -->
</div>
<h1>15th March 2024</h1>
<div class="horizontal-scroll">
<!-- Placeholder content for photos with horizontal scroll -->
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 1">
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 2">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- Add more photos as needed -->
</div>
<!-- <h1>14th March 2024</h1>
<div class="horizontal-scroll">
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 1">
<img src="https://th.bing.com/th/id/OIP.rLr1zFlT9M8R6xJO0yohbwHaE8?rs=1&pid=ImgDetMain" alt="Photo 2">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3">
<img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- <img src="https://www.gridpak.com/wp-content/uploads/2021/01/logo-1933884_1280.png" alt="Photo 3"> -->
<!-- </div> -->
</div>

</div>
<script src="script.js"></script>
</body>
</html>
16 changes: 16 additions & 0 deletions UI/main.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
// main.js
const { app, BrowserWindow } = require('electron');

function createWindow() {
const mainWindow = new BrowserWindow({
width: 800,
height: 600,
webPreferences: {
nodeIntegration: true
}
});

mainWindow.loadFile('index.html');
}

app.whenReady().then(createWindow);
Empty file added UI/script.js
Empty file.
131 changes: 131 additions & 0 deletions UI/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0;
background-color: white; /* Dark background color */
}

.container {
display: flex;
}

.left-side {
width: 18vw; /* Adjust width as needed */
background-color: #444; /* Light black */
color: #fff; /* Text color */
padding: 20px;
height: 100vh;
/* text-align: right; */
}

.right-side {
flex: 1;
padding: 20px;
/* Text color for right side */
}

.logo{
display: inline;
}

.logo img {
width: 100px; /* Adjust size as needed */
height: auto;
}

.project-name h1 {
margin: 10px 0;
border-bottom: 2px solid #fff; /* Underline effect */
padding-bottom: 10px;
}

.tabs{
text-align: center;
}

.tabs ul {
list-style-type: none;
padding: 0;
}

.tabs ul li {
margin-bottom: 10px;
}

.tabs ul li a {
color: #fff;
text-decoration: none;
}

.tabs ul li a.active {
font-weight: bold;
}

.top-section {
margin-bottom: 20px;
}

.classification {
display: flex;
justify-content: space-between;
}

.classification .classification-item {
width: calc(25% - 10px); /* Adjust width and margin as needed */
margin-right: 10px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white background */
}

.main-section {
overflow-x: auto; /* Enable horizontal scroll */
}

/* Styling for photos and content in the classification section can be added here */

.classification {
display: flex;
justify-content: space-between;
}

.classification-item {
position: relative; /* Positioning context for absolute positioning */
width: calc(25% - 10px); /* Adjust width and margin as needed */
margin-right: 10px;
padding: 10px;
background-color: rgba(255, 255, 255, 0.3); /* Semi-transparent white background */
text-align: center; /* Center content horizontally */
}

.classification-item img {
width: 100%; /* Make images fill their container */
height: auto; /* Maintain aspect ratio */
filter: blur(1.3px); /* Apply blur effect to the image */
}

.classification-item p {
position: absolute; /* Position classification text absolutely */
top: 50%; /* Align text vertically at the center */
left: 0; /* Align text to the left */
right: 0; /* Align text to the right */
transform: translateY(-50%); /* Adjust for vertical alignment */
color: #fff; /* Text color */
font-size: 16px; /* Adjust font size as needed */
}


.main-section {
overflow-x: auto; /* Enable horizontal scroll */
}

.horizontal-scroll {
display: flex;
flex-wrap: nowrap; /* Prevent items from wrapping to the next line */
padding-bottom: 20px; /* Add some space at the bottom for better visibility */
}

.horizontal-scroll img {
width: 15vw; /* Adjust width as needed */
height: auto; /* Maintain aspect ratio */
margin: 10px; /* Add space between photos */
}