mirror of
https://github.com/caddyserver/website.git
synced 2025-04-24 05:56:15 -04:00
New Website: Phase I (#357)
* Initial commit; starting new design Dropdown menu * Begin docs layout of new design * Get themes under control; button hover splash * Some basic responsiveness * Finish responsive layout; several bug fixes * Avoid flash during color scheme change * Begin building top of homepage * docs: Start building quick-assist feature * Work on homepage a little more * Keep working on homepage * More homepage progress * Some sponsor SVGs * Add sponsor features * Implement basic Sponsor Experience box * Reorganize some styles * WIP sponsors page * Start features page WIP * Minor improvements * Fix headings; work on features page * WIP features page * Continue work on marketing pages * Continue work on features page * More features WIP * Continue features page... * More work on features page * Keeping going :) * Continue home and features pages * More homepage/features content, screenshots, tweaks * Minor fixes to features page * Minor tweaks * Work on testimonials * Work on homepage more * More homepage work * Continue work on homepage * Add some sponsor logos * Some citation screenshots * Add citations * Start making homepage responsive * Re-add cache busting Fix docs * Use markdown syntax highlighting on frontpage * Rework AJQuery to $_ to not interfere with jQuery * Rewrite quick assist with AlpineJS, use markdown for contents * More work on marketing pages * Rebase and fix code displays * Syntax highlight on-demand example, fix rollover * Adjust on-demand demo * Work on responsiveness * Keep working on responsiveness * Mainly finish making design responsive * Thiccer favicon * More work on marketing pages * Keep on going * Fix link * Move new site into src folder * Add open graph image * Add recorded demo for homepage * Tweak caption * Fix Poppins font for now * Minor tweaks * Trim demo ending * Remove unfinished pages Also update Framer logo --------- Co-authored-by: Francis Lavoie <lavofr@gmail.com>
This commit is contained in:
parent
5bb6d92c63
commit
07c51663ab
191 changed files with 13008 additions and 4970 deletions
|
@ -1,27 +0,0 @@
|
|||
$(function() {
|
||||
$('form input').first().focus();
|
||||
|
||||
$('form').submit(function(event) {
|
||||
$('#submit').prop('disabled', true);
|
||||
|
||||
$.post($(this).prop("action"), $(this).serialize()).done(function() {
|
||||
swal({
|
||||
icon: "success",
|
||||
title: "It's yours",
|
||||
text: "Package claimed. Its documentation is now available on our website and you are responsible for maintaining it. Thank you!"
|
||||
}).then(function() {
|
||||
// TODO: ...
|
||||
// window.location = "/account/login";
|
||||
});
|
||||
}).fail(function(jqxhr, status, error) {
|
||||
swal({
|
||||
icon: "error",
|
||||
title: error,
|
||||
content: errorContent(jqxhr)
|
||||
});
|
||||
$('#submit').prop('disabled', false);
|
||||
});
|
||||
|
||||
return false;
|
||||
});
|
||||
});
|
Loading…
Add table
Add a link
Reference in a new issue