Skip to content

Commit

Permalink
Merge pull request #92 from anup-a/revert-90-fix/banner-rm
Browse files Browse the repository at this point in the history
Revert "feat: added personal banner"
  • Loading branch information
anup-a authored Sep 2, 2023
2 parents 3a8c023 + 5e93dfd commit f4ceda7
Show file tree
Hide file tree
Showing 8 changed files with 6 additions and 97 deletions.
31 changes: 5 additions & 26 deletions index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
Expand Down Expand Up @@ -121,8 +121,10 @@

border-radius: 4px;
background-color: #fff;
box-shadow: 0 0 1px 1px hsla(0, 0%, 0%, 0.05),
0 0 2px 2px hsla(0, 0%, 0%, 0.05), 0 0 4px 4px hsla(0, 0%, 0%, 0.05);
box-shadow:
0 0 1px 1px hsla(0, 0%, 0%, 0.05),
0 0 2px 2px hsla(0, 0%, 0%, 0.05),
0 0 4px 4px hsla(0, 0%, 0%, 0.05);
}

#carbonads .carbon-wrap {
Expand Down Expand Up @@ -184,29 +186,6 @@

<body>
<div id="app"></div>
<!-- <div class="loader-container">
<div class="loader"></div>
</div> -->
</body>

<!-- <script>
setTimeout(function () {
document.querySelector('.loader-container').style.display = 'none'
document.querySelector('#app').style.display = 'block'
document.querySelector('#ds-callout').style.display = 'block'
}, 2000)
document.onreadystatechange = function () {
const state = document.readyState
if (state === 'interactive') {
document.querySelector('#app').style.display = 'none'
} else if (state === 'complete') {
document.querySelector('.loader-container').style.display = 'none'
document.querySelector('#app').style.display = 'block'
document.querySelector('#ds-callout').style.display = 'block'
}
}
</script> -->

<script type="module" src="/src/main.jsx"></script>
</html>
2 changes: 1 addition & 1 deletion lib/webcomponent/float-menu.js

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

2 changes: 0 additions & 2 deletions src/App.jsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import { h } from 'preact'
import Home from './components/home'
import { useDarkMode } from './stores/useDarkMode'
import Callout from './components/callout'

function App() {
const { theme, setTheme } = useDarkMode(({ theme, setTheme }) => ({
Expand All @@ -14,7 +13,6 @@ function App() {
return (
<div className={`main-container ${currentTheme && 'dark'}`}>
<Home isDark={currentTheme} toggleDarkMode={setTheme} />
<Callout />
</div>
)
}
Expand Down
4 changes: 0 additions & 4 deletions src/assets/arrow-up.svg

This file was deleted.

5 changes: 0 additions & 5 deletions src/assets/globe-icon.svg

This file was deleted.

Binary file removed src/assets/hi.png
Binary file not shown.
4 changes: 0 additions & 4 deletions src/assets/x-icon.svg

This file was deleted.

55 changes: 0 additions & 55 deletions src/components/callout.jsx

This file was deleted.

1 comment on commit f4ceda7

@vercel
Copy link

@vercel vercel bot commented on f4ceda7 Sep 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.