Skip to content

Commit

Permalink
Merge pull request #73
Browse files Browse the repository at this point in the history
FIXED: Component: SGNAtom: Not able to load some pages (especially, default page)
  • Loading branch information
SagnikGanguly96 authored Jan 17, 2023
2 parents 49b5461 + 3f5d598 commit cde20bf
Show file tree
Hide file tree
Showing 12 changed files with 427 additions and 158 deletions.
3 changes: 1 addition & 2 deletions build/config.js

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions demos/atom.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
<!--
~ Copyright (c) 2022-2023 SGNetworks. All rights reserved.
~
~ The software is an exclusive copyright of "SGNetworks" and is provided as is exclusively with only "USAGE" access. "Modification", "Alteration", "Re-distribution" is completely prohibited.
~ VIOLATING THE ABOVE TERMS IS A PUNISHABLE OFFENSE WHICH MAY LEAD TO LEGAL CONSEQUENCES.
-->

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SGNAtom :: SGNUIKit Demos</title>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.1/jquery.min.js"></script>
<!--<script src="/dist/js/SGNUIKit.loader.js"></script>-->
<script src="/src/js/SGNUIKit.loader.js"></script>
</head>
<body>
<div id="sgn-atom-root" sgnatom-home="atom.index.html"></div>
<script>
SGNUIKit.setOnReadyListener((isReady) => ((el) => SGNAtom.create(el).with('a', {resetHead: true, showErrors: true, interceptErrors: true}))('#sgn-atom-root'));
</script>
</body>
</html>
55 changes: 55 additions & 0 deletions demos/atom.index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,55 @@
<!--
~ Copyright (c) 2022-2023 SGNetworks. All rights reserved.
~
~ The software is an exclusive copyright of "SGNetworks" and is provided as is exclusively with only "USAGE" access. "Modification", "Alteration", "Re-distribution" is completely prohibited.
~ VIOLATING THE ABOVE TERMS IS A PUNISHABLE OFFENSE WHICH MAY LEAD TO LEGAL CONSEQUENCES.
-->

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>SGNAtom :: SGNUIKit Demos</title>
</head>
<body>
<main>
<div class="sgn-container">
<div class="card">
<div class="card-header">Demos</div>
<div class="card-body p-0">
<div class="list-group">
<div class="list-group-title">Forms</div>
<div class="list-view">
<a class="list-link" href="switch.html">Switches</a>
<a class="list-link" href="buttons.html">Buttons</a>
</div>
</div>
<div class="list-group">
<div class="list-group-title">Components</div>
<div class="list-view">
<a class="list-link" href="cards.html">Cards</a>
<a class="list-link" href="modals.html">Modals</a>
<a class="list-link" href="tabs.html">Tabs</a>
<a class="list-link" href="windows.html">Windows</a>
</div>
</div>
<div class="list-group">
<div class="list-group-title">Utilities</div>
<div class="list-view">
<a class="list-link" href="text-colors.html">Text Colours</a>
<a class="list-link" href="gradients.html">Gradients</a>
<a class="list-link" href="shapes.html">Shapes</a>
<a class="list-link" href="shadows.html">Shadows</a>
</div>
</div>
</div>
<div class="card-footer jc-center">Copyright &copy; SGNetworks 2022. All rights reserved.</div>
</div>
</div>
</main>
<script>
console.log('well');
$(() => $('main').on('hover', () => console.log('well2')));
</script>
</body>
</html>
10 changes: 8 additions & 2 deletions demos/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,16 @@
<a class="list-link" href="shadows.html">Shadows</a>
</div>
</div>
<div class="list-group">
<div class="list-group-title">Addons</div>
<div class="list-view">
<a class="list-link" href="atom.html">SGNAtom</a>
</div>
</div>
</div>
<div class="card-footer jc-center">Copyright &copy; SGNetworks 2022. All rights reserved.</div>
<div class="card-footer jc-center">Copyright &copy; SGNetworks 2023. All rights reserved.</div>
</div>
</div>
</main>
</body>
</html>
</html>
Loading

0 comments on commit cde20bf

Please sign in to comment.