Skip to content

Commit e74923c

Browse files
authored
Merge pull request #12 from YasserSE/develop
Fixed mobile bug + Icons
2 parents f3a37b4 + 71b933e commit e74923c

File tree

6 files changed

+18
-13
lines changed

6 files changed

+18
-13
lines changed

index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
<html lang="en">
33
<head>
44
<meta charset="UTF-8">
5-
<link rel="icon" href="/favicon.ico">
5+
<link rel="icon" href="/public/icon.png">
66
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7-
<title>Vite App</title>
7+
<title>Task-AP</title>
88
</head>
99
<body>
1010
<div id="app"></div>

public/icon.png

2.64 KB
Loading

src/assets/base.css

+7-7
Original file line numberDiff line numberDiff line change
@@ -23,15 +23,15 @@
2323

2424
/* semantic color variables for this project */
2525
:root {
26-
--color-background: var(--vt-c-white);
27-
--color-background-soft: var(--vt-c-white-soft);
28-
--color-background-mute: var(--vt-c-white-mute);
26+
--color-background: var(--vt-c-black);
27+
--color-background-soft: var(--vt-c-black-soft);
28+
--color-background-mute: var(--vt-c-black-mute);
2929

30-
--color-border: var(--vt-c-divider-light-2);
31-
--color-border-hover: var(--vt-c-divider-light-1);
30+
--color-border: var(--vt-c-divider-dark-2);
31+
--color-border-hover: var(--vt-c-divider-dark-1);
3232

33-
--color-heading: var(--vt-c-text-light-1);
34-
--color-text: var(--vt-c-text-light-1);
33+
--color-heading: var(--vt-c-text-dark-1);
34+
--color-text: var(--vt-c-text-dark-2);
3535

3636
--section-gap: 160px;
3737
}

src/assets/taskapp.png

6.36 KB
Loading

src/components/NavigationBar.vue

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<template>
22
<nav>
3-
<router-link to="/">Home</router-link>
3+
<router-link to="/"><img src="../assets/taskapp.png" class="navLogo"></router-link>
44
<div v-if="!store.user">
55
<router-link to="/auth/login" class="marginRight">LogIn</router-link>
66
<router-link to="/auth/signup">SignUp</router-link>
@@ -42,6 +42,9 @@ const handleLogOut = async () => {
4242
</script>
4343

4444
<style scoped>
45+
.navLogo{
46+
width: 100px;
47+
}
4548
nav {
4649
display: flex;
4750
width: 100%;
@@ -55,7 +58,7 @@ div {
5558
width: fit-content;
5659
padding: 0;
5760
margin: 0;
58-
justify-content: space-around;
61+
align-items: center;
5962
}
6063
6164
p {

src/components/TaskList.vue

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<template>
2-
<form @keydown.enter="handleCreate" @submit.prevent>
2+
<form @submit.prevent="handleCreate">
33
<label>New task:</label><input class="formInput" type="text" v-model="taskTitle">
4+
<button type="submit">Create</button>
45
</form>
56
<main>
67
<div class="taskContainer">
@@ -142,9 +143,10 @@ form {
142143
padding: 30px 0px;
143144
}
144145
.formInput {
145-
margin-left: 10px;
146+
margin: 0px 10px;
146147
border-radius: 15px;
147148
padding: 2px;
149+
width: 150px;
148150
}
149151
.status--Complete{
150152
background-color: #3b8cf5;

0 commit comments

Comments
 (0)