Organize components, switch auth to not use session

This commit is contained in:
Jai A
2021-03-30 21:38:12 -07:00
parent 464f336790
commit e61a1080f7
36 changed files with 111 additions and 869 deletions

View File

@@ -23,7 +23,7 @@
</template>
<script>
import MFooter from '@/components/MFooter'
import MFooter from '~/components/layout/MFooter'
export default {
components: {

View File

@@ -47,8 +47,8 @@
<script>
import axios from 'axios'
import ModCard from '@/components/ProjectCard'
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
import ModCard from '~/components/ui/ProjectCard'
import FollowIcon from '~/assets/images/utils/heart.svg?inline'
import FollowIllustration from '~/assets/images/illustrations/follow_illustration.svg?inline'

View File

@@ -47,7 +47,7 @@
</template>
<script>
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
export default {
components: {
DashboardPage,

View File

@@ -88,8 +88,8 @@
<script>
import axios from 'axios'
import ModCard from '@/components/ProjectCard'
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
import ModCard from '~/components/ui/ProjectCard'
import Security from '~/assets/images/illustrations/security.svg?inline'
export default {

View File

@@ -52,7 +52,8 @@
<script>
import axios from 'axios'
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
import UpToDate from '~/assets/images/illustrations/up_to_date.svg?inline'
export default {

View File

@@ -47,8 +47,9 @@
<script>
import axios from 'axios'
import ModCard from '@/components/ProjectCard'
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
import ModCard from '~/components/ui/ProjectCard'
import UpToDate from '~/assets/images/illustrations/up_to_date.svg?inline'
export default {

View File

@@ -112,7 +112,7 @@
</template>
<script>
import DashboardPage from '@/components/DashboardPage'
import DashboardPage from '@/components/wrapper/DashboardPage'
import axios from 'axios'
export default {

View File

@@ -179,7 +179,7 @@ fetch('https://api.modrinth.com/api/v1/mod').then(res => res.json()).then(data =
</template>
<script>
import MFooter from '@/components/MFooter'
import MFooter from '~/components/layout/MFooter'
export default {
components: {

View File

@@ -182,7 +182,7 @@
</template>
<script>
import MFooter from '@/components/MFooter'
import MFooter from '~/components/layout/MFooter'
export default {
components: {

View File

@@ -155,7 +155,7 @@
</template>
<script>
import MFooter from '@/components/MFooter'
import MFooter from '~/components/layout/MFooter'
export default {
components: {

View File

@@ -304,8 +304,8 @@
import axios from 'axios'
import Multiselect from 'vue-multiselect'
import MFooter from '@/components/MFooter'
import FileInput from '@/components/FileInput'
import MFooter from '~/components/layout/MFooter'
import FileInput from '~/components/ui/FileInput'
export default {
components: {

View File

@@ -17,7 +17,7 @@
<script>
import axios from 'axios'
import ModPage from '@/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
export default {
components: { ModPage },

View File

@@ -129,7 +129,7 @@
import axios from 'axios'
import Multiselect from 'vue-multiselect'
import ModPage from '~/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
export default {
components: {

View File

@@ -248,7 +248,7 @@
<script>
import axios from 'axios'
import ModPage from '@/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
import DropdownIcon from '~/assets/images/utils/dropdown.svg?inline'

View File

@@ -116,7 +116,7 @@
<script>
import axios from 'axios'
import ModPage from '@/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
import Multiselect from 'vue-multiselect'
export default {

View File

@@ -147,10 +147,10 @@
<script>
import axios from 'axios'
import ModPage from '@/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
import Categories from '@/components/Categories'
import FileInput from '@/components/FileInput'
import Categories from '~/components/ui/Categories'
import FileInput from '~/components/ui/FileInput'
import TrashIcon from '~/assets/images/utils/trash.svg?inline'
import EditIcon from '~/assets/images/utils/edit.svg?inline'
import DownloadIcon from '~/assets/images/utils/download.svg?inline'

View File

@@ -92,7 +92,7 @@
<script>
import axios from 'axios'
import ModPage from '@/components/ModPage'
import ModPage from '@/components/wrapper/ModPage'
import DownloadIcon from '~/assets/images/utils/download.svg?inline'
import ForgeIcon from '~/assets/images/categories/forge.svg?inline'

View File

@@ -502,8 +502,8 @@
import axios from 'axios'
import Multiselect from 'vue-multiselect'
import MFooter from '@/components/MFooter'
import FileInput from '@/components/FileInput'
import MFooter from '~/components/layout/MFooter'
import FileInput from '~/components/ui/FileInput'
import ForgeIcon from '~/assets/images/categories/forge.svg?inline'
import FabricIcon from '~/assets/images/categories/fabric.svg?inline'

View File

@@ -289,11 +289,11 @@
<script>
import Multiselect from 'vue-multiselect'
import axios from 'axios'
import SearchResult from '@/components/ProjectCard'
import Pagination from '@/components/Pagination'
import SearchFilter from '@/components/SearchFilter'
import SearchResult from '~/components/ui/ProjectCard'
import Pagination from '~/components/ui/search/Pagination'
import SearchFilter from '~/components/ui/search/SearchFilter'
import MFooter from '@/components/MFooter'
import MFooter from '~/components/layout/MFooter'
import TechCategory from '~/assets/images/categories/tech.svg?inline'
import AdventureCategory from '~/assets/images/categories/adventure.svg?inline'
import CursedCategory from '~/assets/images/categories/cursed.svg?inline'
@@ -313,7 +313,7 @@ import FabricLoader from '~/assets/images/categories/fabric.svg?inline'
import SearchIcon from '~/assets/images/utils/search.svg?inline'
import ExitIcon from '~/assets/images/utils/exit.svg?inline'
import Advertisement from '~/components/Advertisement'
import Advertisement from '~/components/ui/Advertisement'
export default {
auth: false,

View File

@@ -83,13 +83,13 @@
<script>
import axios from 'axios'
import SearchResult from '@/components/ProjectCard'
import MFooter from '@/components/MFooter'
import SearchResult from '~/components/ui/ProjectCard'
import MFooter from '~/components/layout/MFooter'
import ReportIcon from '~/assets/images/utils/report.svg?inline'
import CalendarIcon from '~/assets/images/utils/calendar.svg?inline'
import DownloadIcon from '~/assets/images/utils/download.svg?inline'
import Advertisement from '~/components/Advertisement'
import Advertisement from '~/components/ui/Advertisement'
export default {
auth: false,