Skip to content

Commit

Permalink
style(website): use a short link for reporting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
orhun committed Feb 29, 2024
1 parent 6d3354c commit ba83c8a
Show file tree
Hide file tree
Showing 2 changed files with 57 additions and 1 deletion.
2 changes: 1 addition & 1 deletion git-cliff-core/src/changelog.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ impl<'a> Changelog<'a> {
.map(|v| v.contains_github_variable())
.unwrap_or(false)
{
warn!("You are using an experimental feature! Please report bugs at <https://github.com/orhun/git-cliff/issues/new/choose>");
warn!("You are using an experimental feature! Please report bugs at <https://git-cliff.org/issues>");
let github_client =
GitHubClient::try_from(self.config.remote.github.clone())?;
info!("{START_FETCHING_MSG} ({})", self.config.remote.github);
Expand Down
56 changes: 56 additions & 0 deletions website/static/issues/index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
http-equiv="refresh"
content="0; url=https://github.com/orhun/git-cliff/issues/new/choose"
/>
<title>Redirecting...</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f4f4f4;
text-align: center;
padding-top: 50px;
}
.container {
max-width: 600px;
margin: 0 auto;
background-color: #fff;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
}
h1 {
color: #333;
}
p {
color: #666;
margin-bottom: 20px;
}
a {
display: inline-block;
background-color: #4caf50;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
transition: background-color 0.3s;
}
a:hover {
background-color: #45a049;
}
</style>
</head>
<body>
<div class="container">
<h1>Redirecting...</h1>
<p>If you are not redirected automatically, click the button below:</p>
<a href="https://github.com/orhun/git-cliff/issues/new/choose"
>Click here to redirect ⛰</a
>
</div>
</body>
</html>

0 comments on commit ba83c8a

Please sign in to comment.