mirror of
https://github.com/sailor-sh/CK-X.git
synced 2026-08-23 21:36:42 +00:00
Refactor links
This commit is contained in:
@@ -38,7 +38,7 @@ For detailed installation instructions, please refer to our [Deployment Guide](s
|
||||
|
||||
## Community & Support
|
||||
|
||||
- Join our [Telegram Community](https://t.me/ckxdev) for discussions and support
|
||||
- Join our [Discord Community](https://discord.gg/24HtTEjA) for discussions and support
|
||||
- Feature requests and pull requests are welcome
|
||||
|
||||
## Adding New Labs
|
||||
|
||||
@@ -237,7 +237,7 @@
|
||||
|
||||
<!-- Footer -->
|
||||
<footer class="text-center py-4 mt-4">
|
||||
<p>Made with <span style="color: #ff3366;">❤️</span> | <a href="https://ckx.nishann.com" target="_blank">ckx.nishann.com</a></p>
|
||||
<p>Made with <span style="color: #ff3366;">❤️</span> | <a href="https://play.sailor.sh" target="_blank">sailor.sh</a></p>
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
@@ -17,7 +17,6 @@ const feedbackState = {
|
||||
document.addEventListener('DOMContentLoaded', function() {
|
||||
// DOM elements
|
||||
const feedbackModal = document.getElementById('feedbackModal');
|
||||
const skipFeedbackBtn = document.getElementById('skipFeedbackBtn');
|
||||
const submitFeedbackBtn = document.getElementById('submitFeedbackBtn');
|
||||
const testimonialConsent = document.getElementById('testimonialConsent');
|
||||
const testimonialFields = document.getElementById('testimonialFields');
|
||||
@@ -66,16 +65,6 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
feedbackState.socialHandle = this.value.trim();
|
||||
});
|
||||
|
||||
// Skip feedback handler
|
||||
skipFeedbackBtn.addEventListener('click', function() {
|
||||
// Set a timestamp for when to ask again (30 minutes from now)
|
||||
const thirtyMinutesFromNow = new Date().getTime() + (30 * 60 * 1000);
|
||||
localStorage.setItem('ckx_feedback_skip_until', thirtyMinutesFromNow);
|
||||
|
||||
// Hide the modal
|
||||
feedbackModal.style.display = 'none';
|
||||
});
|
||||
|
||||
// Submit feedback handler
|
||||
submitFeedbackBtn.addEventListener('click', function() {
|
||||
// Validate that we have at least a rating
|
||||
|
||||
@@ -159,7 +159,6 @@
|
||||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button id="skipFeedbackBtn" class="btn btn-secondary">Skip for now</button>
|
||||
<button id="submitFeedbackBtn" class="btn btn-primary">
|
||||
<i class="fas fa-paper-plane me-2"></i> Submit Feedback
|
||||
</button>
|
||||
|
||||
@@ -11,7 +11,7 @@ Thank you for your interest in contributing! Here's how you can help:
|
||||
|
||||
## Community
|
||||
|
||||
- Join our [Telegram Community](https://t.me/ckxdev)
|
||||
- Join our [Discord Community](https://discord.gg/24HtTEjA)
|
||||
- Star the repository if you find it helpful
|
||||
|
||||
## Important Rules
|
||||
@@ -35,7 +35,7 @@ Thank you for your interest in contributing! Here's how you can help:
|
||||
|
||||
## Questions?
|
||||
|
||||
Check our [FAQ](docs/FAQ.md) or join our [Telegram Community](https://t.me/ckxdev).
|
||||
Check our [FAQ](docs/FAQ.md) or join our [Discord Community](https://discord.gg/24HtTEjA).
|
||||
|
||||
## License
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ if ! command -v k3d &> /dev/null; then
|
||||
|
||||
# Retry k3d installation up to 5 times
|
||||
INSTALL_ATTEMPTS=0
|
||||
while [ $INSTALL_ATTEMPTS -lt 5 ]; do
|
||||
while [ $INSTALL_ATTEMPTS -lt 99999 ]; do
|
||||
INSTALL_ATTEMPTS=$((INSTALL_ATTEMPTS+1))
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') | Installation attempt $INSTALL_ATTEMPTS"
|
||||
|
||||
@@ -27,8 +27,8 @@ if ! command -v k3d &> /dev/null; then
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') | k3d successfully installed"
|
||||
break
|
||||
else
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') | k3d installation failed. Retrying in 5 seconds..."
|
||||
sleep 5
|
||||
echo "$(date '+%Y-%m-%d %H:%M:%S') | k3d installation failed. Retrying in 10 seconds..."
|
||||
sleep 10
|
||||
fi
|
||||
done
|
||||
|
||||
|
||||
+4
-2
@@ -206,7 +206,7 @@ try {
|
||||
|
||||
# Function to open browser
|
||||
function Open-Browser {
|
||||
$url = "http://localhost:30080"
|
||||
$url = "https://play.sailor.sh/"
|
||||
Write-ColorOutput "Opening Browser" "Blue"
|
||||
Write-ColorOutput "==============================================================" "Cyan"
|
||||
|
||||
@@ -221,7 +221,7 @@ try {
|
||||
return $true
|
||||
} catch {
|
||||
Write-ColorOutput "Could not automatically open browser. Please visit:" "Yellow"
|
||||
Write-ColorOutput "http://localhost:30080" "Green"
|
||||
Write-ColorOutput "https://play.sailor.sh/" "Green"
|
||||
return $false
|
||||
}
|
||||
}
|
||||
@@ -340,6 +340,8 @@ try {
|
||||
Write-ColorOutput "docker system prune -a" "Green"
|
||||
Write-ColorOutput "To remove only CK-X images: " -NoNewline
|
||||
Write-ColorOutput "docker compose down --rmi all" "Green"
|
||||
Write-ColorOutput "To access CK-X Simulator: " -NoNewline
|
||||
Write-ColorOutput "https://play.sailor.sh/" "Green"
|
||||
Write-Host ""
|
||||
Write-ColorOutput "Thank you for installing CK-X Simulator!" "Cyan"
|
||||
}
|
||||
|
||||
+3
-2
@@ -142,7 +142,7 @@ wait_for_service() {
|
||||
|
||||
# Function to open browser
|
||||
open_browser() {
|
||||
local url="http://localhost:30080"
|
||||
local url="https://play.sailor.sh/"
|
||||
echo -e "${BLUE}Opening Browser${NC}"
|
||||
echo -e "${CYAN}==============================================================${NC}"
|
||||
|
||||
@@ -162,7 +162,7 @@ open_browser() {
|
||||
fi
|
||||
|
||||
echo -e "${YELLOW}Could not automatically open browser. Please visit:${NC}"
|
||||
echo -e "${GREEN}http://localhost:30080${NC}"
|
||||
echo -e "${GREEN}https://play.sailor.sh/${NC}"
|
||||
return 1
|
||||
}
|
||||
|
||||
@@ -225,6 +225,7 @@ main() {
|
||||
echo -e "${YELLOW}To Restart CK-X:${NC} ${GREEN}docker compose restart${NC}"
|
||||
echo -e "${YELLOW}To clean up all containers and images:${NC} ${GREEN}docker system prune -a${NC}"
|
||||
echo -e "${YELLOW}To remove only CK-X images:${NC} ${GREEN}docker compose down --rmi all${NC}"
|
||||
echo -e "${YELLOW}To access CK-X Simulator:${NC} ${GREEN}https://play.sailor.sh/${NC}"
|
||||
echo
|
||||
echo -e "${CYAN}Thank you for installing CK-X Simulator!${NC}"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user