Skip to content

Commit

Permalink
asd
Browse files Browse the repository at this point in the history
  • Loading branch information
EralKeskinkurt committed Apr 19, 2023
0 parents commit 5405047
Show file tree
Hide file tree
Showing 44 changed files with 18,678 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
node_modules
*.log*
.nuxt
.nitro
.cache
.output
.env
dist
.DS_Store
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/Qr-Form-App.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 7 additions & 0 deletions .idea/discord.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

492 changes: 492 additions & 0 deletions .idea/inspectionProfiles/Project_Default.xml

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions .idea/jsLibraryMappings.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
shamefully-hoist=true
strict-peer-dependencies=false
42 changes: 42 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
# Nuxt 3 Minimal Starter

Look at the [Nuxt 3 documentation](https://nuxt.com/docs/getting-started/introduction) to learn more.

## Setup

Make sure to install the dependencies:

```bash
# yarn
yarn install

# npm
npm install

# pnpm
pnpm install
```

## Development Server

Start the development server on `http://localhost:3000`

```bash
npm run dev
```

## Production

Build the application for production:

```bash
npm run build
```

Locally preview production build:

```bash
npm run preview
```

Check out the [deployment documentation](https://nuxt.com/docs/getting-started/deployment) for more information.
5 changes: 5 additions & 0 deletions app.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<template>
<div>
<NuxtLayout><NuxtPage/></NuxtLayout>
</div>
</template>
13 changes: 13 additions & 0 deletions assets/css/reset.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

* {
box-sizing: border-box;
padding: 0;
margin: 0;
}

html, body {
height: 100%;
font-family: 'Inter', sans-serif;
background-color: rgb(0, 0, 0);
}
3 changes: 3 additions & 0 deletions assets/css/tailwind.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
@tailwind base;
@tailwind components;
@tailwind utilities;
51 changes: 51 additions & 0 deletions components/TrendsForYou.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
<template>
<div class="w-full px-5">
<div class="bg-useGray h-auto rounded-xl overflow-hidden">
<h1 class="text-normalWhite text-lg font-bold px-3 py-3">Trends for you</h1>
<ul class="flex flex-col text-normalWhite">
<li v-for="trend in trendsForYou" :key="trend.id" class="flex px-2 py-1 cursor-pointer hover:bg-lowWhite justify-between items-start">
<div class="flex flex-col">
<span class="text-[12px] text-lowsWhite font-light">{{trend.trending}}</span>
<span class="text-sm font-bold">{{trend.title}}</span>
<span class="text-[12px] text-lowsWhite font-light">{{trend.twitCount}} tweet</span>
</div>
<div tabindex="10"
class="cursor-pointer relative group rounded-full p-2 fill-lowsWhite hover:fill-tickBlue hover:bg-hoverBlue z-100 transition duration-200">
<svg viewBox="0 0 24 24" class="w-[15px] " aria-hidden="true">
<g>
<path d="M3 12c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9 2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm7 0c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"></path>
</g>
</svg>
<div class="absolute opacity-0 shadow-[rgba(222,222,222,0.6)] shadow-[0_0_7px_0] overflow-hidden text-normalWhite rounded-xl text-sm w-64 bg-black z-100 pointer-events-none group-focus:opacity-100 group-focus:pointer-events-auto -bottom-10 transition duration-200 right-0">
<div class="flex flex-col">
<span class="py-3 px-2 flex items-center gap-2 hover:bg-lowWhite cursor-pointer">
<svg viewBox="0 0 24 24" class="fill-normalWhite w-[18px] " aria-hidden="true"><g><path
d="M9.5 7c.828 0 1.5 1.119 1.5 2.5S10.328 12 9.5 12 8 10.881 8 9.5 8.672 7 9.5 7zm5 0c.828 0 1.5 1.119 1.5 2.5s-.672 2.5-1.5 2.5S13 10.881 13 9.5 13.672 7 14.5 7zM12 22.25C6.348 22.25 1.75 17.652 1.75 12S6.348 1.75 12 1.75 22.25 6.348 22.25 12 17.652 22.25 12 22.25zm0-18.5c-4.549 0-8.25 3.701-8.25 8.25s3.701 8.25 8.25 8.25 8.25-3.701 8.25-8.25S16.549 3.75 12 3.75zM8.947 17.322l-1.896-.638C7.101 16.534 8.322 13 12 13s4.898 3.533 4.949 3.684l-1.897.633c-.031-.09-.828-2.316-3.051-2.316s-3.021 2.227-3.053 2.322z"></path></g></svg>
Not interested in this
</span>
<span class="py-3 px-2 flex items-center gap-2 hover:bg-lowWhite cursor-pointer">
<svg viewBox="0 0 24 24" class="fill-normalWhite w-[18px]" aria-hidden="true"><g><path
d="M9.5 7c.828 0 1.5 1.119 1.5 2.5S10.328 12 9.5 12 8 10.881 8 9.5 8.672 7 9.5 7zm5 0c.828 0 1.5 1.119 1.5 2.5s-.672 2.5-1.5 2.5S13 10.881 13 9.5 13.672 7 14.5 7zM12 22.25C6.348 22.25 1.75 17.652 1.75 12S6.348 1.75 12 1.75 22.25 6.348 22.25 12 17.652 22.25 12 22.25zm0-18.5c-4.549 0-8.25 3.701-8.25 8.25s3.701 8.25 8.25 8.25 8.25-3.701 8.25-8.25S16.549 3.75 12 3.75zM8.947 17.322l-1.896-.638C7.101 16.534 8.322 13 12 13s4.898 3.533 4.949 3.684l-1.897.633c-.031-.09-.828-2.316-3.051-2.316s-3.021 2.227-3.053 2.322z"></path></g></svg>
This trend is harmful or spammy
</span>
</div>
</div>
</div>
</li>
<li class="text-sm text-useGreen p-2 py-4 hover:bg-lowWhite cursor-pointer">Show More</li>
</ul>
</div>
</div>
</template>

<script setup>
import {ref} from "#imports";
const trendsForYou = ref([
{id: 1, trending: 'Sports Trending', title: 'YÖNETİM İSTİFA', twitCount: '3.558'},
{id: 2, trending: 'Trending in Turkey', title: 'ERDOĞAN İSTİFA', twitCount: '324.234.234'},
{id: 3, trending: 'Sports Trending', title: 'Yaşasın 23 Nisan', twitCount: '3.558'},
{id: 4, trending: 'Trending in Turkey', title: 'Bruh', twitCount: '3.558'},
{id: 5, trending: 'Sports Trending', title: 'Lamine Diack', twitCount: '3.558'},
])
</script>

129 changes: 129 additions & 0 deletions components/TwitLeftSide.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,129 @@
<template>
<aside class="2xl:w-[280px] xl:w-[280px] lg:w-[80px] sm:w-[80px] overflow-y-auto fixed flex flex-col overflow-x-hidden flex-start justify-between border-r-[1px] border-r-lowWhite h-screen">
<div class="flex flex-col items-start justify-center">
<nuxt-link to="/"
class="fill-normalWhite cursor-pointer rounded-full hover:bg-lowWhite p-3 transition duration-300">
<svg viewBox="0 0 24 24" class="w-[25px]" aria-hidden="true">
<g>
<path d="M23.643 4.937c-.835.37-1.732.62-2.675.733.962-.576 1.7-1.49 2.048-2.578-.9.534-1.897.922-2.958 1.13-.85-.904-2.06-1.47-3.4-1.47-2.572 0-4.658 2.086-4.658 4.66 0 .364.042.718.12 1.06-3.873-.195-7.304-2.05-9.602-4.868-.4.69-.63 1.49-.63 2.342 0 1.616.823 3.043 2.072 3.878-.764-.025-1.482-.234-2.11-.583v.06c0 2.257 1.605 4.14 3.737 4.568-.392.106-.803.162-1.227.162-.3 0-.593-.028-.877-.082.593 1.85 2.313 3.198 4.352 3.234-1.595 1.25-3.604 1.995-5.786 1.995-.376 0-.747-.022-1.112-.065 2.062 1.323 4.51 2.093 7.14 2.093 8.57 0 13.255-7.098 13.255-13.254 0-.2-.005-.402-.014-.602.91-.658 1.7-1.477 2.323-2.41z"></path>
</g>
</svg>
</nuxt-link>
<nuxt-link to="/"
class="relative leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M12 1.696L.622 8.807l1.06 1.696L3 9.679V19.5C3 20.881 4.119 22 5.5 22h13c1.381 0 2.5-1.119 2.5-2.5V9.679l1.318.824 1.06-1.696L12 1.696zM12 16.5c-1.933 0-3.5-1.567-3.5-3.5s1.567-3.5 3.5-3.5 3.5 1.567 3.5 3.5-1.567 3.5-3.5 3.5z"></path>
</g>
</svg>
<div class="w-[6px] h-[6px] rounded bg-useGreen absolute bottom-9 left-8"></div>
<span class="2xl:block xl:block lg:hidden sm:hidden">Home</span>
</nuxt-link>
<nuxt-link to="/explore"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M10.09 3.098L9.72 7h5.99l.39-4.089 1.99.187L17.72 7h3.78v2h-3.97l-.56 6h3.53v2h-3.72l-.38 4.089-1.99-.187.36-3.902H8.78l-.38 4.089-1.99-.187L6.77 17H2.5v-2h4.46l.56-6H3.5V7h4.21l.39-4.089 1.99.187zM14.96 15l.56-6H9.53l-.56 6h5.99z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Explore</span>
</nuxt-link>
<nuxt-link to="/notifications"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M19.993 9.042C19.48 5.017 16.054 2 11.996 2s-7.49 3.021-7.999 7.051L2.866 18H7.1c.463 2.282 2.481 4 4.9 4s4.437-1.718 4.9-4h4.236l-1.143-8.958zM12 20c-1.306 0-2.417-.835-2.829-2h5.658c-.412 1.165-1.523 2-2.829 2zm-6.866-4l.847-6.698C6.364 6.272 8.941 4 11.996 4s5.627 2.268 6.013 5.295L18.864 16H5.134z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Notifications</span>
</nuxt-link>
<nuxt-link to="/messages"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M1.998 5.5c0-1.381 1.119-2.5 2.5-2.5h15c1.381 0 2.5 1.119 2.5 2.5v13c0 1.381-1.119 2.5-2.5 2.5h-15c-1.381 0-2.5-1.119-2.5-2.5v-13zm2.5-.5c-.276 0-.5.224-.5.5v2.764l8 3.638 8-3.636V5.5c0-.276-.224-.5-.5-.5h-15zm15.5 5.463l-8 3.636-8-3.638V18.5c0 .276.224.5.5.5h15c.276 0 .5-.224.5-.5v-8.037z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Messages</span>
</nuxt-link>
<nuxt-link to="/bookmarks"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M4 4.5C4 3.12 5.119 2 6.5 2h11C18.881 2 20 3.12 20 4.5v18.44l-8-5.71-8 5.71V4.5zM6.5 4c-.276 0-.5.22-.5.5v14.56l6-4.29 6 4.29V4.5c0-.28-.224-.5-.5-.5h-11z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Bookmarks</span>
</nuxt-link>
<nuxt-link to="/"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M15.704 8.99c.457-.05.891-.17 1.296-.35-.302.45-.685.84-1.125 1.15.004.1.006.19.006.29 0 2.94-2.269 6.32-6.421 6.32-1.274 0-2.46-.37-3.459-1 .177.02.357.03.539.03 1.057 0 2.03-.35 2.803-.95-.988-.02-1.821-.66-2.109-1.54.138.03.28.04.425.04.206 0 .405-.03.595-.08-1.033-.2-1.811-1.1-1.811-2.18v-.03c.305.17.652.27 1.023.28-.606-.4-1.004-1.08-1.004-1.85 0-.4.111-.78.305-1.11 1.113 1.34 2.775 2.22 4.652 2.32-.038-.17-.058-.33-.058-.51 0-1.23 1.01-2.22 2.256-2.22.649 0 1.235.27 1.647.7.514-.1.997-.28 1.433-.54-.168.52-.526.96-.992 1.23zM2 21h15c3.038 0 5.5-2.46 5.5-5.5 0-1.4-.524-2.68-1.385-3.65-.08-.09-.089-.22-.023-.32.574-.87.908-1.91.908-3.03C22 5.46 19.538 3 16.5 3H2v18zM16.5 5C18.433 5 20 6.57 20 8.5c0 1.01-.43 1.93-1.12 2.57-.468.43-.414 1.19.111 1.55.914.63 1.509 1.69 1.509 2.88 0 1.93-1.567 3.5-3.5 3.5H4V5h12.5z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Twitter Blue</span>
</nuxt-link>
<nuxt-link to="/profile"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M5.651 19h12.698c-.337-1.8-1.023-3.21-1.945-4.19C15.318 13.65 13.838 13 12 13s-3.317.65-4.404 1.81c-.922.98-1.608 2.39-1.945 4.19zm.486-5.56C7.627 11.85 9.648 11 12 11s4.373.85 5.863 2.44c1.477 1.58 2.366 3.8 2.632 6.46l.11 1.1H3.395l.11-1.1c.266-2.66 1.155-4.88 2.632-6.46zM12 4c-1.105 0-2 .9-2 2s.895 2 2 2 2-.9 2-2-.895-2-2-2zM8 6c0-2.21 1.791-4 4-4s4 1.79 4 4-1.791 4-4 4-4-1.79-4-4z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">Profile</span>
</nuxt-link>
<nuxt-link to="/"
class="leading-none fill-normalWhite cursor-pointer p-3 text-normalWhite rounded-full hover:bg-lowWhite px-4 flex gap-4 items-center text-md transition duration-300">
<svg viewBox="0 0 24 24" class="w-[23px]" aria-hidden="true">
<g>
<path d="M3.75 12c0-4.56 3.69-8.25 8.25-8.25s8.25 3.69 8.25 8.25-3.69 8.25-8.25 8.25S3.75 16.56 3.75 12zM12 1.75C6.34 1.75 1.75 6.34 1.75 12S6.34 22.25 12 22.25 22.25 17.66 22.25 12 17.66 1.75 12 1.75zm-4.75 11.5c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25S6 11.31 6 12s.56 1.25 1.25 1.25zm9.5 0c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25-1.25.56-1.25 1.25.56 1.25 1.25 1.25zM13.25 12c0 .69-.56 1.25-1.25 1.25s-1.25-.56-1.25-1.25.56-1.25 1.25-1.25 1.25.56 1.25 1.25z"></path>
</g>
</svg>
<span class="2xl:block xl:block lg:hidden sm:hidden">More</span>
</nuxt-link>
<div class="2xl:w-60 xl:w-60 lg:w-auto md:w-auto sm:w-auto mt-2">
<button class="flex items-center justify-center transition duration-200 bright hover:brightness-90 leading-none bg-useGreen text-normalWhite font-bold rounded-full 2xl:w-full xl:w-full text-sm py-[16px] lg:w-12 lg:h-12">
<span class="2xl:block xl:block lg:hidden md:hidden sm:hidden">Tweet</span>
<svg viewBox="0 0 24 24" class="w-[25px] fill-normalWhite 2xl:hidden xl:hidden lg:block md:block sm:block" aria-hidden="true">
<g>
<path d="M23 3c-6.62-.1-10.38 2.421-13.05 6.03C7.29 12.61 6 17.331 6 22h2c0-1.007.07-2.012.19-3H12c4.1 0 7.48-3.082 7.94-7.054C22.79 10.147 23.17 6.359 23 3zm-7 8h-1.5v2H16c.63-.016 1.2-.08 1.72-.188C16.95 15.24 14.68 17 12 17H8.55c.57-2.512 1.57-4.851 3-6.78 2.16-2.912 5.29-4.911 9.45-5.187C20.95 8.079 19.9 11 16 11zM4 9V6H1V4h3V1h2v3h3v2H6v3H4z"></path>
</g>
</svg>
</button>
</div>
</div>
<div tabindex="0"
class="relative flex items-center group px-3 transition duration-200 cursor-pointer hover:bg-lowWhite rounded-full bottom-2 2xl:left-4 xl:left-4 py-2 2xl:w-11/12 xl:w-11/12 lg:w-16 lg:h-16 sm:h-16 sm:w-16 focus:pointer-events-none ">
<div class="flex items-center gap-3 w-full">
<div class="flex items-center justify-center">
<img class="rounded-full w-9 object-cover " src="/images/profile.jpeg"
alt="profile image">
</div>
<div class="flex flex-col flex-grow items-center 2xl:block xl:block lg:hidden sm:hidden">
<span class="text-normalWhite text-sm font-semibold block">Eral Keskinkurt</span>
<span class="text-lowsWhite font-light text-sm block">@eral_keskinkurt</span>
</div>
<div class="mr-1 2xl:block xl:block lg:hidden sm:hidden">
<svg viewBox="0 0 24 24" class="w-[15px] fill-normalWhite" aria-hidden="true">
<g>
<path d="M3 12c0-1.1.9-2 2-2s2 .9 2 2-.9 2-2 2-2-.9-2-2zm9 2c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm7 0c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z"></path>
</g>
</svg>
</div>
<div class="absolute right-2 opacity-0 shadow-[rgba(222,222,222,0.6)] shadow-[0_0_7px_0] text-normalWhite py-3 rounded-xl text-sm w-56 bg-black z-100 pointer-events-none group-focus:opacity-100 group-focus:pointer-events-auto bottom-16 ">
<div class="relative flex flex-col py-2 border-t-[0.5px] border-[rgba(222,222,222,0.4)]">
<a class="py-2 px-2 cursor-pointer w-full hover:bg-useGray transition duration-200">Add an
existing account</a>
<a class="py-2 px-2 w-full hover:bg-useGray cursor-pointer transition duration-200">Log out
@eral_keskinkurt</a>
</div>
</div>
</div>
</div>
</aside>
</template>

<script setup>
</script>
13 changes: 13 additions & 0 deletions components/TwitNav.vue
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<template>
<div class="sticky top-0 w-full h-[96px] bg-transparent text-normalWhite mr-auto border-b-[0.5px] border-useGray backdrop-blur-sm">
<nuxt-link to="/" class="p-3 px-4 h-[48px] block"><h3 class="font-bold">Home</h3></nuxt-link>
<div class="flex justify-evenly items-center text-sm font-light" >
<a class="w-6/12 text-center h-[48px] flex flex-col items-center justify-center text-white font-normal cursor-pointer hover:bg-lowWhite transition duration-200 relative"><span>For you</span><div class="absolute bg-useGreen w-14 h-[4px] rounded top-10"></div></a>
<a class="w-6/12 text-center h-[48px] flex flex-col items-center justify-center cursor-pointer hover:bg-lowWhite transition duration-200 text-lowsWhite"><span>Following</span></a>
</div>
</div>

</template>

<script setup>
</script>
Loading

0 comments on commit 5405047

Please sign in to comment.