Ver código fonte

Transfering old progress

All archived code is not moved into this system.
Ecconia 7 anos atrás
pai
commit
fd5e9ea73f

+ 2 - 2
public/index.html

@@ -5,11 +5,11 @@
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta http-equiv="X-UA-Compatible" content="IE=edge">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <meta name="viewport" content="width=device-width,initial-scale=1.0">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
     <link rel="icon" href="<%= BASE_URL %>favicon.ico">
-    <title>vue-project</title>
+    <title>New RS-Website</title>
   </head>
   </head>
   <body>
   <body>
     <noscript>
     <noscript>
-      <strong>We're sorry but vue-project doesn't work properly without JavaScript enabled. Please enable it to continue.</strong>
+      <strong>This website completely relies on JavaScript. Please enable it.</strong>
     </noscript>
     </noscript>
     <div id="app"></div>
     <div id="app"></div>
     <!-- built files will be auto injected -->
     <!-- built files will be auto injected -->

+ 2 - 0
public/robots.txt

@@ -0,0 +1,2 @@
+User-agent: *
+Disallow: /impressum

+ 13 - 29
src/App.vue

@@ -1,31 +1,15 @@
 <template>
 <template>
-  <div id="app">
-    <div id="nav">
-      <router-link to="/">Home</router-link> |
-      <router-link to="/about">About</router-link>
-    </div>
-    <router-view/>
-  </div>
+	<div id="app">
+		<p>WIP website, for further information ask Ecconia in the discord.</p>
+		<h2>Possibly new website for the RedstoneServer</h2>
+		<h4>Router-Menu:</h4>
+		<ul>
+			<li><router-link to="/">Startpage</router-link></li>
+			<li><router-link to="/applications">Applications</router-link></li>
+			<li><router-link to="/devblog">Development Blog</router-link></li>
+		</ul>
+		<router-view/>
+		<br>
+		<router-link to="/impressum">Impressum</router-link>
+	</div>
 </template>
 </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>

BIN
src/assets/logo.png


+ 0 - 58
src/components/HelloWorld.vue

@@ -1,58 +0,0 @@
-<template>
-  <div class="hello">
-    <h1>{{ msg }}</h1>
-    <p>
-      For 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-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>

+ 1 - 1
src/main.js

@@ -2,7 +2,7 @@ import Vue from 'vue'
 import App from './App.vue'
 import App from './App.vue'
 import router from './router'
 import router from './router'
 
 
-Vue.config.productionTip = false
+Vue.config.productionTip = true
 
 
 new Vue({
 new Vue({
   router,
   router,

+ 29 - 18
src/router.js

@@ -1,25 +1,36 @@
 import Vue from 'vue'
 import Vue from 'vue'
 import Router from 'vue-router'
 import Router from 'vue-router'
-import Home from './views/Home.vue'
 
 
 Vue.use(Router)
 Vue.use(Router)
 
 
 export default new Router({
 export default new Router({
-  mode: 'history',
-  base: process.env.BASE_URL,
-  routes: [
-    {
-      path: '/',
-      name: 'home',
-      component: Home
-    },
-    {
-      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')
-    }
-  ]
+	mode: 'history',
+	base: process.env.BASE_URL,
+	routes: [
+		{
+			path: '/',
+			name: 'mainpage',
+			component: () => import(/* webpackChunkName: "mainpage" */ './views/Mainpage.vue')
+		},
+		{
+			path: '/impressum',
+			name: 'impressum',
+			component: () => import(/* webpackChunkName: "impressum" */ './views/Impressum.vue')
+		},
+		{
+			path: '/devblog',
+			name: 'devblog',
+			component: () => import(/* webpackChunkName: "devblog" */ './views/Devblog.vue')
+		},
+		{
+			path: '/applications',
+			name: 'applications',
+			component: () => import(/* webpackChunkName: "applications" */ './views/Applications.vue')
+		},
+		{
+			path: '*',
+			name: 'notFound',
+			component: () => import('./views/NotFound.vue')
+		},
+	]
 })
 })

+ 0 - 5
src/views/About.vue

@@ -1,5 +0,0 @@
-<template>
-  <div class="about">
-    <h1>This is an about page</h1>
-  </div>
-</template>

+ 6 - 0
src/views/Applications.vue

@@ -0,0 +1,6 @@
+<template>
+	<div>
+		<h1>Application</h1>
+		This area is basically the first big GOAL of the final product. Creating and Judging apps. The path to get here is quite long though, many other issues have to be solved first.<br>
+	</div>
+</template>

+ 18 - 0
src/views/Devblog.vue

@@ -0,0 +1,18 @@
+<template>
+	<div>
+		<h1>Development Blog</h1>
+		This is the first section, which will be writen in some useable manner.<br>
+		Updates about the website will be written as "Threads/Posts" here.<br>
+		<br>
+		Well no content here? Yeah, this part is under development ofc, all development reports currently will happen in the RedstoneServer's discord.<br>
+		<br>
+		- Server has been booted again.<br>
+		-> Ecconia's Webserver was doing nothing, now it has a freshly installed Ubuntu 18 on it.<br>
+		- Nginx has been installed and is running.<br>
+		-> With the webserver nginx its possible to host websites on the webserver machine.<br>
+		- SSL has been installed along with Cloudflare.<br>
+		-> The domain of this server is encrypted with all its content, all other domains are catched and handled with some feedback.<br>
+		- First Vue page has been written.<br>
+		-> The first content can be seen on a.ecconia.de, but its currently only loaded once and not loading the sub-pages on demand. Further no URL routing is possible currently.<br>
+	</div>
+</template>

+ 0 - 18
src/views/Home.vue

@@ -1,18 +0,0 @@
-<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>

+ 10 - 0
src/views/Impressum.vue

@@ -0,0 +1,10 @@
+<template>
+	<div>
+		<h1>Impressum</h1>
+		Impressum will be added soon (as soon as the website serves its purpose)<br>
+		Nicolas Hirsch<br>
+		more<br>
+		info<br>
+		later<br>
+	</div>
+</template>

+ 15 - 0
src/views/Mainpage.vue

@@ -0,0 +1,15 @@
+<template>
+	<div>
+		<h1>Welcome to this Project</h1>
+		This is the WIP website of a Project with the goal to create a new website for RedstoneServer.<br>
+		It currently has a website with a complex CMS and runs on a very old machine.<br>
+		The new website should at least provide a friendly less painful way to create an account and write an application, as well as judging these in an easy way.<br>
+		Further its (again) a learning project for all participants. It will use frameworks like Vue.<br>
+		<br>
+		Website for further contact: <a href="http://redstone-server.info">RedstoneServer</a><br>
+		<br>
+		If you want to help develop this website by working on front/backend just ask Ecconia. (I appreciate all help!)<br>
+		- The website probably needs someone to create a style for it. Cause Ecconia mostly does backend functionality.<br>
+		- Anyone may donate ideas and improvements!<br>
+	</div>
+</template>

+ 6 - 0
src/views/NotFound.vue

@@ -0,0 +1,6 @@
+<template>
+	<div>
+		<h4>Unknown URL</h4>
+		<router-link to="/">Back to main page</router-link>
+	</div>
+</template>