Skip to content

Commit 543803a

Browse files
committed
feat: enhance versions page with header, GitHub link, and styling improvements
1 parent 91d2500 commit 543803a

1 file changed

Lines changed: 42 additions & 2 deletions

File tree

.github/templates/versions.html

Lines changed: 42 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4+
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate">
5+
<meta http-equiv="Pragma" content="no-cache">
6+
<meta http-equiv="Expires" content="0">
47
<title>Documentation Versions - Copilot SDK for Java</title>
58
<style>
69
body {
@@ -95,12 +98,49 @@
9598
.footer a {
9699
color: #0366d6;
97100
}
101+
.header {
102+
text-align: center;
103+
margin-bottom: 30px;
104+
}
105+
.header img {
106+
max-width: 100%;
107+
height: auto;
108+
border-radius: 8px;
109+
margin-bottom: 20px;
110+
}
111+
.github-link {
112+
display: inline-flex;
113+
align-items: center;
114+
gap: 8px;
115+
background: #24292e;
116+
color: white;
117+
padding: 12px 24px;
118+
border-radius: 6px;
119+
text-decoration: none;
120+
font-weight: 600;
121+
margin-top: 15px;
122+
transition: background 0.2s;
123+
}
124+
.github-link:hover {
125+
background: #1a1e22;
126+
text-decoration: none;
127+
}
128+
.github-link svg {
129+
fill: white;
130+
}
98131
</style>
99132
</head>
100133
<body>
101134
<div class="container">
102-
<h1>📚 Copilot SDK for Java</h1>
103-
<p class="subtitle">Documentation Versions</p>
135+
<div class="header">
136+
<img src="image.png" alt="Copilot SDK for Java - GitHub Octocat and Duke Java mascot">
137+
<h1>📚 Copilot SDK for Java</h1>
138+
<p class="subtitle">Documentation Versions</p>
139+
<a href="https://github.com/copilot-community-sdk/copilot-sdk-java" class="github-link">
140+
<svg height="20" width="20" viewBox="0 0 16 16"><path d="M8 0C3.58 0 0 3.58 0 8c0 3.54 2.29 6.53 5.47 7.59.4.07.55-.17.55-.38 0-.19-.01-.82-.01-1.49-2.01.37-2.53-.49-2.69-.94-.09-.23-.48-.94-.82-1.13-.28-.15-.68-.52-.01-.53.63-.01 1.08.58 1.23.82.72 1.21 1.87.87 2.33.66.07-.52.28-.87.51-1.07-1.78-.2-3.64-.89-3.64-3.95 0-.87.31-1.59.82-2.15-.08-.2-.36-1.02.08-2.12 0 0 .67-.21 2.2.82.64-.18 1.32-.27 2-.27.68 0 1.36.09 2 .27 1.53-1.04 2.2-.82 2.2-.82.44 1.1.16 1.92.08 2.12.51.56.82 1.27.82 2.15 0 3.07-1.87 3.75-3.65 3.95.29.25.54.73.54 1.48 0 1.07-.01 1.93-.01 2.2 0 .21.15.46.55.38A8.013 8.013 0 0016 8c0-4.42-3.58-8-8-8z"></path></svg>
141+
View on GitHub
142+
</a>
143+
</div>
104144

105145
<div class="warning">
106146
⚠️ <strong>Disclaimer:</strong> This is an <strong>unofficial, community-driven SDK</strong> and is <strong>not supported or endorsed by GitHub</strong>. Use at your own risk.

0 commit comments

Comments
 (0)