1
1
mirror of https://github.com/orhun/git-cliff.git synced 2024-09-11 06:55:38 +03:00

style(website): use a short link for reporting issues

This commit is contained in:
Orhun Parmaksız 2024-02-29 18:52:45 +03:00
parent 6d3354ca1b
commit ba83c8ae71
No known key found for this signature in database
GPG Key ID: F83424824B3E4B90
2 changed files with 57 additions and 1 deletions

View File

@ -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);

View File

@ -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>