Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: added rust lang icon and icon background #724

Merged
merged 3 commits into from
Sep 28, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions src/lib/assets/svg-json/image_urls.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"Redux": "/category-optimized/web2/redux.svg",
"Ruby Gem": "/category-optimized/web2/ruby-gem.svg",
"Ruby": "/category-optimized/web2/ruby-programming-language.svg",
"Rust-Lang": "/category-optimized/web2/rust-lang.svg",
"Salesforce": "/category-optimized/web2/salesforce.svg",
"Sass": "/category-optimized/web2/sass.svg",
"Selenium": "/category-optimized/web2/selenium.svg",
Expand Down
1 change: 1 addition & 0 deletions src/lib/assets/svg-json/web2.json
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@
"Redux": "/category-optimized/web2/redux.svg",
"Ruby Gem": "/category-optimized/web2/ruby-gem.svg",
"Ruby": "/category-optimized/web2/ruby-programming-language.svg",
"Rust-Lang": "/category-optimized/web2/rust-lang.svg",
"Salesforce": "/category-optimized/web2/salesforce.svg",
"Sass": "/category-optimized/web2/sass.svg",
"Selenium": "/category-optimized/web2/selenium.svg",
Expand Down
33 changes: 19 additions & 14 deletions src/lib/components/Profile/Elements/UserDetails.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -44,23 +44,28 @@
{profile.bio || ''}
</div>
{/if}

<div class="pt-4 mb-2">
<div class="flex gap-2 justify-center items-center lg:overflow-hidden overflow-auto max-w-full ">
{#each profile.urls || [] as url, index (index)}
{#if url}
<Favicon {url} />
{/if}
{/each}

<div class="pt-4 mb-2 flex flex-col">
<div class="card bg-base-200 p-3 tooltip tooltip-left" data-tip="social">
<div
class="flex gap-2 justify-center items-center lg:overflow-hidden overflow-auto max-w-full">
{#each profile.urls || [] as url, index (index)}
{#if url}
<Favicon {url} />
{/if}
{/each}
</div>
</div>

{#if profile.category?.length}
<div class="flex gap-2 justify-center mt-8">
{#each profile.category as category}
<div class="tooltip" data-tip={category}>
<img src={$category_list[category]} alt="" class="h-7 w-7 m-1" />
</div>
{/each}
<div class="card bg-base-200 p-3 mt-4 tooltip tooltip-left" data-tip="category">
<div class="flex gap-2 justify-center">
{#each profile.category as category}
<div class="tooltip" data-tip={category}>
<img src={$category_list[category]} alt="" class="h-7 w-7 m-1" />
</div>
{/each}
</div>
</div>
{/if}
</div>
Expand Down
11 changes: 9 additions & 2 deletions src/routes/affiliate/+page.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,15 @@
<p class="mb-5 font-light text-gray-500 sm:text-xl">
Collaborative streaming powered by AI. Expand your reach and grow your brand.
</p>
<a class="mb-5 link link-secondary" href={env.PUBLIC_STRIPE_BILLING_URL}
>Manage your subscription</a>
<div class="flex gap-2 justify-center">
<span>
<a class="mb-5 link link-secondary" href={env.PUBLIC_STRIPE_BILLING_URL}
>Manage your subscription</a>
🔹
<a class="mb-5 link link-secondary" href="https://forms.gle/mBtByR6jdoJeQd367"
>Apply for verification</a>
</span>
</div>
</div>

<script async src="https://js.stripe.com/v3/pricing-table.js"></script>
Expand Down
61 changes: 61 additions & 0 deletions static/category-optimized/web2/rust-lang.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.