+
AccordionXBlock: count is now
+ {self.count} (click me to increment).
+
+
diff --git a/accordion/static/js/src/accordion.js b/accordion/static/js/src/accordion.js
new file mode 100644
index 0000000..35b777a
--- /dev/null
+++ b/accordion/static/js/src/accordion.js
@@ -0,0 +1,33 @@
+/* Javascript for AccordionXBlock. */
+function AccordionXBlock(runtime, element) {
+
+ function updateCount(result) {
+ $('.count', element).text(result.count);
+ }
+
+ var handlerUrl = runtime.handlerUrl(element, 'increment_count');
+
+ $('p', element).click(function(eventObject) {
+ $.ajax({
+ type: "POST",
+ url: handlerUrl,
+ data: JSON.stringify({"hello": "world"}),
+ success: updateCount
+ });
+ });
+
+ $(function ($) {
+ /*
+ Use `gettext` provided by django-statici18n for static translations
+
+ var gettext = AccordionXBlocki18n.gettext;
+ */
+
+ /* Here's where you'd do things on page load. */
+
+ // dummy_text is to have at least one string to translate in JS files. If you remove this line,
+ // and you don't have any other string to translate in JS files; then you must remove the (--merge-po-files)
+ // option from the "extract_translations" command in the Makefile
+ const dummy_text = gettext("Hello World");
+ });
+}
diff --git a/accordion/translation b/accordion/translation
new file mode 120000
index 0000000..1e34ed3
--- /dev/null
+++ b/accordion/translation
@@ -0,0 +1 @@
+/home/kshitij/projects/opencraft/xblock-accordion/xblock-accordion/accordion/conf/locale
\ No newline at end of file
diff --git a/catalog-info.yaml b/catalog-info.yaml
new file mode 100644
index 0000000..126d421
--- /dev/null
+++ b/catalog-info.yaml
@@ -0,0 +1,38 @@
+# This file records information about this repo. Its use is described in OEP-55:
+# https://open-edx-proposals.readthedocs.io/en/latest/processes/oep-0055-proc-project-maintainers.html
+
+apiVersion: backstage.io/v1alpha1
+kind: ""
+metadata:
+ name: 'xblock-accordion'
+ description: "Accordion XBlock"
+ annotations:
+ # The openedx.org/release key is described in OEP-10:
+ # https://open-edx-proposals.readthedocs.io/en/latest/oep-0010-proc-openedx-releases.html
+ # The FAQ might also be helpful: https://openedx.atlassian.net/wiki/spaces/COMM/pages/1331268879/Open+edX+Release+FAQ
+ # Note: This will only work if the repo is in the `openedx` org in github. Repos in other orgs that have this
+ # setting will still be treated as if they don't want to be part of the Open edX releases.
+ openedx.org/release: null
+ # (Optional) Annotation keys and values can be whatever you want.
+ # We use it in Open edX repos to have a comma-separated list of GitHub user
+ # names that might be interested in changes to the architecture of this
+ # component.
+ openedx.org/arch-interest-groups: ""
+spec:
+
+ # (Required) This can be a group(`group: