add cursor logo

This commit is contained in:
f 2025-03-12 14:23:48 +03:00
parent 24e7dc5603
commit b0e75bacb4

View File

@ -1825,6 +1825,43 @@
.dark-mode .grok-mode-option:hover {
background: rgba(16, 185, 129, 0.2);
}
.cursor-logo {
display: flex;
align-items: center;
gap: 6px;
color: var(--accent-color);
opacity: 0.8;
text-decoration: none;
transition: all 0.2s ease;
font-size: 0.85rem;
margin-right: 8px;
}
.cursor-logo:hover {
opacity: 1;
transform: translateY(-1px);
}
.cursor-logo svg {
width: 16px;
height: 16px;
}
/* Style for the Cursor AI logo paths in dark mode */
.cursor-logo path[fill="#fff"] {
transition: fill 0.2s ease;
}
.dark-mode .cursor-logo path[fill="#fff"] {
fill: #2d2d2d;
}
@media (max-width: 768px) {
.cursor-logo span {
display: none;
}
}
</style>
{% include head-custom.html %}
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6945602608405209" crossorigin="anonymous"></script>
@ -1875,6 +1912,16 @@
</div>
</div>
<div class="header-right">
<a href="https://cursor.com" target="_blank" class="cursor-logo" title="Built with Cursor AI">
<svg height="1em" style="flex:none;line-height:1" viewBox="0 0 24 24" width="1em" xmlns="http://www.w3.org/2000/svg">
<path d="M11.925 24l10.425-6-10.425-6L1.5 18l10.425 6z" fill="#10b981" class="cursor-logo-path dark-mode-path"></path>
<path d="M22.35 18V6L11.925 0v12l10.425 6z" fill="#10b981" class="cursor-logo-path dark-mode-path"></path>
<path d="M11.925 0L1.5 6v12l10.425-6V0z" fill="#10b981" class="cursor-logo-path dark-mode-path"></path>
<path d="M22.35 6L11.925 24V12L22.35 6z" fill="#fff" class="cursor-logo-path dark-mode-path"></path>
<path d="M22.35 6l-10.425 6L1.5 6h20.85z" fill="#fff" class="cursor-logo-path dark-mode-path"></path>
</svg>
<span>Built with Cursor AI</span>
</a>
<a href="https://github.com/f/awesome-chatgpt-prompts/stargazers" target="_blank" class="star-count">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<polygon points="12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2"></polygon>