Skip to content

Commit a5f6ec6

Browse files
committed
sytyles: home page styles updated
1 parent cb2f5ef commit a5f6ec6

4 files changed

Lines changed: 16 additions & 17 deletions

File tree

bun.lock

Lines changed: 8 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/public/assets/stylesheets/styles.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/views/index.hbs

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,10 @@
33
<section class="mt-8 mb-20">
44
<div class="flex flex-col md:flex-row items-center gap-16 lg:gap-20">
55

6-
<div class="lg:w-1/2 flex flex-col items-center md:items-start text-left xs:text-center md:text-left lg:pr-6">
6+
<div class="lg:w-1/2 flex flex-col items-center md:items-start text-center xs:text-center md:text-left lg:pr-6">
77

88
<h1 class="text-4xl text-center md:text-left md:text-6xl font-black leading-[1.1] mb-8 tracking-tighter text-base-content">
9-
<span class="text-transparent bg-clip-text bg-linear-to-r from-green-500 to-purple-600">Share Ideas, Spark Discussion</span>
9+
<span class="text-green-500/90">Share</span> <span class="text-transparent bg-clip-text bg-linear-to-r from-green-500 to-purple-600"> Ideas, Spark </span> <span class=" text-purple-500/90">Discussion</span>
1010

1111
</h1>
1212

@@ -105,7 +105,7 @@
105105

106106
{{else}}
107107
<a href="/users/oauth/google"
108-
class="btn btn-outline hover:bg-base-200 active:bg-base-300 dark:hover:bg-[#131314] flex items-center justify-center gap-4 w-full rounded-full border-base-300 h-14 transition-all shadow-sm hover:shadow-md">
108+
class=" text-[#1a1a1a] dark:text-[#ededed] outline-[#ededed] outline-0 dark:outline-[#1a1a1a] dark:bg-[#202020] bg-white hover:bg-[#ebedef] active:bg-[#ededed] dark:hover:bg-[#121212] dark:active:bg-[#080808] flex items-center justify-center gap-4 w-full rounded-full h-14 transition-all shadow-sm hover:shadow-md">
109109
<svg version="1.1" class="h-6 w-6" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48">
110110
<path fill="#EA4335"
111111
d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z">
@@ -467,10 +467,9 @@
467467
<script>document.getElementById("feed_modal").showModal()</script>
468468
{{else}}
469469
<h2 class="text-3xl font-black mb-4 tracking-tight">The base is empty</h2>
470-
<p class="opacity-80 mb-10 max-w-sm mx-auto leading-relaxed">Be the first one to share a technical insight or a
471-
personal thought with the world.</p>
470+
<p class="opacity-80 mb-10 max-w-sm mx-auto leading-relaxed">Be the first one to share ideas with the world.</p>
472471
<a class="btn btn-success rounded-full px-10 shadow-lg shadow-success/20" href="/posts/add">
473-
Create Your First Post
472+
Create First Post
474473
</a>
475474
{{/if}}
476475
</div>

src/views/login.hbs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
<div class="bg-primary/90 text-primary-content p-8 rounded-t-2xl text-center">
55
<h2 class="text-3xl font-bold">Welcome Back</h2>
6-
<p class="text-sm opacity-80 mt-2">Log in to manage your notes</p>
6+
<p class="text-sm opacity-80 mt-2">Log in to manage your Posts</p>
77
</div>
88

99
<form class="card-body gap-4 p-6 md:p-8" method='POST' action='/users/login'>
10-
<a href="/users/oauth/google" class="btn btn-outline items-center gap-3 bg-white dark:bg-[#131314] rounded-full">
10+
<a href="/users/oauth/google" class="btn btn-outline items-center gap-3 bg-white dark:bg-[#101214] dark:active:bg-[#080112] rounded-full">
1111
<svg version="1.1" class=" h-5.5" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48" xmlns:xlink="http://www.w3.org/1999/xlink" style="display: block;">
1212
<path fill="#EA4335" d="M24 9.5c3.54 0 6.71 1.22 9.21 3.6l6.85-6.85C35.9 2.38 30.47 0 24 0 14.62 0 6.51 5.38 2.56 13.22l7.98 6.19C12.43 13.72 17.74 9.5 24 9.5z"></path>
1313
<path fill="#4285F4" d="M46.98 24.55c0-1.57-.15-3.09-.38-4.55H24v9.02h12.94c-.58 2.96-2.26 5.48-4.78 7.18l7.73 6c4.51-4.18 7.09-10.36 7.09-17.65z"></path>

0 commit comments

Comments
 (0)