Skip to content

Commit 5efc70a

Browse files
committed
feat: update window title and add GitHub links in BoardList component
1 parent b5ccf10 commit 5efc70a

3 files changed

Lines changed: 85 additions & 1 deletion

File tree

src-tauri/tauri.conf.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
"app": {
1313
"windows": [
1414
{
15-
"title": "ExcaStoneBoard - Excalidraw Board Manager",
15+
"title": "ExcaStoneBoard - The Unofficial Excalidraw Board Manager",
1616
"width": 1400,
1717
"height": 900,
1818
"minWidth": 800,

src/components/BoardList.css

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,60 @@
163163
padding: 8px;
164164
}
165165

166+
.board-links {
167+
display: flex;
168+
flex-direction: column;
169+
gap: 8px;
170+
padding: 12px 16px 16px;
171+
border-top: 1px solid #333;
172+
}
173+
174+
.board-links-title {
175+
font-size: 11px;
176+
letter-spacing: 0.08em;
177+
text-transform: uppercase;
178+
color: #6f7a86;
179+
}
180+
181+
.board-link {
182+
display: inline-flex;
183+
align-items: center;
184+
gap: 8px;
185+
color: #d7e3f2;
186+
font-size: 12px;
187+
text-decoration: none;
188+
background: #232a33;
189+
border: 1px solid #2d3844;
190+
border-radius: 8px;
191+
padding: 8px 10px;
192+
transition: color 0.15s ease, background 0.15s ease, border-color 0.15s ease;
193+
}
194+
195+
.board-link:hover {
196+
color: #ffffff;
197+
background: #2b3541;
198+
border-color: #3a4a5a;
199+
}
200+
201+
.board-link-icon {
202+
width: 18px;
203+
height: 18px;
204+
border-radius: 6px;
205+
background: #1a222c;
206+
display: inline-flex;
207+
align-items: center;
208+
justify-content: center;
209+
color: #9db7d9;
210+
}
211+
212+
.board-link:hover .board-link-icon {
213+
color: #ffffff;
214+
}
215+
216+
.board-link-text {
217+
font-weight: 600;
218+
}
219+
166220
.boards-scroll::-webkit-scrollbar {
167221
width: 6px;
168222
}

src/components/BoardList.tsx

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -276,6 +276,36 @@ export function BoardList({
276276
)}
277277
</div>
278278

279+
<div className="board-links">
280+
<div className="board-links-title">Star on GitHub</div>
281+
<a
282+
className="board-link"
283+
href="https://github.com/clFaster/ExcaStoneBoard"
284+
target="_blank"
285+
rel="noreferrer"
286+
>
287+
<span className="board-link-icon" aria-hidden="true">
288+
<svg viewBox="0 0 24 24" width="14" height="14" fill="currentColor">
289+
<path d="M12 2a10 10 0 0 0-3.16 19.49c.5.1.68-.22.68-.48v-1.7c-2.76.6-3.35-1.18-3.35-1.18-.45-1.14-1.1-1.44-1.1-1.44-.9-.61.07-.6.07-.6 1 .07 1.53 1.02 1.53 1.02.88 1.52 2.3 1.08 2.86.82.09-.65.34-1.08.62-1.33-2.2-.25-4.52-1.1-4.52-4.9 0-1.08.38-1.96 1.02-2.65-.1-.25-.44-1.27.1-2.65 0 0 .83-.27 2.73 1.01A9.45 9.45 0 0 1 12 6.8a9.5 9.5 0 0 1 2.49.33c1.9-1.28 2.72-1.01 2.72-1.01.55 1.38.21 2.4.1 2.65.63.69 1.02 1.57 1.02 2.65 0 3.8-2.32 4.65-4.53 4.9.35.3.66.9.66 1.82v2.7c0 .26.18.58.69.48A10 10 0 0 0 12 2z" />
290+
</svg>
291+
</span>
292+
<span className="board-link-text">ExcaStoneBoard</span>
293+
</a>
294+
<a
295+
className="board-link"
296+
href="https://github.com/excalidraw/excalidraw"
297+
target="_blank"
298+
rel="noreferrer"
299+
>
300+
<span className="board-link-icon" aria-hidden="true">
301+
<svg viewBox="0 0 24 24" width="14" height="14" fill="currentColor">
302+
<path d="M12 2a10 10 0 0 0-3.16 19.49c.5.1.68-.22.68-.48v-1.7c-2.76.6-3.35-1.18-3.35-1.18-.45-1.14-1.1-1.44-1.1-1.44-.9-.61.07-.6.07-.6 1 .07 1.53 1.02 1.53 1.02.88 1.52 2.3 1.08 2.86.82.09-.65.34-1.08.62-1.33-2.2-.25-4.52-1.1-4.52-4.9 0-1.08.38-1.96 1.02-2.65-.1-.25-.44-1.27.1-2.65 0 0 .83-.27 2.73 1.01A9.45 9.45 0 0 1 12 6.8a9.5 9.5 0 0 1 2.49.33c1.9-1.28 2.72-1.01 2.72-1.01.55 1.38.21 2.4.1 2.65.63.69 1.02 1.57 1.02 2.65 0 3.8-2.32 4.65-4.53 4.9.35.3.66.9.66 1.82v2.7c0 .26.18.58.69.48A10 10 0 0 0 12 2z" />
303+
</svg>
304+
</span>
305+
<span className="board-link-text">Excalidraw</span>
306+
</a>
307+
</div>
308+
279309
</div>
280310
);
281311
}

0 commit comments

Comments
 (0)