Kaydet (Commit) 6e83e26e authored tarafından Emincan Özcan's avatar Emincan Özcan

wip

üst 8568f493
......@@ -114,7 +114,7 @@ class PardusAppSeeder extends Seeder
'image_url' => "https://seeklogo.com/images/Z/zoom-fondo-azul-vertical-logo-8246E36E95-seeklogo.com.png",
'scripts' => [
'sudo wget -O ~/zoom_install.deb https://zoom.us/client/latest/zoom_amd64.deb',
'sudo apt --fix-broken install ~/zoom_amd64.deb -y',
'sudo apt --fix-broken install ~/zoom_install.deb -y',
'sudo rm -f zoom_install.deb',
]
]);
......
......@@ -24,13 +24,16 @@
"@vue/cli-service": "~4.5.0",
"@vue/compiler-sfc": "^3.0.0",
"@vue/eslint-config-prettier": "^6.0.0",
"autoprefixer": "^9",
"babel-eslint": "^10.1.0",
"electron": "^11.0.0",
"electron-devtools-installer": "^3.1.0",
"eslint": "^6.7.2",
"eslint-plugin-prettier": "^3.3.1",
"eslint-plugin-vue": "^7.0.0",
"postcss": "^7",
"prettier": "^2.2.1",
"tailwindcss": "npm:@tailwindcss/postcss7-compat",
"vue-cli-plugin-electron-builder": "~2.0.0-rc.6"
}
}
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
}
<template>
<div id="nav">
<router-link to="/">Home</router-link> |
<router-link to="/about">About</router-link>
<div class="bg-gray-900 text-gray-100 min-h-screen flex">
<Sidebar class="h-screen w-64 bg-gray-400 bg-opacity-25" />
<router-view class="flex-1 bg-gray-900" />
</div>
<router-view />
</template>
<style>
#app {
font-family: Avenir, Helvetica, Arial, sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
text-align: center;
color: #2c3e50;
}
#nav {
padding: 30px;
}
#nav a {
font-weight: bold;
color: #2c3e50;
}
#nav a.router-link-exact-active {
color: #42b983;
}
</style>
<script>
import Sidebar from "./components/Sidebar";
export default {
components: { Sidebar },
};
</script>
<template>
<div class="hello">
<h1>{{ msg }}</h1>
<p>
For a guide and recipes on how to configure / customize this project,<br />
check out the
<a href="https://cli.vuejs.org" target="_blank" rel="noopener"
>vue-cli documentation</a
>.
</p>
<h3>Installed CLI Plugins</h3>
<ul>
<li>
<a
href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-babel"
target="_blank"
rel="noopener"
>babel</a
>
</li>
<li>
<a
href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-router"
target="_blank"
rel="noopener"
>router</a
>
</li>
<li>
<a
href="https://github.com/vuejs/vue-cli/tree/dev/packages/%40vue/cli-plugin-eslint"
target="_blank"
rel="noopener"
>eslint</a
>
</li>
</ul>
<h3>Essential Links</h3>
<ul>
<li>
<a href="https://vuejs.org" target="_blank" rel="noopener">Core Docs</a>
</li>
<li>
<a href="https://forum.vuejs.org" target="_blank" rel="noopener"
>Forum</a
>
</li>
<li>
<a href="https://chat.vuejs.org" target="_blank" rel="noopener"
>Community Chat</a
>
</li>
<li>
<a href="https://twitter.com/vuejs" target="_blank" rel="noopener"
>Twitter</a
>
</li>
<li>
<a href="https://news.vuejs.org" target="_blank" rel="noopener">News</a>
</li>
</ul>
<h3>Ecosystem</h3>
<ul>
<li>
<a href="https://router.vuejs.org" target="_blank" rel="noopener"
>vue-router</a
>
</li>
<li>
<a href="https://vuex.vuejs.org" target="_blank" rel="noopener">vuex</a>
</li>
<li>
<a
href="https://github.com/vuejs/vue-devtools#vue-devtools"
target="_blank"
rel="noopener"
>vue-devtools</a
>
</li>
<li>
<a href="https://vue-loader.vuejs.org" target="_blank" rel="noopener"
>vue-loader</a
>
</li>
<li>
<a
href="https://github.com/vuejs/awesome-vue"
target="_blank"
rel="noopener"
>awesome-vue</a
>
</li>
</ul>
</div>
</template>
<script>
export default {
name: "HelloWorld",
props: {
msg: String,
},
};
</script>
<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
h3 {
margin: 40px 0 0;
}
ul {
list-style-type: none;
padding: 0;
}
li {
display: inline-block;
margin: 0 10px;
}
a {
color: #42b983;
}
</style>
<template>
<div>
<h1 class="text-2xl text-pardus-yellow font-semibold text-center py-6">
Pardus Kataliz
</h1>
<div class="flex flex-col space-y-2 mt-2 px-4">
<router-link
class="px-4 block py-3 text-gray-200 font-medium w-full rounded-lg"
active-class="bg-gray-800 text-pardus-yellow shadow-lg"
to="/"
>
<span class="font-medium">Alternatif Uygulamalar</span>
</router-link>
<router-link
to="/app-packages"
class="px-4 block py-3 text-gray-200 font-medium w-full rounded-lg"
active-class="bg-gray-800 text-pardus-yellow shadow-lg"
>
<span class="font-medium">Uygulama Paketleri</span>
</router-link>
</div>
</div>
</template>
<script>
export default {
name: "Sidebar",
};
</script>
<style scoped></style>
import { createApp } from "vue";
import App from "./App.vue";
import router from "./router";
import "./style.css";
createApp(App).use(router).mount("#app");
import { createRouter, createWebHistory } from "vue-router";
import Home from "../views/Home.vue";
import AlternativeApps from "../views/AlternativeApps";
import AppPackages from "../views/AppPackages";
const routes = [
{
path: "/",
name: "Home",
component: Home,
name: "AlternativeApps",
component: AlternativeApps,
},
{
path: "/about",
name: "About",
// route level code-splitting
// this generates a separate chunk (about.[hash].js) for this route
// which is lazy-loaded when the route is visited.
component: () =>
import(/* webpackChunkName: "about" */ "../views/About.vue"),
path: "/app-packages",
name: "AppPackages",
component: AppPackages,
},
];
......
html, body {
font-size: 14px;
}
@tailwind base;
@tailwind components;
@tailwind utilities;
\ No newline at end of file
<template>
<div class="about">
<h1>This is an about page</h1>
</div>
</template>
<template>
<div>
<header class="w-full flex px-8 py-4 bg-gray-100 bg-opacity-5 items-center">
<div class="w-128">
<input
class="w-full h-12 pl-4 pr-16 font-medium text-sm text-gray-200 bg-gray-800 rounded-lg overflow-hidden transition-all outline-none border-2 border-gray-800 hover:border-pardus-yellow focus:border-pardus-yellow"
type="text"
placeholder="Alıştığınız Uygulamayı Yazınız"
@input="search"
/>
</div>
<h2 class="font-medium text-xl ml-24 whitespace-nowrap">
Aradığınız Uygulamaların Pardus Alternatifleri!
</h2>
</header>
</div>
</template>
<script>
export default {
name: "AlternativeApps",
};
</script>
<style scoped></style>
<template>
<div>packages</div>
</template>
<script>
export default {
name: "AlternativeApps",
};
</script>
<style scoped></style>
<template>
<div class="home">
<img alt="Vue logo" src="../assets/logo.png" />
<HelloWorld msg="Welcome to Your Vue.js App" />
</div>
</template>
<script>
// @ is an alias to /src
import HelloWorld from "@/components/HelloWorld.vue";
export default {
name: "Home",
components: {
HelloWorld,
},
};
</script>
module.exports = {
purge: ["./index.html", "./src/**/*.{vue,js,ts,jsx,tsx}"],
darkMode: false, // or 'media' or 'class'
theme: {
extend: {
spacing: {
128: "36rem",
},
colors: {
"pardus-yellow": "#FFCC00",
},
},
},
variants: {
extend: {},
},
plugins: [],
};
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment