Skip to content

Commit

Permalink
ObscuroScan: favicon, title, align icons (#1625)
Browse files Browse the repository at this point in the history
  • Loading branch information
BedrockSquirrel authored Oct 26, 2023
1 parent 9a37065 commit a96105d
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 7 deletions.
2 changes: 2 additions & 0 deletions tools/obscuroscan_v2/backend/webserver/webserver.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ func (w *WebServer) Start() error {
// Initializing the server in a goroutine so that
// it won't block the graceful shutdown handling
go func() {
w.logger.Info("Starting server on " + w.bindAddress)
println("Starting server on " + w.bindAddress)
if err := w.server.ListenAndServe(); err != nil && err != http.ErrServerClosed {
// todo don't panic
panic(err)
Expand Down
4 changes: 2 additions & 2 deletions tools/obscuroscan_v2/frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="icon" href="/favicon.ico">
<link rel="icon" href="/favicon-32x32.png">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title>
<title>ObscuroScan</title>
</head>
<body>
<div id="app"></div>
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed tools/obscuroscan_v2/frontend/public/favicon.ico
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
18 changes: 18 additions & 0 deletions tools/obscuroscan_v2/frontend/src/assets/imgs/obscuro.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 not shown.
Binary file not shown.
1 change: 0 additions & 1 deletion tools/obscuroscan_v2/frontend/src/assets/logo.svg

This file was deleted.

13 changes: 10 additions & 3 deletions tools/obscuroscan_v2/frontend/src/components/BotBarItem.vue
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<template>
<el-row>
<el-col :span="4">
<img src="@/assets/imgs/github_logo.png" alt="obscu.ro" class="header-image" />
<el-col :span="4" class="socials">
<img src="@/assets/imgs/github_logo.png" alt="Github Logo" class="header-image" />

<img src="@/assets/imgs/twitter_logo.png" alt="obscu.ro" class="header-image" />
<img src="@/assets/imgs/twitter_logo.png" alt="Twitter Logo" class="header-image" />
</el-col>
<el-col :span="20" class="version-column">
<div class="version-display">version: {{ version }}</div>
Expand All @@ -28,4 +28,11 @@ export default {
.version-column {
text-align: right;
}
.socials {
display: flex;
flex-direction: row;
justify-content: flex-start;
align-items: center;
}
</style>
2 changes: 1 addition & 1 deletion tools/obscuroscan_v2/frontend/src/views/NavbarView.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<el-main>
<el-row justify="space-around">
<el-col :span="2" >
<img src="@/assets/imgs/obscuro_logo_black.png" alt="obscu.ro" class="header-image" style="max-height: 5vh;"/>
<img src="@/assets/imgs/obscuro.svg" alt="obscu.ro" class="header-image" style="max-height: 5vh;"/>
</el-col>
<el-col :span="10" :offset="7">
<nav class="nav-bar">
Expand Down

0 comments on commit a96105d

Please sign in to comment.