+/**
+ * First we will load all of this project's JavaScript dependencies which
+ * includes React and other helpers. It's a great starting point while
+ * building robust, powerful web applications using React + Laravel.
+ */
+
+import './bootstrap';
+
+import React from 'react';
+import ReactDOM from 'react-dom';
+
+import toastr from 'toastr';
+toastr.options.positionClass = 'toast-bottom-right';
+
+/**
+ * Next, we will create a fresh React component instance and attach it to
+ * the page. Then, you may begin adding components to this application
+ * or customize the JavaScript scaffolding to fit your unique needs.
+ */
+
+import AosApp from './components/aos/App';
+import App from './components/App';
+
+if (document.getElementById('aos-root')) {
+ ReactDOM.render(<AosApp />, document.getElementById('aos-root'));
+}
+
+if (document.getElementById('react-root')) {
+ ReactDOM.render(<App />, document.getElementById('react-root'));
+}