Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
203b2d91
Commit
203b2d91
authored
Oct 17, 2023
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: fix container styles
parent
ddc4566d
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
7 additions
and
6 deletions
+7
-6
Archived.tsx
web/src/pages/Archived.tsx
+1
-1
DailyReview.tsx
web/src/pages/DailyReview.tsx
+1
-1
Explore.tsx
web/src/pages/Explore.tsx
+1
-1
Resources.tsx
web/src/pages/Resources.tsx
+3
-2
Setting.tsx
web/src/pages/Setting.tsx
+1
-1
No files found.
web/src/pages/Archived.tsx
View file @
203b2d91
...
@@ -35,7 +35,7 @@ const Archived = () => {
...
@@ -35,7 +35,7 @@ const Archived = () => {
},
[
memos
,
textQuery
]);
},
[
memos
,
textQuery
]);
return
(
return
(
<
section
className=
"w-full max-w-3xl min-h-full flex flex-col justify-start items-start px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
section
className=
"
@container
w-full max-w-3xl min-h-full flex flex-col justify-start items-start px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
MobileHeader
showSearch=
{
false
}
/>
<
MobileHeader
showSearch=
{
false
}
/>
<
MemoFilter
/>
<
MemoFilter
/>
{
loadingState
.
isLoading
?
(
{
loadingState
.
isLoading
?
(
...
...
web/src/pages/DailyReview.tsx
View file @
203b2d91
...
@@ -94,7 +94,7 @@ const DailyReview = () => {
...
@@ -94,7 +94,7 @@ const DailyReview = () => {
const
isFutureDateDisabled
=
isFutureDate
(
currentDateStamp
+
DAILY_TIMESTAMP
);
const
isFutureDateDisabled
=
isFutureDate
(
currentDateStamp
+
DAILY_TIMESTAMP
);
return
(
return
(
<
section
className=
"w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
section
className=
"
@container
w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
MobileHeader
showSearch=
{
false
}
/>
<
MobileHeader
showSearch=
{
false
}
/>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"relative w-full flex flex-row justify-between items-center"
>
<
div
className=
"relative w-full flex flex-row justify-between items-center"
>
...
...
web/src/pages/Explore.tsx
View file @
203b2d91
...
@@ -87,7 +87,7 @@ const Explore = () => {
...
@@ -87,7 +87,7 @@ const Explore = () => {
};
};
return
(
return
(
<
section
className=
"w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
section
className=
"
@container
w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
MobileHeader
showSearch=
{
false
}
/>
<
MobileHeader
showSearch=
{
false
}
/>
{
!
loadingState
.
isLoading
&&
(
{
!
loadingState
.
isLoading
&&
(
<
div
className=
"relative w-full h-auto flex flex-col justify-start items-start"
>
<
div
className=
"relative w-full h-auto flex flex-col justify-start items-start"
>
...
...
web/src/pages/Resources.tsx
View file @
203b2d91
...
@@ -8,6 +8,7 @@ import MobileHeader from "@/components/MobileHeader";
...
@@ -8,6 +8,7 @@ import MobileHeader from "@/components/MobileHeader";
import
ResourceIcon
from
"@/components/ResourceIcon"
;
import
ResourceIcon
from
"@/components/ResourceIcon"
;
import
{
resourceServiceClient
}
from
"@/grpcweb"
;
import
{
resourceServiceClient
}
from
"@/grpcweb"
;
import
useLoading
from
"@/hooks/useLoading"
;
import
useLoading
from
"@/hooks/useLoading"
;
import
i18n
from
"@/i18n"
;
import
{
Resource
}
from
"@/types/proto/api/v2/resource_service"
;
import
{
Resource
}
from
"@/types/proto/api/v2/resource_service"
;
import
{
useTranslate
}
from
"@/utils/i18n"
;
import
{
useTranslate
}
from
"@/utils/i18n"
;
...
@@ -61,7 +62,7 @@ const Resources = () => {
...
@@ -61,7 +62,7 @@ const Resources = () => {
};
};
return
(
return
(
<
section
className=
"w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
section
className=
"
@container
w-full max-w-3xl min-h-full flex flex-col justify-start items-center px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
MobileHeader
showSearch=
{
false
}
/>
<
MobileHeader
showSearch=
{
false
}
/>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"w-full shadow flex flex-col justify-start items-start px-4 py-3 rounded-xl bg-white dark:bg-zinc-700 text-black dark:text-gray-300"
>
<
div
className=
"relative w-full flex flex-row justify-between items-center"
>
<
div
className=
"relative w-full flex flex-row justify-between items-center"
>
...
@@ -89,7 +90,7 @@ const Resources = () => {
...
@@ -89,7 +90,7 @@ const Resources = () => {
<
div
key=
{
timestamp
}
className=
"w-full flex flex-row justify-start items-start"
>
<
div
key=
{
timestamp
}
className=
"w-full flex flex-row justify-start items-start"
>
<
div
className=
"w-16 sm:w-24 pt-4 sm:pl-4 flex flex-col justify-start items-start"
>
<
div
className=
"w-16 sm:w-24 pt-4 sm:pl-4 flex flex-col justify-start items-start"
>
<
span
className=
"text-sm opacity-60"
>
{
date
.
getFullYear
()
}
</
span
>
<
span
className=
"text-sm opacity-60"
>
{
date
.
getFullYear
()
}
</
span
>
<
span
className=
"font-medium text-xl"
>
{
date
.
toLocaleString
(
"default"
,
{
month
:
"short"
})
}
</
span
>
<
span
className=
"font-medium text-xl"
>
{
date
.
toLocaleString
(
i18n
.
language
,
{
month
:
"short"
})
}
</
span
>
</
div
>
</
div
>
<
div
className=
"w-full max-w-[calc(100%-4rem)] sm:max-w-[calc(100%-6rem)] flex flex-row justify-start items-start gap-4 flex-wrap"
>
<
div
className=
"w-full max-w-[calc(100%-4rem)] sm:max-w-[calc(100%-6rem)] flex flex-row justify-start items-start gap-4 flex-wrap"
>
{
resources
.
map
((
resource
)
=>
{
{
resources
.
map
((
resource
)
=>
{
...
...
web/src/pages/Setting.tsx
View file @
203b2d91
...
@@ -43,7 +43,7 @@ const Setting = () => {
...
@@ -43,7 +43,7 @@ const Setting = () => {
};
};
return
(
return
(
<
section
className=
"w-full max-w-3xl min-h-full flex flex-col justify-start items-start px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
section
className=
"
@container
w-full max-w-3xl min-h-full flex flex-col justify-start items-start px-4 sm:px-2 sm:pt-4 pb-8 bg-zinc-100 dark:bg-zinc-800"
>
<
MobileHeader
showSearch=
{
false
}
/>
<
MobileHeader
showSearch=
{
false
}
/>
<
div
className=
"setting-page-wrapper"
>
<
div
className=
"setting-page-wrapper"
>
<
div
className=
"section-selector-container"
>
<
div
className=
"section-selector-container"
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment