Skip to content

Commit

Permalink
Checkmark
Browse files Browse the repository at this point in the history
  • Loading branch information
boreq committed Oct 23, 2023
1 parent 06862ba commit 03627ce
Show file tree
Hide file tree
Showing 12 changed files with 52 additions and 187 deletions.
Original file line number Diff line number Diff line change
@@ -1,11 +1,14 @@
<template>
<div class="current-user">
<img class="image" :src="user?.twitterProfileImageURL">
<div class="name">{{ user.twitterName }}</div>
<div class="username">@{{ user.twitterUsername }}</div>
<a class="logout-button">
<img src="../assets/logout_on_dark.svg">
</a>
<div class="user-info">
<img class="image" :src="user?.twitterProfileImageURL">
<div class="name">{{ user.twitterName }}</div>
<div class="username">@{{ user.twitterUsername }}</div>
<a class="logout-button">
<img src="../assets/logout_on_dark.svg">
</a>
</div>
<img class="checkmark" src="../assets/checkmark.svg">
</div>
</template>

Expand All @@ -25,46 +28,60 @@ export default class CurrentUser extends Vue {

<style scoped lang="scss">
.current-user {
margin: 1.5em 0;
border-radius: 10px;
width: 500px;
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-columns: 500px 50px;
grid-template-rows: auto;
grid-template-areas:
"user-info checkmark";
align-items: center;
margin: 1.5em 0;
.user-info {
grid-area: user-info;
border-radius: 10px;
display: grid;
grid-template-columns: auto 1fr auto;
grid-template-rows: auto;
grid-template-areas:
"image name logout-button"
"image username logout-button";
align-items: center;
align-items: center;
border: 3px solid #9379BF;
gap: 20px;
padding: 20px;
border: 3px solid #9379BF;
gap: 20px;
padding: 20px;
.image {
grid-area: image;
border-radius: 75px;
height: 75px;
}
.image {
grid-area: image;
border-radius: 75px;
height: 75px;
}
.username, .name {
font-size: 28px;
font-style: normal;
}
.username, .name {
font-size: 28px;
font-style: normal;
}
.username {
grid-area: username;
font-weight: 500;
color: #9379BF;
}
.username {
grid-area: username;
font-weight: 500;
color: #9379BF;
}
.name {
grid-area: name;
font-weight: 700;
color: #fff;
}
.name {
grid-area: name;
font-weight: 700;
color: #fff;
.logout-button {
grid-area: logout-button;
}
}
.logout-button {
grid-area: logout-button;
.checkmark {
grid-area: checkmark;
padding: 0 15px;
}
}
</style>
1 change: 0 additions & 1 deletion service/ports/http/frontend/css/app.089a72a3.css

This file was deleted.

Empty file.
9 changes: 0 additions & 9 deletions service/ports/http/frontend/img/background.4c146daa.svg

This file was deleted.

38 changes: 0 additions & 38 deletions service/ports/http/frontend/img/login_with_x.b3cda31f.svg

This file was deleted.

Loading

0 comments on commit 03627ce

Please sign in to comment.