fixing some errors

This commit is contained in:
ngn 2023-06-18 18:09:03 +03:00
parent 41d2da598b
commit 870c59df04
7 changed files with 12 additions and 12 deletions

View File

@ -1,12 +1,13 @@
# My Website - [ngn13.fun](https://ngn13.fun) # My Website - [ngn13.fun](https://ngn13.fun)
This repo contains the source code of my personal website. This repo contains the source code of my personal website.
It's written NuxtJS and supports full SSR. It's written NuxtJS and supports full SSR. As database,
it uses mongodb.
## Setup ## Setup
``` ```
git clone https://github.com/ngn13/ngn13.fun.git git clone https://github.com/ngn13/ngn13.fun.git
cd ngn13.fun && npm i cd ngn13.fun && npm i
echo "password" > pass echo "password" > .env
npm run build npm run build
npm run start npm run start
``` ```

View File

@ -2,7 +2,7 @@
<div class="all"> <div class="all">
<Navbar /> <Navbar />
<Header> <Header>
<glitch class="title">{{ post.title }}</glitch> <label class="glitch title">{{ post.title }}</label>
<p>{{ post.info }}</p> <p>{{ post.info }}</p>
</Header> </Header>
<div class="postcontain"> <div class="postcontain">

View File

@ -2,7 +2,7 @@
<div> <div>
<Navbar /> <Navbar />
<Header> <Header>
<glitch>/dev/</glitch>blog <label class="glitch">/dev/</label>blog
</Header> </Header>
<div class="blogs"> <div class="blogs">
<Input :keyup="keyup" placeholder="Search post" type="text"/> <Input :keyup="keyup" placeholder="Search post" type="text"/>

View File

@ -2,7 +2,7 @@
<div> <div>
<Navbar /> <Navbar />
<Header> <Header>
<glitch>echo</glitch> hello world! <label class="glitch">echo</label> hello world!
</Header> </Header>
<div class="info"> <div class="info">
<Card> <Card>

View File

@ -2,12 +2,12 @@
<div> <div>
<Navbar /> <Navbar />
<Header> <Header>
<glitch>ls -la</glitch> projects <label class="glitch">ls -la</label> projects
</Header> </Header>
<div class="projects"> <div class="projects">
<ProjectList v-for="project in projects" :key="project"> <ProjectList v-for="project in projects" :key="project[0].name">
<Project v-if="logged" v-for="p in project" :key="p" :name="`${p.name} (${p.click})`" :desc="p.desc" :url="p.url"/> <Project v-if="logged" v-for="p in project" :key="p.name" :name="`${p.name} (${p.click})`" :desc="p.desc" :url="p.url"/>
<Project v-if="!logged" v-for="p in project" :key="p" :name="p.name" :desc="p.desc" :url="p.url"/> <Project v-if="!logged" v-for="p in project" :key="p.desc" :name="p.name" :desc="p.desc" :url="p.url"/>
</ProjectList> </ProjectList>
</div> </div>
<NewProject v-if="logged"/> <NewProject v-if="logged"/>

View File

@ -2,7 +2,7 @@
<main> <main>
<Navbar /> <Navbar />
<Header> <Header>
<glitch>cat</glitch> {{ header }} <label class="glitch">cat</label> {{ header }}
</Header> </Header>
<div class="resources"> <div class="resources">
<Input :keyup="keyup" placeholder="Search resource" type="text"/> <Input :keyup="keyup" placeholder="Search resource" type="text"/>
@ -87,7 +87,6 @@ export default {
// then we can load all the resources // then we can load all the resources
res = await axios.get("/api/resources/get") res = await axios.get("/api/resources/get")
this.all_resources = res.data["resources"] this.all_resources = res.data["resources"]
console.log(res.data["resources"])
} }
} }
</script> </script>

View File

@ -290,7 +290,7 @@ body {
} }
} }
glitch { .glitch {
animation-name: colorAnimation; animation-name: colorAnimation;
animation-iteration-count: infinite; animation-iteration-count: infinite;
animation-duration: 10s; animation-duration: 10s;