Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
I
image-board-svelte
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Trirst
image-board-svelte
Commits
a9fc542d
Commit
a9fc542d
authored
Oct 28, 2021
by
Trirst
Browse files
Options
Downloads
Patches
Plain Diff
Tips
parent
eaaca080
Branches
master
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/routes/Home.svelte
+18
-1
18 additions, 1 deletion
src/routes/Home.svelte
with
18 additions
and
1 deletion
src/routes/Home.svelte
+
18
−
1
View file @
a9fc542d
<script>
function
getRandomInt
(
max
)
{
return
Math
.
floor
(
Math
.
random
()
*
max
);
}
let
tips
=
[
"
When searching images by tags, delimit each tag by a whitespace to match them inclusively
"
,
"
Good luck!
"
,
"
Stay strong!
"
,
"
A page includes at maximum 63 images
"
,
];
</script>
<svelte:head>
<svelte:head>
<title>
Home
</title>
<title>
Home
</title>
</svelte:head>
</svelte:head>
<div
class=
"min-h-screen flex justify-center items-center text-2xl"
>
<strong
class=
"mr-2"
>
Tip:
</strong>
{
tips
[
getRandomInt
(
tips
.
length
)]
}
</div>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment