Skip to content

Commit 3181e0e

Browse files
Merge pull request #12 from PromptExecution/feature/add-missing-logo-fonts
Move font imports to PromptExecutionLogo component
2 parents bf65f2b + 79277c8 commit 3181e0e

File tree

4 files changed

+13
-17
lines changed

4 files changed

+13
-17
lines changed

index.html

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,19 +8,6 @@
88
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
99
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
1010
<link rel="manifest" href="/site.webmanifest"> -->
11-
12-
<!-- Patron Font from OnlineWebFonts -->
13-
<link href="https://db.onlinewebfonts.com/c/3bc7046035df293d6486e481022b043e?family=Patron" rel="stylesheet" type="text/css"/>
14-
15-
<!-- Exodar Outline Font -->
16-
<style>
17-
@font-face {
18-
font-family: 'ExodarOutline';
19-
src: url('/fonts/Exodar-Outline.ttf') format('truetype');
20-
font-weight: normal;
21-
font-style: normal;
22-
}
23-
</style>
2411

2512
<title>Prompt Execution: Cognitive Robotic Process Automation</title>
2613
</head>

src/components/PromptExecutionLogo.vue

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,16 @@
1818

1919
<style scoped>
2020
21+
/* Font imports for logo SVGs */
22+
@import url('https://db.onlinewebfonts.com/c/3bc7046035df293d6486e481022b043e?family=Patron');
23+
24+
@font-face {
25+
font-family: 'ExodarOutline';
26+
src: url('/fonts/Exodar-Outline.ttf') format('truetype');
27+
font-weight: normal;
28+
font-style: normal;
29+
}
30+
2131
.logo-wrapper {
2232
display: flex;
2333
justify-content: center;

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ app.config.unwrapInjectedRef = true
1919
*/
2020

2121
// Set up Pinia store before mounting
22-
const piniaSocketStore = useSocketStoreWithOut(app);
22+
useSocketStoreWithOut(app);
2323

2424
app.use(VueCookieNext);
2525

src/store/pinia/useSocketStore.ts

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ import { setupStore } from "@/store/pinia/store";
55
import { SocketStore } from "@/store/pinia/typeOfSocketStore";
66
import { emitter } from "@/eventBus";
77

8-
export const useSocketStore = defineStore({
9-
id: "socket",
8+
export const useSocketStore = defineStore("socket", {
109
state: (): SocketStore => ({
1110
// 连接状态
1211
isConnected: false,
@@ -46,7 +45,7 @@ export const useSocketStore = defineStore({
4645
// Check if there are pending outgoing messages
4746
if (this.outgoingMessages.length > 0) {
4847
// Loop through the outgoing messages and send them
49-
this.outgoingMessages.forEach((message,index) => {
48+
this.outgoingMessages.forEach((_message, index) => {
5049
// Send the message through the WebSocket
5150
// TODO: Get app reference properly for WebSocket
5251
// app.config.globalProperties.$socket.sendObj({

0 commit comments

Comments
 (0)